Blog / Strategy
Strategy

Central Pivot Range Breakout

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 Central Pivot Range Breakout is a price-action breakout strategy built around the Central Pivot Range (CPR) — a three-line pivot band that floor traders have used for decades to gauge whether a session is more likely to trend or to range. Unlike most automated systems, this approach uses no technical indicators at all: no moving averages, no RSI, no ATR. It works purely from raw price levels and candle structure, which makes it a clean, transparent example for learning how pivot-based price action behaves.

The Central Pivot Range is made up of three reference lines calculated from a recent session's High, Low, and Close: the central pivot (P), the bottom central line (BC), and the top central line (TC). The distance between the two outer lines — the CPR width — is the heart of the idea. A narrow CPR signals that traders found little agreement on fair value, which historically often precedes a trending or breakout session. A wide CPR signals a balanced, two-sided market that tends to range. This particular strategy is a narrow-CPR breakout: it only arms itself when the band is narrow, then waits for a decisive candle to break clear of the band.

This makes the strategy most suitable as a learning tool for traders who want to understand regime filtering — the practice of only trading when market conditions match the setup — and how to combine a structural price level with a price-action confirmation. It is framed here as a strategy analysis, not a money-making opportunity, and it is designed to be studied on a demo account first.

How It Works

The strategy processes one completed bar at a time on a single timeframe. It continuously builds a rolling "session" from a fixed number of bars, computes a fresh CPR when that session completes, then holds those levels static (non-repainting) while it looks for a breakout. Here is the full logic in plain English:

Because every distance (breakout buffer, stop buffer, target) is scaled by the producing session's range rather than a fixed point value, the same settings adapt across symbols and volatility levels without manual tuning.

Central Pivot Range breakout EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
SessionBars 20 8 80 Number of primary-timeframe bars that make up one rolling session from which the CPR is computed.
NarrowFrac 0.30 0.10 0.80 Maximum CPR width (as a fraction of the session's range) for the band to count as narrow and arm the strategy.
BreakoutBufferFrac 0.05 0.00 0.30 How far beyond TC/BC (fraction of session range) the candle must close for the break to be confirmed, filtering marginal pokes.
BodyFrac 0.50 0.20 0.90 Minimum breakout-candle body relative to its range — demands a conviction close rather than a wick.
StopBufferFrac 0.15 0.02 0.60 Stop buffer beyond the breakout candle extreme or band edge, as a fraction of the session range.
RewardRisk 1.80 0.50 4.00 Take-profit distance expressed as a multiple of the structural risk (entry to stop).
MaxSpreadPoints 100 5 300 Skip new entries when the current spread (in points) is wider than this value.
Lots 0.10 0.01 1.00 Order volume in lots.
Magic 7711 0 9,999,999 Magic number used to identify and manage this EA's positions.
Central Pivot Range breakout EA — MQL5 source code

Recommended Chart Settings

The strategy was designed with a liquid FX major or index in mind on the M15 (15-minute) timeframe — classic Central Pivot Range territory, where intraday sessions are long enough to form meaningful pivot levels. That said, because all thresholds are scaled by session range rather than fixed points, the logic will run on whatever single timeframe you select at backtest time. It always uses the primary chart timeframe only and never references a higher timeframe.

Keep in mind that results will vary considerably across different symbols, brokers, and market conditions. A setting that looks well-behaved on one instrument may behave very differently on another, so any timeframe or symbol change should be re-tested independently.

How to Install on MetaTrader 5

What to Consider Before Using This EA

The main strength of this approach is its transparency and regime awareness. By only arming during a narrow CPR, it deliberately sits out conditions where breakouts historically fail more often, and its reliance on raw price levels means there are no lagging indicators to second-guess. The fresh-break and conviction-body filters are sensible attempts to avoid chasing exhausted moves and trading indecision.

There are also real limitations worth understanding. Breakout systems are prone to false breakouts, where price pokes beyond a level only to reverse — and no filter eliminates these entirely. The narrow-CPR premise is a statistical tendency, not a certainty; a narrow band does not guarantee a trend will follow. Because the strategy takes only one position at a time and waits for a fresh break, it may trade infrequently and can endure long quiet stretches. In choppy, low-volatility markets, repeated marginal breaks can lead to a string of small stop-outs. The fixed reward-to-risk target also means strong moves may be cut short, while the absence of a trailing stop means giving back open profit if price stalls before the target. As with any single-timeframe price-action system, performance is sensitive to spread, slippage, and broker execution.

Risk Management Tips

Sound risk management matters far more than any single entry rule. Consider these general principles as you study this strategy:

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