fix
logo

XAUUSD ReTracer - MA Angle + Retracement Detection

Avatar
  • updated

Hello everyone

I am now trying out CP EA to automate some of my manual trading strategies. 

This one aims at catching retracements inside a trend and my current idea is to do this with a combination of MA angle and a large reversion candle.

Money and trade management is still somewhat primitive with a fixed risk per trade and an optimized break-even setting.

After initial development and first optimizations, results are encouraging with almost 2000% across the last two years without grid or Martingale. I even employed an anti-Martingale in my current V1.

However, consistency and winrate are still somewhat all over the place. But I do see tons of potential here. We could:


- Improve the winrate by careful optimization of entry parameters,

- Integrate a proper money management using e.g. an account-wide hard-stop (I would definately integrate this before going live),

- Integrate a time filter in order to negate the rather unprofitable nightshift (see backtest),

- While I am a rather cautious type in that regard, I do know that you guys like your Martingale ;-) feel free to experiment, I would at least be curious about what's possible,

- My first attempts to integrate a trailing stop have failed. But since I am still a noob in this EA, perhaps you have more success,

- We could consider fractal entries with individual TPs and BE,

- I believe this strategy will also work in different timeframes and symbols. Ideally, we can get tons of high-quality entries in order to use our available margins ins an optimal way.

Looking forward to your feedback!

Feel free to expand, optimize - and most of all: enjoy! :-)

Best regards

Andreas

250323 ReTracer V1.set

Image 6370

Image 6371

MT version:
Set for MT5 only
EA version:
3.1 MQL5 Market
Symbol:
XAUUSD
TimeFrame:
M15
Avatar

Great! Thanks for sharing!

Avatar
shengguo nz zhu

in the setfile, it sets "Signal TimeFrame 5Min", should we change to 15min?

Avatar
Andreas

Thanks for pointing that out! That might be the first potential error found :-)

I ran my optimizations with the 5min setting, apparently. Feel free to adjust for further optimization.

Good thing that I am currently having my CPU crunch through a huge M5 Optimization :D no need to stop and adjust that!

Avatar
shengguo nz zhu

i see, i think I will keep as is for a while, thank you

Avatar
shinnsohai

Wow, this is good. Cheers mate!

Avatar
Andreas

Thank you!

The biggest issue that I observe so far, is that results are downright explosive throughout the last year - but decline severely in 2025.

The market moves very strongly and direct due to heavy political influence. Hence, nice retracement candles are hard to find. At least that is my impression.

Has anyone found solutions or at least improvements to this? Did you try this on a demo account?

I already tried to implement time filters and additional indicators. But until now, results in demo are still unsatisfactory.