MT5: Prolem with programm code since Build 2006 and 2007: ENUM_TIMEFRAMES not working ok.
-
Hi,
I will send an email with the log-file.Here is the problem and mql-file attached.

The problem arises in MT5 if you use the ENUM_TIMEFRAMES in the EA. Please try and improve. Optimize with red marked set-timeframe and see what happens.
1_1556985278254_LN-DiWi_1.00.mq5 0_1556985278254_LN-DiWi_1.00.ex5
-
Works for me but I use
ENUM_TIMEFRAMES and then PERIOD_H1
Optimisation works though for me