How far back does your M5 candle history go? Mine goes back to May 2020.
Trading Courses
Error in mql5 USDJPY
by Abd. Gafur
- 26 replies
- 0 voices
- active 3 years ago
- Alan Northam
- Abd. Gafur
mine May 2022, is it problem?
- Alan Northam
That should be plenty! Seems like we have covered all the things that could keep the EA from trading. I will have to think on it. In the meantime, I will let my MT5 run and will report back when it takes a trade. If I come up with anything else that might keep your MT5 from trading I will let you know.
- Abd. Gafur
ok, thanks a lot. However, I hope that you would please check again the MT5 EA file that has been uploaded as course material to see if it is the same as the one you used for the test.
- Alan Northam
Yes, I went to the course today and got the EA I am using. I don’t think it is the EA because I can do the backtest with the Strategy Tester, but I will wait for a trade to develop to confirm it is not the EA.
- Abd. Gafur
Hello Alan,
Can you please tell me in which part of the course “Professional Trading Strategies + 5 Bots Included at you downloaded the MT5 EA that runs on backtest?
Thank you
- Alan Northam
USDJPY took its first trade about 5 hours ago during the night with no errors.
- Alan Northam
Lesson 29
- Abd. Gafur
Ok. Can you please tell me in which part of the course “Professional Trading Strategies + 5 Bots Included” you downloaded the this MT5 EA?
- Alan Northam
Lesson 29
- Abd. Gafur
Thanks Alan, the problem is not with the EA but seems to be with the history provided by the broker. I tried it on ICmarkets and it went well.
Regards
- Alan Northam
I was going to suggest it might be a problem with the broker since everything we tried would not work. I forgot to add this comment in my post showing that the EA had made a trade with no errors. Not all brokers are created equal. Some brokers have large gaps in their data or even missing data. This is why it is best to use Premium data in EA Studio and FSBpro when creating strategies and this is one reason to use EA Studio or FSBpro for backtesting because you can rest assured the backtests are being done correctly.
Happy to hear we finally figured it out! Good learning experience!
Happy trading,
Alan
Join the discussion
Sign in with your Algo Trading Space account to reply. Members get notified when someone answers.