Skip to content
All library documents

Automating Multi-Timeframe Swing Extremes and Pullback Reversals

Article MQL5 articles

Summary

This article describes an MQL5 Expert Advisor that turns swing highs, swing lows, and pullback logic into multi-timeframe reversal trades. It tracks recent and prior swing points on higher and lower timeframes, assigns bullish, bearish, or neutral structure states, and updates the analysis as new lower-timeframe bars arrive. A configurable swing window determines turning points, while the higher timeframe provides directional context.

The entry logic treats an extreme move beyond recent structure as a possible exhaustion event: after a bearish displacement below the last low, it can buy toward the last high; after a bullish displacement above the last high, it can sell toward the last low. The article also covers fixed stop-loss and risk inputs, duplicate-signal safeguards, and chart visualization. It outlines the implementation but supplies no substantive backtest results in the provided text. The reversal premise may fail when a structural break continues instead of reverting, and the document offers no evidence that the rules are profitable across markets or conditions.

Key ideas

  • The EA tracks recent and prior swing highs and lows on higher and lower timeframes.
  • Higher-timeframe structure supplies directional context for lower-timeframe signals.
  • A move beyond recent swing bounds is treated as possible exhaustion and traded for a pullback.
  • Trades target the opposing recent swing, with risk and stop parameters supplied as inputs.
  • The provided article includes no usable backtest results to establish strategy performance.

Tags

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