I am going to backtest kind of annual price levels and in order to becktest it need to plot traces not in Ray arrangement and becouse of number of lines I can not make use of buffer format
my question is: can we define beginning and end of a year comprised past and current years as timedate factors in mt4
have you got some other alternatives
like this that I use for monthly periods:
Inserted Code Mtime1=iTime(NULL,Mperiod,Mshift); // if (Month()==1 || Month()==3 ||Month()==5 ||Month()==7 || Month()==8 || Month()==10 || Month()==12) Mtime2=Mtime1 (PERIOD_MN1 PERIOD_D1)*60; if (Month()==2) Mtime2=Mtime1 (PERIOD_MN1-PERIOD_D1)*60; if (Month()==4 || Month()==6 || Month()==9 || Month()==11) Mtime2=Mtime1 PERIOD_MN1*60;