Historical data Import function problem - page 2

 
Jed2025 #: Thank you for the suggestions. Yes, it is the case but the data I downloaded precedes the broker's data. I also deleted the brokers historical data just in case. Although my broker does not support MT5 and all my EAs are in mql4, I started using MT5 (for the purpose of backtesting) just to bypass this problem at the cost of rewriting my EAs and indicators in mql5.

If you load data that predates the data available from the broker, MT4 tries to request the older data (and anything afterwards) from the broker too, and if it is not available, it may probably cause issues, but I am only guessing here. As stated, I would prepare the ".hst" files externally and make them read-only, to prevent any such issues.

Also, if you are already migrating your code to MQL5, why not simply find another reputable broker that supports MT5 and the assets you want to trade?

MT4 is on its way out, and when it eventually "dies", you will be left with a "hot potato" on your hands. Migrate now while you are still able to do it relatively calmly.