- Backtesting/Optimization
- Follow The Bouncing Pip
- Strategy Tester
Change your spread to a fixed value instead of relying on "current" which can change from one test to another. Also check your EA code for possible logic bugs.
Forum on trading, automated trading systems and testing trading strategies
Tester results are not matching optimization results
Fernando Carreiro, 2022.04.25 11:06
That is usually due to the EA code having bugs, especially in regards to the proper handling of the initialisation and de-initialisation process of the EA (e.g. proper initialisation and handling of global variables).
Another important point is to always use a fixed spread value and not use the "current" spread value, so that spread does not change between optimisation passes.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use