You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Then given that my code is working for you, then it means that some part of your code (which you have not shown) is probably the reason it is failing. The issue may be somewhere else.
If you are are unable to provide the full code for analysis, then you should consider using the MetaEditor debugging feature to see what may be causing the problem.
Please test the following code and show the log results:
I noticed this article that tested a Price Impulse strategy https://www.mql5.com/en/articles/6947
do retries when fetching tick data.