How to Spot Curve Fitting | Four Points to Watch in EA Backtests
A Verification Story to Read Before Choosing an EA
How to Spot Curve Fitting — 4 Points Seen in EA Backtests
A rising, upward-curving graph alone proves nothing. What matters is the period that was not used to develop the rules.
Before heading to the office, I was browsing an EA sales page with a coffee in hand. A clean, upward-sloping asset curve stretched across the screen.
Yet, an EA I bought six months ago, which I stopped using, looked just like this curve. The instant I thought, “Maybe I only fit it to the past,” my finger hovered over the purchase button.
To anyone who has had the same experience, here’s the first answer I’ll give you: you cannot judge it by how pretty the curve looks.
What to look for is whether the performance during the period that was not used to create the rules is shown. That alone can significantly change how the sales page appears.
In this article, I summarize four points to spot overfitting and the wording to use when asking the seller questions.
My Starting Point Was Losses Too
I’ve lost money on information products and high-risk martingale EAs. From that, I began creating conditions for myself that would always be verifiable with my own eyes and that would execute without emotion.
One of the conditions I decided on was: “I must be able to verify the contents with my own eyes.” The four points in this article are a direct restatement of that condition.
Curve Fitting Is “Memorizing Past Questions”
Curve fitting is forcing the rules to fit past price movements too tightly. It is also called over-optimization.
Why this happens is because there is only one past chart.
If you keep adding conditions and numbers and testing, eventually you will find a form that perfectly matches that one chart.
Among those, the price movement that happened by chance just once will be memorized by the rule.
It’s like memorizing the answers to past exam questions. For the same problem you can get a perfect score, but you’ll struggle with a problem you’ve never seen before.
Four Points to Spot It
1Is there a period that wasn’t used to decide the rules?
This is the most important part.
See whether the period used to create the rules and the period used to test the rules afterward are written separately.
If the performance during the unused period largely deteriorates, there is a suspicion of overfitting to the past.
If the periods aren’t written separately in the first place, that itself is one answer.
2Are you testing the same rules with different data?
If the broker changes, price data will differ slightly.
If the results hold with another broker or a different period, it’s more likely the rule is not just tuned to a single chart.
3Are the worst year and maximum drawdown documented?
Maximum drawdown is the greatest drop from a peak in your capital.
A backtest that only lists good years cannot tell you whether you can keep going.
4Is the number of trades commensurate with the number of conditions?
A test with many conditions but few trades tends to be swayed by luck.
Low trade counts mean a few big wins can determine the outcome.
If you’re asking the seller directly, send these three lines as-is
If you still can’t understand after reading the page, send the following wording in a message.
① Tell me the period used to set the rules and the period not used.
② Have you tested with data from another broker?
③ Tell me the worst year and the maximum drawdown.
Not only the content of the reply but also the way it is answered becomes part of your evaluation.
Reference Material: How Gold Canon Presents It
From here, as an example of how to present these four points in a verification, we introduce our Gold Canon.
It is a set with XAUUSD-specific MT5, 5-minute signals, and the purchaser’s EA as a bonus.
The signals are non-repainting, and once an arrow appears, it does not move afterward.
POINT 1
Disclose separately “the period used” and “the period not used”
In our MT5, we tested from 2019 to October 2026 (1% risk for each engine). The overall portfolio factor (PF) for the full period is 1.95, broken down into two parts.
2019–2023 used to decide the rules
PF 1.54
2024–2026 not used to decide the rules
PF 2.75
However, this is also backtest results. The unused period is about 3 years, which may not be representative going forward.
So we tested the same rules with data from another broker (OANDA). The period is 2006–May 2020, including the 2013 year when gold fell about 30% in one year. With 1% risk for each engine, all 15 years were positive, PF was 1.49.
We do not hide the bad parts either. In our MT5 testing, 2019 was about +0.8% and roughly flat. The maximum drawdown was 12.0% (1% risk for each engine).
POINT 2
You can review it on your own chart even after purchase
The performance panel for the signals shows win rate, PF, net profit, and maximum drawdown. It can be viewed by engine, by year, and by compass; you can verify past performance on a broker-specific panel yourself.
For example, after you put it into MT5 on the night you bought it, first check the year-by-year performance to find bad years. The next morning, if you decide to run that week, turn RUN on. If you want to pause, turn it OFF so no new orders are placed.
What changes before and after you use it
Before using, you may have doubted whether to trust the page’s curve.
After you start using it, you can know in advance on your screen how deep a bad period could be.
Even during losing weeks, before panicking about a “break,” you can check whether it’s within expected ranges.
I feel this difference is larger than you might think.
Concerns That Might Arise
Q. Isn’t it suspicious that the period not used to set the rules shows better results?
The outperformance is from a limited period of about three years. To avoid judging by a single number, we also present validations from another broker.
Q. How much capital is required?
With 0.01 lots and three engines, the maximum drawdown was about 700,000 yen. The recommended capital is 2 million yen or more, and about one-third of that could temporarily drop. If using two of TRI and SELL, the recommended capital is at least 1 million yen.
※Reference value for 0.01 lots: backtest from January 2025 to October 2026, USD/JPY 158, including spreads and costs.
Q. How far will you martingale?
For the buying engine, the same lot size can be added up to two times. With 0.01 lots, one basket can hold a maximum of 0.03 lots. Stop loss is kept on the broker side and the EA updates it.
This is not suitable for people like
- Those who want to decide future results solely from backtest numbers
- Those who want to use large lots without confirming the recommended capital
- People who want to run the EA on a netting account (you can use signals and trade manually if you wish)
Summary
To identify overfitted backtests, confirm the following four points.
- Is there a period not used to decide the rules?
- Have you tested with other data using the same rules?
- Are the worst year and maximum drawdown documented?
- Is the number of trades commensurate with the number of conditions?
Next time you open the sales page, before looking at the curve, look for these four items.
Why I Separate Performance Figures
What I wanted was not a pretty curve. I wanted verifiable results even for the period after I created it.
Since I couldn’t find it, I created it for myself. That is Gold Canon. First, check the two verification conditions on the product page.
※The numbers in the article are all simulation (backtest) results. Actual trading results can differ due to slippage and spreads.
Past performance does not guarantee future profits. Please make investment decisions at your own risk.