Skip to content
All library documents

Six-Filter Breakout Scalping With Fixed Risk Controls

Article MQL5 code base

Summary

The document describes an MT5 scalping expert advisor that combines six entry filters: dual moving-average trend direction, ATR-based trend strength, price location relative to the averages, a volatility-buffered N-bar breakout, an RSI range check, and momentum confirmation. A trade opens only when all conditions agree on the same bar. The stated instruments and timeframes include precious metals and major currency pairs on five- or fifteen-minute charts.

Risk controls include a stop loss and take profit set at entry, one open position at a time, automatic breakeven adjustment, and a pause when drawdown passes a configured threshold. Session-hour, spread, and scheduled-news filters can restrict trading. The document reports an EURUSD five-minute optimization over 2015–2026 with 315 trades, a 1.24 profit factor, and 0.86% maximum drawdown. These are vendor-reported backtest figures; the text gives no test procedure, out-of-sample results, or independent verification, so they do not establish future performance.

Key ideas

  • Entries require six trend, volatility, breakout, RSI, and momentum filters to agree.
  • Each position receives a stop loss and take profit when it opens.
  • The system limits exposure to one position and excludes martingale, grid, hedging, and averaging down.
  • Session, spread, scheduled-news, breakeven, and drawdown rules can constrain trading.
  • Reported optimization results are specific to EURUSD on a five-minute chart and are not independently validated in the document.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.