[amibroker] portfolio backtesting

2008-02-04 Thread normanjade
If I am to test a portfolio of stocks, I can get a breakdown per trade, or I can get a breakdown of the total portfolio results. Is there a way to get a breakdown of results on a per symbol basis? Like if I were to test AA, IBM, MSFT etc..Could I get the total profit for AA, IBM, MSFT etc as a

RE: [amibroker] How Would I Go About Adding A Continuous Red Horizontal Trendline

2008-02-04 Thread Don Lindberg
plot(25,""); Donald F Lindberg _ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tauvros Sent: Sunday, February 03, 2008 5:22 PM To: amibroker@yahoogroups.com Subject: [amibroker] How Would I Go About Adding A Continuous Red Horizontal Trendline How Would I

Re: [amibroker] simple question regarding arrays

2008-02-04 Thread Graham
AB uses only the visible bars for charting, plus what is necessary outside the window. to enable more bars to be used you add setbarsrequired function to the chart Setbarsrequired(5,5); then for the value of 1th bar barValue = lastvalue(valuewhen(barindex()==999,C)); -- Cheers Graha

[amibroker] Re: Timed scroll through watchlist - how to do ?

2008-02-04 Thread gmorlosky
That would be great...tried it and left you a message over in Beta as it deletes all my chart panes and then scrolls a single pane with the tickers but with a blank pane. It must be just something simple to fix, probably. --- In amibroker@yahoogroups.com, "dingo" <[EMAIL PROTECTED]> wrote: > >

Re: [amibroker] simple question regarding arrays

2008-02-04 Thread wavemechanic
Don't recall but maybe there is something in the settings that will work. If not, valuewhen(cum(1) == 1, c, 1) will. Bill - Original Message - From: "fifthelement80" <[EMAIL PROTECTED]> To: Sent: Monday, February 04, 2008 8:05 AM Subject: [amibroker] simple question regarding arra

[amibroker] Re: How Would I Go About Adding A Continuous Red Horizontal Trendline

2008-02-04 Thread gmorlosky
Plot(25,"line at 25",colored,styleline); --- In amibroker@yahoogroups.com, "tauvros" <[EMAIL PROTECTED]> wrote: > > How Would I Go About Adding A Continuous red Horizontal Trendline at > 25 to the following code. TIA > > _SECTION_BEGIN("ADXR"); > /* Developed by Wells Wilder ADXR is a compon

[amibroker] simple question regarding arrays

2008-02-04 Thread fifthelement80
Hi, I am very new to afl and I have a stupid problem on coding my indicator. I have 50,000 1 minute candle in my database and on my chart , now I want to access the close of the price on the bar #1 , but when I use C[1] I get "subscription out of range/error 10" message. it tells me I can n

[amibroker] How Would I Go About Adding A Continuous Red Horizontal Trendline

2008-02-04 Thread tauvros
How Would I Go About Adding A Continuous red Horizontal Trendline at 25 to the following code. TIA _SECTION_BEGIN("ADXR"); /* Developed by Wells Wilder ADXR is a component of the Directional Movement System. The indicator is used to determine if the market under study is trending or consolid

Re: [amibroker] Re: roc of macd

2008-02-04 Thread Tomasz Janeczko
Elementary math. MACD fluctuates between positive and negative values, often crossing through zero. You code contains DIVISION by MACD, thus division BY ZERO. ANY number divided by zero results in +/- INFINITY. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "trike

[amibroker] Price Action Traders

2008-02-04 Thread tedd2pumpkin
Hi, I have been a member of the Sanuk Google group for many months now. I think any discretionary Price Action traders would benefit by visiting this room. There is no cost. To join send an email to [EMAIL PROTECTED] Subject : Join Sanuk You can mention that you got the invite from Beaner.

[amibroker] Re: roc of macd

2008-02-04 Thread trikerito
i tink not. i also plot only roc or calculated or "ownscale" or k=(Ref (MACD(5,13),-3)%*1000; j=MACD (5,13)*1000; r= (k-j)/k; with same results. --- In amibroker@yahoogroups.com, "bilbo0211" <[EMAIL PROTECTED]> wrote: > > I think it is a scaling issue. The ROC takes on some values that are >

[amibroker] Re: roc of macd

2008-02-04 Thread trikerito
excusme, TJ,buy i've tried previosly also whith same efect's. also hidden macd plot and only displaying roc (original or calculated) allways have similar results.it don't be a (more or less) "smooth" plot at all. i've just retried with k=Ref (MACD(5,13),-3); j=MACD (5,13); r= (k-j)/k; code l

Re: [amibroker] Re: Simulation Trading

2008-02-04 Thread Greg
Tomasz, Thanks for your reply. I think that code may help me get a little closer to what I think I need. best regards, Greg - Original Message - From: Tomasz Janeczko To: amibroker@yahoogroups.com Sent: Monday, February 04, 2008 11:43 AM Subject: Re: [amibroker] Re: Sim

[amibroker] Re: roc of macd

2008-02-04 Thread bilbo0211
I think it is a scaling issue. The ROC takes on some values that are 100's or 1000's of times bigger than the macd. --- In amibroker@yahoogroups.com, "trikerito" <[EMAIL PROTECTED]> wrote: > > Hi. > > it seems that roc of a macd() like roc(macd(12,24),-3) doesnt > function properly. > > allway

Re: [amibroker] roc of macd

2008-02-04 Thread Tomasz Janeczko
It functions properly but of course ROC requires POSITIVE period parameter (you specified negative). roc(macd(12,24),-3); // WRONG roc(macd(12,24),3); // correct Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "trikerito" <[EMAIL PROTECTED]> To: Sent: Monday, Fe

[amibroker] Re: combining daily and intraday conditions...

2008-02-04 Thread onelkm
Here is an example that hopefully will get you going. You would set the timeframe to 5 minutes or whatever you want, then extract the daily data using your formulas . regards Larry TimeFrameSet(inDaily); YESTERDAYHIGH = Ref(

[amibroker] roc of macd

2008-02-04 Thread trikerito
Hi. it seems that roc of a macd() like roc(macd(12,24),-3) doesnt function properly. allways plot a flat line whith litle "sparks", but no correctily. also i've tried P = ParamField( "Price field" ); periods = Param("Periods", 15, 1, 200, 1 ); k=Ref (MACD(5,13),-3); j=MACD (5,13); r= (k-j)/k;

Re: [amibroker] Re: Simulation Trading

2008-02-04 Thread Tomasz Janeczko
You can use Tools->Bar Replay to playback the data and this http://www.amibroker.com/kb/2006/05/06/discretionary-equity/ to place virtual "orders" and see the resulting equity. Best regards, Tomasz Janeczko amibroker.com - Original Message - From: "tedd2pumpkin" <[EMAIL PROTECTED]> To: S

[amibroker] Re: Simulation Trading

2008-02-04 Thread bilbo0211
Have you tried Bar Replay? --- In amibroker@yahoogroups.com, "tedd2pumpkin" <[EMAIL PROTECTED]> wrote: > > Hi Mike, > > Thanks for your reply. > > As you suggested I do sim-trade with an IB demo account intraday. I > would also like to sim-trade when the markets are closed. It takes a > lot o

[amibroker] Re: Simulation Trading

2008-02-04 Thread tedd2pumpkin
Hi Mike, Thanks for your reply. As you suggested I do sim-trade with an IB demo account intraday. I would also like to sim-trade when the markets are closed. It takes a lot of screen time to see patterns and learn to read the price action. I really like Amibroker but I will probably try Ensign