Still NO GO. I am loading the code in the AA, select a watchlist, run an Individual backtest, and Refresh the WorkSpace. I get the BT report with individual ...
Thanks Paul, please confirm that you see an individual composite for each ticker tested in the watchlist. if you do, please explain your procedure. I use AB...
Thank you TJ :-) you saved the day once more ! Great stuff. If someone is wondering why I wanted this program... You can design trading systems and use...
Dear sir, i also want to draw the bottom line and top line in the candle...of 12'o Clock one hour candle..in automatic while 5 min chart...going time...pls...
Hi, I'm trying to calculate a moving average over a number of values which are based on a certain condition. For example (if close > 20 period MA, return range...
Hello, This is just something I was wondering about because some traders I know use TS and might get AB if they think they could get a significant speed...
Hello, That depends on the algorithm, number of bars and the coding, but if you are using AmiBroker's array functions you should get speed up from 4x to 20x or...
Hi, Try timenum()>093000 and timenum()<160000 for daily. Louis ... Hi, Try timenum()>093000 and timenum()<160000 for daily. Louis 2008/7/25 miche1a <...
hi, i have afl to draw murrey math line. is there any exploration to scan stocks which crosses 1/8 5/8 lines or which is trading betwwen 5/8 and 2/8 line i...
I asked a similar question about nulls in a stdev calculation and received Tomasz answer at http://finance.groups.yahoo.com/group/amibroker/message/127041 Not...
Hello, I'd like to change a calculation as I get within n periods of the end of an array in real time. if (BarIndex() <= LastValue(BarIndex) - n) do this; else...
Hi - Would something like this work for you? NewArray = IIF( BarIndex() <= LastValue(BarIndex) - n, A + B, C + D ); Steve ... From: "John Bollinger"...
This may not be exactly what you're looking for, but it does show how to plot a vertical line "n" bars to the left of the last bar. Hope this helps.. Lal ... N...
John, I'm not an afl expert, but think you will need to use a loop. Ex: Z=BarIndex()-LastValue(BarIndex())-n>0; for (i=0; i<Barcount; i++) //you may want to...
Hello, You need to write that way: x = DoThis(); y = DoThat(); result = IIF( BarIndex() <= LastValue( BarIndex() - n, x, y ); In other words perform...
Hi, I got the idea for this approach from the AFL Library code for Elder's SafeZone stop. I think it will do what you want. arrayperiod = 20; arrayamounts =...
Hi Ton, Did you try to scroll through data, and change symbols? I still get that empty result for the red line very often... Thanks, Louis ... Hi Ton, Did you...
Hello, Is the AFL code for the Linear Regession Study available? I would like to be able to place the study on a chart starting and ending on selscted dates...
You can play with the code below, but please verify its accuracy. herman function DrawLinRegLine( LastPoint, LookBack, Array, Extend ) { BI = BarIndex(); ...
When I use the following, and Explore in Automatic Analysis, I get the result as 'B' or 'S'. AddColumn(IIf( RSI() ,66,83),"RSI",formatChar, IIf( RSI() >= 45 OR...
When I use the following, and Explore in Automatic Analysis, I get the result as 'B' or 'S'. AddColumn (IIf( RSI() ,66,83),"RSI", formatChar, IIf( RSI() >= 45...