Blog / Strategy
Strategy

Pivot Rebound Hedge

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 Pivot Rebound Hedge is a pure price-action reversal scalper built around two classic concepts: floor pivot levels and the engulfing candlestick pattern. Unlike most expert advisors, it uses no technical indicators at all — no moving averages, no RSI, no ATR, no Bollinger Bands. Every decision is made from raw candle geometry and a shelf of horizontal support and resistance levels that the strategy rebuilds on a fixed schedule. If you are learning how professional traders read price structure without lagging indicators, this strategy is a useful case study.

The "scalper" label describes its trading style: it looks for short, high-probability reversals where price pierces a pivot level, fails to break through, and snaps back into the range. A pivot level is a calculated horizontal price line (derived from a prior window's high, low, and close) that many traders watch as potential support or resistance. An engulfing candle is a reversal pattern where one candle's body completely covers the previous candle's body, signalling a possible shift in momentum. When these two ideas line up at the same price, the strategy treats it as a rebound signal.

What makes this approach distinctive is its built-in hedge. A rebound trade assumes the pivot holds. If price instead breaks decisively through the level, the original idea is wrong — so the strategy fires an opposite-side hedge to ride the breakout it failed to anticipate. This makes the Pivot Rebound Hedge a good educational tool for studying how mean-reversion and breakout logic can be combined in a single rules-based system. It is designed for liquid markets in intraday conditions, and it is best suited to traders who want to understand structure-based entries rather than chase a quick result.

How It Works

The strategy operates in two layers: a slow "bar" layer that acts once per closed candle, and a fast "reactive" layer that watches every tick for breakouts. Here is the logic in plain English.

Building the pivot map

Long (buy) entry — the strategy signals a support rebound when:

Short (sell) entry — the strategy signals a resistance rebound when:

Stop-loss logic

Take-profit logic

The hedge leg

pivot rebound hedge MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
RefPeriod 24 8 96 Number of bars in each pivot reference window; the pivot shelf is rebuilt every RefPeriod bars.
RewardRatio 1.5 0.5 4.0 Take-profit distance as a multiple of the structural risk (the stop-loss distance).
StopBufferFraction 0.30 0.00 1.50 Extra stop-loss padding beyond the pierce wick, as a fraction of the signal candle's range.
MinBodyRatio 1.00 0.50 3.00 Engulfing strength filter; the signal candle's body must be at least this multiple of the prior body.
HedgeBreakFraction 0.25 0.05 1.50 How far beyond a failed pivot (as a fraction of the reference range) price must break before a hedge fires.
HedgeMultiplier 1.50 0.00 3.00 Hedge lot size as a multiple of Lots; set to 0 to disable hedging entirely.
Lots 0.10 0.01 1.00 Base trade volume in lots.
Magic 7301 0 9,999,999 Unique magic number so the EA can identify and manage only its own trades.
pivot rebound hedge MT5 EA — MQL5 source code

Recommended Chart Settings

The Pivot Rebound Hedge was designed with liquid markets in mind. Its natural habitat is a major FX pair or gold on an intraday timeframe — for example EUR/USD or XAU/USD on the M15 (15-minute) chart — where pivot levels are widely watched and engulfing reversals tend to be clean. On these instruments the spread is typically tight, which matters for a scalping approach that targets relatively short moves.

That said, pivot behaviour and engulfing reliability differ across symbols, sessions, and volatility regimes. Results will vary across different market conditions, and a setting that suits one pair may behave very differently on another. Always test any symbol and timeframe combination on historical data and a demo account before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every strategy has strengths and trade-offs, and understanding both is part of trading education.

Strengths of this approach

Known limitations

This strategy may underperform in strongly trending, news-driven, or thin markets where pivots are repeatedly broken rather than respected. It is best understood as a framework for studying price-action structure, not a finished solution to deploy untested.

Risk Management Tips

Sound risk management matters 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