Blog / Strategy
Strategy

False Breakout 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 False Breakout Hedge is a pure price-action expert advisor (EA) built around two classic discretionary tools: floor pivot points and the engulfing candlestick pattern. It uses no traditional indicators — there is no moving average, RSI, ATR, or Bollinger Band anywhere in its logic. Instead, it reads structure directly from price, anchoring its decisions to the daily pivot levels (PP, R1, S1, R2, S2) that intraday desks watch, and confirming momentum with engulfing candles that swallow the prior bar. Its trading style is short-term breakout scalping with a built-in reversal hedge.

This strategy is designed for liquid, "range-then-trend" instruments where price tends to coil near a level, break out, and either run or snap back. Think FX majors such as EUR/USD, GBP/USD, or USD/JPY, as well as gold (XAU/USD) or an index CFD, traded on intraday timeframes like M5, M15, or M30. The design assumes a market where genuine pivot breakouts and false breakouts (stop hunts) alternate regularly — exactly the environment that frustrates a naive breakout trader.

As a learning tool, the False Breakout Hedge is well suited to traders who want to study how breakout confirmation, candlestick patterns, and hedging interact in a single rules-based system. It is best treated as a framework for understanding price-action mechanics — not as a shortcut. Everything below frames the EA as a strategy to analyze and learn from, not as a profit opportunity.

How It Works

The strategy reads each completed bar, maintains a running session, and recalculates its pivot levels once per day. Here is what it does, step by step:

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

Strategy Parameters

Parameter Default Min Max Description
MinBodyFrac 0.55 0.20 0.95 Engulfing body must be at least this fraction of its own high-low range — a conviction filter that rejects weak signal bars.
BreakFrac 0.05 0.00 0.50 How far beyond the pivot the bar must close to count as a real break, as a fraction of the session range.
TpFrac 0.60 0.10 3.00 Scalp take-profit distance as a fraction of the session range (capped at the next pivot).
StopBufferFrac 0.15 0.02 1.00 Stop-loss pad placed beyond the engulfing bar's opposite extreme, as a fraction of the range.
FailFrac 0.10 0.02 1.00 A close back through the broken level by this fraction of range confirms a false break and triggers the hedge.
HedgeMult 1.50 0.50 3.00 Recovery-hedge volume as a multiple of the base leg.
BasketTpMoney 30.0 5.0 2000.0 Banks the whole basket once net floating profit reaches this amount (account currency).
BasketSlMoney 400.0 50.0 100000.0 Flattens the whole basket once net floating loss reaches this amount (account currency).
MaxSpreadPoints 40 0 500 Skips new entries while spread (in points) exceeds this value (0 = off).
Lots 0.10 0.01 1.00 Base position volume in lots.
Magic 8310 0 9,999,999 Unique magic number identifying this EA's positions.
false breakout hedge MT5 EA — MQL5 source code

Recommended Chart Settings

The False Breakout Hedge was designed for liquid, intraday instruments where pivot breakouts and fakeouts alternate. Suitable candidates include FX majors such as EUR/USD, GBP/USD, and USD/JPY, as well as XAU/USD (gold) or a major index CFD. Recommended timeframes are M5, M15, or M30 — short enough for scalp-sized targets, but long enough that the daily session pivots carry meaning. Because every distance scales to the session range rather than to fixed pip values, the EA adapts to whatever symbol and timeframe you select at test time.

Keep in mind that results will vary considerably across different market conditions. A tight-spread broker matters for a scalping approach, which is why the MaxSpreadPoints filter exists. Always validate any combination of symbol and timeframe on your own broker's data before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every strategy involves trade-offs. The False Breakout Hedge has clear strengths and clear limitations, and understanding both is the point of studying it.

Strengths. It is a transparent, indicator-free system, so its logic is easy to follow and audit. Anchoring entries to fixed daily pivots and confirming with engulfing candles is a well-established price-action approach. The standout feature is its response to false breakouts: rather than simply taking the stop, it deploys a recovery hedge, which can convert a fakeout loss into a scratch or recovery when price snaps back.

Limitations. Hedging is not a magic shield. The strategy's explicit failure mode is a violent, sustained one-way trend immediately after the hedge locks — in that case both the basket stop and the individual stops are tested, and BasketSlMoney can be a meaningfully larger number than BasketTpMoney. That asymmetry means a string of clean wins can be erased by a single adverse run if parameters are not chosen carefully. Scalping also makes the strategy sensitive to spread, slippage, and commission, so live results may diverge from idealized tests. Finally, hedging accounts are not permitted by every broker or in every jurisdiction (for example, FIFO-only rules in some regions) — confirm your account supports holding both directions before testing.

The strategy may underperform in choppy, low-range sessions where breakouts repeatedly fail without following through in either direction, and in news-driven gaps that jump past pivots. Treat it as an educational framework for studying breakout confirmation and hedging — not as a finished, hands-off system.

Risk Management Tips

Sound risk management matters more than any single entry rule. As you study this EA, 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