Blog / Strategy
Strategy

Fractal Swing Pullback

Disclaimer: This article is for educational and informational purposes only. It does not constitute financial or investment advice. Trading forex and CFDs carries significant risk of loss. Past performance of any strategy — including backtests — does not guarantee future results. Never trade with money you cannot afford to lose.

What Is This Strategy?

The Fractal Swing Pullback strategy is a pure price-action swing-trading approach built on Bill Williams-style fractals — a classic chart pattern that marks short-term swing highs and swing lows formed by a cluster of consecutive candles. Unlike systems that lean on moving averages, oscillators, or other calculated indicators, this strategy reads the market directly from raw bar geometry. Every decision it makes — where the swing points are, whether the trend is up or down, and where to place protective stops and targets — comes from the highs and lows of the candles themselves.

A fractal in this context is simply a pivot point. A confirmed up fractal is a bar whose high stands strictly above the highs of a set number of bars on both its left and right sides, making it a local swing high. A down fractal is the mirror image: a swing low surrounded by higher lows. Because the pattern needs bars on both sides to confirm, recognition naturally lags by a few candles — and that lag is exactly what filters out random noise and keeps the swing points meaningful.

This strategy is designed for trending market conditions and is best understood as a learning tool for traders who want to study market structure, pullback entries, and structural risk placement. It is well suited to anyone curious about how a discretionary "buy the dip in an uptrend" idea can be expressed as a fully mechanical rule set. It is not a shortcut to results, and you should treat it as a framework for analysis and study rather than a finished product.

How It Works

The Fractal Swing Pullback strategy only acts on fully closed bars — it ignores the still-forming candle so that signals are stable and never repaint. Once a bar closes, the strategy checks whether a new fractal has just been confirmed and, if so, evaluates the surrounding market structure.

Here is what the strategy does, step by step:

Because both the stop and target are anchored to real swing structure rather than fixed pip values, the position size of each trade's risk adapts to the volatility present at the swing.

fractal swing pullback MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
FractalWing 2 2 5 The half-width of a fractal — the number of bars required on each side of a swing point for it to confirm. Larger values demand bigger, more significant swings and confirm more slowly.
RewardRiskRatio 2.0 1.0 4.0 The take-profit distance expressed as a multiple of the structural (stop) risk. A value of 2.0 sets the target twice as far from entry as the stop.
StopBufferFraction 0.5 0.0 2.0 Extra stop distance placed beyond the protective swing, as a fraction of that swing bar's range. Higher values give the trade more breathing room; 0 places the stop right at the swing.
Lots 0.10 0.01 1.0 The fixed trade size, in lots, used for each position.
fractal swing pullback MT5 EA — MQL5 source code

Recommended Chart Settings

The Fractal Swing Pullback strategy is a swing approach and is generally most at home on higher timeframes such as the H1 (1-hour) or H4 (4-hour) charts, where fractals mark more meaningful structure and signals arrive at a manageable pace. Major liquid forex pairs such as EUR/USD are a sensible starting point for study because their cleaner trends tend to produce clearer swing structure.

That said, fractals form on every symbol and timeframe, and the right combination depends heavily on the instrument you are studying. Results will vary considerably across different market conditions, sessions, and volatility regimes. Always test any setting combination on historical data and a demo account before drawing conclusions, and remember that what looks favorable on one period may behave very differently on another.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Like every approach, the Fractal Swing Pullback strategy has clear strengths and equally clear limitations. Understanding both is part of using it responsibly as a learning tool.

Strengths:

Limitations:

The strategy may underperform during consolidations, news-driven spikes, and low-liquidity sessions where swing structure becomes unreliable. Treat it as a structured way to study price action, not as a finished or guaranteed system.

Risk Management Tips

Sound risk management matters far more than any single entry rule. As you study this strategy, keep these general principles in mind:

Risk Warning

Trading foreign exchange, CFDs, and other leveraged financial instruments involves substantial risk of loss and is not suitable for all investors. The strategies and tools discussed on this page are provided for educational purposes only and do not constitute financial advice, investment recommendations, or solicitation to trade. Always consult a qualified financial adviser before making trading decisions. Past backtest performance is not indicative of future results.

Downloads

← Back to Blog