I'm using 2 time frames :
Add(PeriodType.Day,1);
Add(PeriodType.Minute,10);
in the OnBarUpdate i wrote :
if (BarsInProgress != 0)
return;
I'm using 2 indicator :
one with time frame of daily :
ATR(BarsArray[1],2);
second with time frame of minutes :
DonchainChannel(BarsArray[2],20)
My problem is, when i'm runing a backtest from the dates
8/1/2012 till 11/1/2012
I'm getting trades or just printing the values of the indicator from the 8/31/2012.
what happend to the begining of the month????
tnx,
Igal
Comment