Blog / Strategy
Strategy

Pivot Rejection 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 Pivot Rejection Reversal is a mean-reversion strategy that combines classic Pivot Points (a set of horizontal support and resistance levels derived from a session's high, low, and close) with a candlestick rejection pattern, often called a pin bar (a candle with a long wick and small body that signals price was pushed back from an extreme). Rather than chasing momentum, it is a countertrend, or fade, approach: it waits for price to over-extend into a pivot level and then reverse, aiming to catch the move back toward equilibrium.

The strategy is designed for ranging or oscillating market conditions, where price repeatedly probes support and resistance without establishing a strong sustained trend. In these environments, pivot levels tend to act as natural turning points, and a rejection candle can indicate that buyers or sellers have stepped in to defend a level. It is timeframe-agnostic — the pivot "session" simply scales to whichever timeframe you apply it to — and is generally suited to liquid instruments such as FX majors (for example GBPUSD or EURUSD) or gold (XAUUSD) on intraday charts.

As a learning tool, this strategy is well suited to traders who want to study how support/resistance confluence, candlestick anatomy, and volatility-based stops fit together in a single rule set. It is presented here as a strategy analysis, not a profit opportunity. The goal is to understand why each condition exists and how the components interact — knowledge you can carry into your own discretionary or systematic research.

How It Works

The Pivot Rejection Reversal builds a fresh set of pivot levels on a rolling basis and then hunts for rejection candles at those levels. Here is the logic, step by step:

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

Strategy Parameters

Parameter Default Min Max Description
PivotPeriod 24 8 96 Number of completed bars in each pivot "session." Larger values produce wider, slower-refreshing levels; smaller values react to shorter swings.
WickRatio 0.45 0.25 0.70 Minimum share of the candle's total range that the dominant wick must occupy for the rejection to qualify. Higher values demand a more pronounced pin bar.
AtrPeriod 14 7 28 Lookback length for the ATR volatility measure used to buffer the stop-loss.
AtrStopMult 0.60 0.20 1.50 ATR multiple added beyond the rejection extreme when placing the stop. Larger values give the trade more breathing room but widen risk.
RewardRisk 1.60 1.00 3.00 Reward-to-risk multiple. The take-profit distance equals this number times the stop distance.
Lots 0.10 0.01 1.00 Fixed trade volume in lots. Should be sized to your account and risk tolerance.
pivot rejection reversal MT5 EA — MQL5 source code

Recommended Chart Settings

This strategy was designed with liquid FX majors such as GBPUSD or EURUSD, and gold (XAUUSD), on intraday timeframes in mind. Because it is timeframe-agnostic, the pivot session scales to whatever chart you apply it to — a 24-bar PivotPeriod spans a very different amount of real time on an M15 chart than on an H1 chart, so consider how the level-refresh rhythm matches the instrument's typical intraday swings.

As a starting point for study, many traders test mean-reversion pivot logic on M15 to H1 charts of the instruments above. Remember that these are suggestions for analysis, not settings tuned to any particular account or broker. Results will vary considerably across different market conditions, spreads, and volatility regimes, so treat any configuration as a hypothesis to be examined rather than a fixed recommendation.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every strategy carries trade-offs. A balanced view of the Pivot Rejection Reversal helps you use it as an honest learning tool.

Strengths of the approach. The logic is transparent and rule-based, which makes it excellent for study — you can see exactly why each trade fires. It uses confluence: a signal requires both a meaningful pivot level and a rejection candle, filtering out weaker setups. Risk is defined on every trade with an ATR-buffered stop and a fixed reward-to-risk target, so there is no open-ended exposure. Holding one position at a time keeps the rule set simple and risk contained.

Known limitations. Mean-reversion strategies are, by design, vulnerable to strong trends and breakouts. When price breaks decisively through a pivot rather than rejecting it, a fade entry can be caught on the wrong side. Pin-bar patterns are also somewhat subjective to quantify; the WickRatio filter helps, but no single number perfectly captures every rejection. Because pivot levels here refresh on a rolling bar count rather than on calendar sessions, their placement depends heavily on the chosen PivotPeriod and timeframe.

Where it may underperform. Trending markets, high-impact news events, and periods of expanding volatility can all produce clean breaks through support/resistance that overwhelm a countertrend entry. Wide spreads on illiquid pairs or during off-hours can also erode a strategy whose targets are measured in modest multiples of a volatility-based stop. Studying the strategy across varied conditions — quiet ranges, trending phases, and news spikes — will teach you far more than testing a single favorable stretch.

Risk Management Tips

Sound risk management matters more than any single entry signal. Consider these general principles as part of your education:

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