Hello, this EA works for a few days in the backtest and then data doesn't continue, orders don't open and finally backtest stops, any help? Here as you can see, i asked the backtest until march 18 and it stops at march 4
- MT5 strategy tester suddenly stoped working?
- System that does not generate orders
- MQL4 Learning
I had a quick glance and I see these issues:
1. Do not initiate indicator handles in OnTick. Initiate them once in OnInit
2. Do check the CopyBuffer result before proceeding... It might not read the indicator values for several reasons.
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