The strategy that I am currently developing performs very well in the strategy tester, but when I do forward testing it fails.
How can I shorteh the gap between strategy tester data and forward testing?
1. Use a Long Time Range: Perform a backtest of at least 2-3 years (for example from January 1, 2024 to the present) to see the resilience of the strategy in various market conditions.
The appropriate length of a backtest depends on the trading frequency of the EA being tested. In other words, I use a minimum of 10 years for a swing trading strategy that trades 2 or 3 times per week. For a scalping strategy that trades over 100 times per month. I regard the test sample size as the total number of trades─not necessarily the total number of months, years, etc.
2. Every Tick Based on Real Ticks: This is mandatory, so that the price simulation is close to actual market movements.
Testing on real ticks is mandatory for EA's that trade on every tick. In contrast, EA's that trade only on OHLC data can more efficiently be tested for longer periods of time on OHLC prices only. The issues of live spread and slippage can be mitigated by knowing/researching your broker-dealer's average spread and average slippage, and entering that information into the Tester. There are free utilities published in the CodeBase for collecting such data.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
The strategy that I am currently developing performs very well in the strategy tester, but when I do forward testing it fails.
How can I shorteh the gap between strategy tester data and forward testing?