Blog / Strategy
Strategy

Double Tap Reversal

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 Double Tap Reversal is a pure price-action reversal strategy built around the classic double-top and double-bottom chart pattern — the familiar "M-top" and "W-bottom" shapes that traders have studied for decades. What makes this version distinctive is that it uses no indicators whatsoever. There is no moving average, no RSI, no ATR, no Bollinger Bands — nothing. Every decision is derived directly from raw candle highs, lows, opens, and closes. In trading terms, this is a swing reversal style: it waits for a trend or a push into a level to exhaust itself, then trades the turn.

The core idea is what the strategy calls "the double tap." Price drives into a level, fails, pulls back, then drives into the same level a second time and fails again. When a level is defended twice, it tells you that a large pool of continuation traders are now offside — the market has shown it cannot break through. The pattern resolves when price snaps back through the swing that separates the two taps, a level commonly known as the neckline. That neckline break is the trigger the strategy waits for: it is the moment trapped traders are forced to bail and fresh reversal flow piles in.

As a learning tool, the Double Tap Reversal is well suited to traders who want to understand how structural, indicator-free pattern recognition can be coded into rules. It rewards patience — the strategy sits on its hands until two confirmed swing pivots line up at one price and a decisive close-through occurs. This article frames the strategy as an analysis of a well-known pattern, not as a profit opportunity. Think of it as a way to study how a textbook reversal pattern can be defined precisely enough for a machine to recognize it.

How It Works

The strategy builds the pattern from confirmed swing pivots rather than from a single candle. A swing low is a bar whose low is the strict minimum over a set number of bars on each side; a swing high is the mirror. Because a pivot is only used once it has the required number of bars to its right, the levels are non-repainting — they never change after the fact.

Here is how the strategy signals a trade:

The exit logic is structural and self-scaling, with no fixed pip distances:

Only one position per magic number is held at a time, and the structural stop and target manage the exit — the strategy does not stack trades.

double tap reversal MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
PivotLeftRight 3 2 8 Number of bars required on each side of a bar for it to qualify as a confirmed swing pivot. Higher values demand more significant, slower swings.
EqualTolerance 0.20 0.02 0.60 Maximum price gap between the two taps, expressed as a fraction of the pattern height, for them to count as the "same" level. Lower values demand tighter, cleaner double tops/bottoms.
MaxBreakBars 8 2 30 The neckline break must occur within this many bars of the second tap, keeping the pattern fresh and ignoring stale, far-away taps.
StopBufferFrac 0.10 0.00 1.00 Extra distance placed beyond the twin taps for the stop-loss, as a fraction of the pattern height. Larger values give the trade more breathing room.
RewardRatio 2.00 1.00 6.00 Take-profit distance as a multiple of the structural stop distance. A value of 2.00 targets twice the risk.
Lots 0.10 0.01 1.00 Fixed trade volume in lots. Should be set according to your account size and risk tolerance.
Magic 9301 0 9,999,999 Unique identifier so the EA can manage only its own trades on the account.

Recommended Chart Settings

The Double Tap Reversal was designed for a liquid FX major or metal — for example EURUSD, GBPUSD, or XAUUSD (gold) — on the M30 or H1 timeframe. These markets and timeframes tend to produce clean, well-defined swing structure, which is what a double-top/double-bottom pattern needs to form reliably. The swing-reversal style fits these slower charts, where a level rejected twice carries more meaning than it would on very fast intraday charts dominated by noise.

As always, results will vary across different symbols, timeframes, and market conditions. A pattern-based reversal approach behaves very differently in a strongly trending market versus a ranging one, so treat the recommended settings as a starting point for study rather than a fixed prescription. Testing on a demo account across several market regimes is the best way to understand how the strategy behaves.

Historical Backtest Results

Note: The figures below are from a historical backtest simulation. Backtests have inherent limitations — they do not account for slippage, requotes, spread widening, or psychological factors. These results should not be interpreted as a prediction of future performance.

No backtest data has been generated for this strategy yet. When a historical simulation is run, the key metrics — such as Net Profit, Profit Factor, Sharpe Ratio, Win Rate, Maximum Drawdown, and Total Trades — will be reported here using the real figures only. Until then, evaluate the strategy on the logic of its rules and on your own forward testing in a demo environment rather than on any performance numbers.

How to Install on MetaTrader 5

What to Consider Before Using This EA

The strength of the Double Tap Reversal lies in its discipline. Because it requires two confirmed pivots at one price plus a decisive close through the neckline, it filters out most of the single-touch noise that wrecks naive top-and-bottom picking. The non-repainting pivots mean the signals you see in a backtest are the signals you would have seen live, which makes the strategy honest to study. The structural, self-scaling stop is another educational highlight: risk is defined by the pattern itself, not by an arbitrary pip count.

The limitations are equally important to understand. Reversal strategies, by their nature, trade against the prevailing move, so they can struggle in strong, persistent trends where a level that is "defended twice" eventually gives way. Double patterns are relatively rare, which means the strategy may trade infrequently and can sit idle for long stretches. There is also subjectivity baked into any pattern definition — the EqualTolerance and PivotLeftRight settings materially change what counts as a valid double tap, and a setting that works on one symbol may not transfer to another. During choppy, low-conviction markets, neckline breaks can fail and reverse, producing losing trades.

This is not a strategy to oversell or to dismiss. It is a clean, transparent implementation of a textbook pattern, best used as a tool for learning how price structure can be turned into precise rules.

Risk Management Tips

Sound risk management matters more than any single strategy. Consider these general principles as you study the Double Tap Reversal:

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