MT4 Backtest Data Issue. Open/Close Value of not tested symbol appears the same. New comment Michalis Phylactou 2018.05.24 15:52 Hi guys I am trying to write an EA that opens trades on USDJPY based on values Nikkei (JPN225 is the CFD index in my broker). The EA collects data on the data of the Nikkei during the day Nikkei_Open=iOpen("JPN225",PERIOD_D1,0); Nikkei_Close=iClose("JPN225",PERIOD_D1,0) When I run it on backtest on USDJPY however both the value of Nikkei_Open and Nikkei_Colse show the same value. However when I run the EA on real time on USDJPY, or When I run the EA on backtest on JPN225 the data for the two values are calculated correctly. Does anyone have any suggestion how to remedy this? Anything that has to do with the history data? Note that I tried with other symbol combination also (eg USDJPY vs EURUSD) and I still get the same price for open and close Thank you How to Refresh previous data history on other pairs and timeframe EA opens positions at prices NOT within bars Open & Close Trade on Same Bar New comment
Hi guys I am trying to write an EA that opens trades on USDJPY based on values Nikkei (JPN225 is the CFD index in my broker).
The EA collects data on the data of the Nikkei during the day
When I run it on backtest on USDJPY however both the value of Nikkei_Open and Nikkei_Colse show the same value.
However when I run the EA on real time on USDJPY, or When I run the EA on backtest on JPN225 the data for the two values are calculated correctly.
Does anyone have any suggestion how to remedy this?
Anything that has to do with the history data?
Note that I tried with other symbol combination also (eg USDJPY vs EURUSD) and I still get the same price for open and close
Thank you