[amibroker] Re: Previous bars

2009-03-14 Thread murthysuresh
BarIndex() >20 --- In amibroker@yahoogroups.com, "lucianomt" wrote: > > I�m running a single security backtest. My trailing stop uses a 20-day ATR. > The problem is I'm getting buy orders before that, which means I have no stop > for 20 days until the ATR calculation kicks in. How to set the b

[amibroker] Re: Previous bars

2009-03-20 Thread lucianomt
I inserted this line into the afl code, but unfortunately it did not work. The backtest is still buying shares on the 10th bar... --- In amibroker@yahoogroups.com, "murthysuresh" wrote: > > BarIndex() >20 > --- In amibroker@yahoogroups.com, "lucianomt" lucianomt@ wrote: > > > > I�m running a s