- Breakout Trading Strategy Discussion: Filters, Confirmation, and EA Logic
- Very distressed, my system wants to get help from mladen and others
- How to better filter false entries in trend-following strategies on XAUUSD during volatile periods?
For XAUUSD M5, I prefer using EMA as the primary trend filter and ADX only as a strength confirmation.
RSI often generates too many counter-trend signals during strong gold trends.
My tests showed better stability when trend direction comes from EMA structure and ADX is used to avoid ranging markets.
On AND vs weighted score: hard AND-gating is fine for a block filter because you only want to veto in the clear worst case, but it tends to be brittle around the thresholds. A weighted score with a single cutoff is usually more robust out of sample, since no single condition can flip the decision on its own. I would test the weighted version and keep AND only if it clearly wins on the test period, not the train one.
On thresholds: avoid fixed price-distance buffers on gold. A 0.05% EMA buffer means very different things at low vs high volatility. Make the buffer ATR-relative (distance measured in ATR units), so the filter scales with the current regime. That alone usually removes a lot of the curve-fit feel.
ADX ranking low on gold is expected. ADX is slow and smooths across exactly the sharp regime shifts and news spikes that drive XAU, so by the time it confirms, the move is often done. EMA slope reacts faster, which is why your slope feature dominates.
The asymmetric result (sell holds, buy overfits) is almost certainly the 2022-2026 bull bias, not a real edge. In a trending-up sample, a sell-block is easy and a buy-block has little signal. I would not trust the buy side until you test it on a flat or bearish period.
Multi-TF: adding an H4 EMA agreement gate helps robustness more than it hurts, as long as you keep it as a soft confirmation and not a third hard AND. For XAU also consider a session filter (skip the thin Asian range and the minutes around high-impact news), since a lot of false signals cluster there.
On AND vs weighted score: hard AND-gating is fine for a block filter because you only want to veto in the clear worst case, but it tends to be brittle around the thresholds. A weighted score with a single cutoff is usually more robust out of sample, since no single condition can flip the decision on its own. I would test the weighted version and keep AND only if it clearly wins on the test period, not the train one.
On thresholds: avoid fixed price-distance buffers on gold. A 0.05% EMA buffer means very different things at low vs high volatility. Make the buffer ATR-relative (distance measured in ATR units), so the filter scales with the current regime. That alone usually removes a lot of the curve-fit feel.
ADX ranking low on gold is expected. ADX is slow and smooths across exactly the sharp regime shifts and news spikes that drive XAU, so by the time it confirms, the move is often done. EMA slope reacts faster, which is why your slope feature dominates.
The asymmetric result (sell holds, buy overfits) is almost certainly the 2022-2026 bull bias, not a real edge. In a trending-up sample, a sell-block is easy and a buy-block has little signal. I would not trust the buy side until you test it on a flat or bearish period.
Multi-TF: adding an H4 EMA agreement gate helps robustness more than it hurts, as long as you keep it as a soft confirmation and not a third hard AND. For XAU also consider a session filter (skip the thin Asian range and the minutes around high-impact news), since a lot of false signals cluster there.
Thanks Cristhian, this is the kind of feedback that actually moves the work forward. Applying all four directionally: ATR-relative thresholds replacing fixed-percent buffers, weighted score replacing 3-AND gating, sell-side filter parked until I can test on a non-bull regime, and ADX dropped from the candidate list for gold.
Sent you a PM with a more specific follow-up if you have time. Thanks again.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use