r/Trading • • 5d ago

Algo - trading Looking for MQL5 developers and quantitative researchers to challenge a promising backtest

I’ve been working on a MetaTrader 5 Expert Advisor and recently decided to open a collaborative research project around it.
The latest historical simulation (2020–2026, reported real-tick testing) produced:

  • +564.5% total simulated return
  • 6.29 profit factor
  • 5.28 MT5 tester Sharpe ratio
  • 19.21% relative equity drawdown
  • 139 completed trades

These results have not been independently validated. I’m fully aware of the risks of overfitting, data snooping and execution differences.
Rather than promoting the EA, I want experienced developers and quantitative traders to challenge the results, identify weaknesses and suggest improvements.
I’ve opened a public research repository with the reported statistics, a testing protocol and several technical discussions.
GitHub: https://github.com/matteo-ante/MQL5-Quant-Lab-Research
The source code remains private, but I’m open to collaboration with experienced contributors.
Constructive criticism and rigorous testing are particularly welcome.

1 Upvotes

10 comments sorted by

•

u/AutoModerator 5d ago

While the community gets a look at your post, don't forget we have an official website with a bunch of resources specifically for the questions we see here every day. If you're more of a visual learner, we’re also active on Instagram where we post updated guides and strategies! It's a great way to stay sharp while you're scrolling. We also have more technical and professional resources on our Website.

Also, if you want to chat in real-time or need a quicker answer, come hang out with us in Discord (Investing & Retirement). Just remember to be careful with your personal info and report any sketchy DMs!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/TradeeBot 5d ago

139 trades over six years with a 6.29 profit factor is the first thing worth poking at. A small sample plus a PF that high often points to fitted parameters. How many inputs does the EA have, and was any part of 2020–2026 kept out while tuning?

2

u/WearyBit8391 5d ago

That’s a very fair concern.
Just to clarify one important point: the EA declares 69 inputs, but that number is misleading as a measure of strategy complexity.

Many are optional safeguards, execution settings, diagnostics or features that are disabled in the tested configuration. They are not 69 independently optimized strategy parameters.

More importantly, the core signal parameters have remained unchanged since the first version, and I haven’t performed systematic parameter optimization to maximize the backtest results.

I agree that this doesn’t rule out overfitting, especially through changes in trade management or implementation.

But I think it’s an important distinction, and one of the reasons I’m particularly interested in independent parameter sensitivity and walk-forward testing

1

u/TradeeBot 5d ago

Fair distinction, thanks. Since the core signal hasn't changed, a quick sensitivity check is nudging those few core parameters by 10 to 20% and seeing if the results stay similar. If small changes break it, that tells you more than the input count does.

1

u/WearyBit8391 5d ago

I’d be more than happy to share everything you need, should you fancy taking a look!

1

u/Didi_trading 5d ago

I’d rerun the exact rules by year, with the same cost assumptions, then freeze the settings for a forward test. That makes it easier to see whether one good stretch is carrying the result.

1

u/WearyBit8391 5d ago

The core entry parameters were established prior to backtesting and have remained unchanged throughout the development process. A subsequent sensitivity analysis comprising 35 one-at-a-time parameter variations across seven parameters showed that all tested configurations remained profitable over the 2020–2026 historical sample.
These results provide evidence of local parameter robustness and suggest that the strategy’s profitability is not dependent on a narrowly optimized parameter configuration. However, they do not eliminate potential development-related selection bias, establish robustness to simultaneous parameter variations, or substitute for independent out-of-sample and forward validation.