Bug with iLow(Symbol,PERIOD_MN1,0) ?

 

Hi all,

I just realize that in backtest, Example AUDUSD 05-10-2017 iLow(Symbol(),PERIOD_MN1,0) return  0.76248

which is the October LOW but that WILL arrive only the 27-10-2017 !!!

and of course you need to start backtest from 1-10-2017 otherwise  iLow(Symbol(),PERIOD_MN1,0)  return 0!

Do you have the same behavior and do someone get rid about this ?

Phil

Just check : Same with Weekly but OK with Daily

 
Goutagny Philippe:

Hi all,

I just realize that in backtest, Example AUDUSD 05-10-2017 iLow(Symbol(),PERIOD_MN1,0) return  0.76248

which is the October LOW but that WILL arrive only the 27-10-2017 !!!

and of course you need to start backtest from 1-10-2017 otherwise  iLow(Symbol(),PERIOD_MN1,0)  return 0!

Do you have the same behavior and do someone get rid about this ?

Phil

Just check : Same with Weekly but OK with Daily


is you History Tick data complete? (all the M1 tick data is complete download)

 
Mohamad Zulhairi Baba:

is you History Tick data complete? (all the M1 tick data is complete download)


Hi

Yes 1002899 data M1 and no problem for 5.10.2017 and after...

 
Goutagny Philippe: I just realize that in backtest, PERIOD_MN1 Same with Weekly but OK with Daily
  1. Weekly, monthly, and irregular timeframes are not tested
               'Testing Features and Limits in MetaTrader 4' - MQL4 Articles
  2. On MT4: Unless the current chart is the specific pair/TF referenced, you must handle 4066/4073 errors.
              Download history in MQL4 EA - MQL4 and MetaTrader 4 - MQL4 programming forum
 
whroeder1:
  1. On MT4: Unless the current chart is the specific pair/TF referenced, you must handle 4066/4073 errors.
              Download history in MQL4 EA - MQL4 and MetaTrader 4 - MQL4 programming forum

Thanks. I have check GetLasterror return 0. Logical cause iLow() return a value and not 0.

the problem is that's not a good value and more a future value !

Reason: