I run individual basktests on a watchlist, but do not want to get stats for 
tickers with history that do NOT go back to AA selected start date.

I placed following in afl, thinking that it would force no trades or null for 
short history tickers in my watchlist.  It does cause close to go to null in 
exploration, but backtest is unchanged.

StartDate = BeginValue(BarIndex());
//EndDate   = EndValue(BarIndex());
Range_Start = Status("rangefromdate");
Symbol_Start = ValueWhen( BarIndex() == StartDate, datenum(), 1);
diff = Range_Start - Symbol_Start;
Close = IIf(diff < 0, Null, Close);

Can you think coding afl method to get individual backtest results on a 
watchlist so that tickers with short history (i.e., no going all the way to AA 
range start date) are either null or infinity or otherwise identified?

Thanks

Bert


Reply via email to