Blog / Strategy
Strategy

Momentum Stack 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 Momentum Stack Breakout is a pure price-action, momentum-continuation strategy for MetaTrader 5 that uses no traditional indicators at all — no moving averages, no RSI, no ATR. Instead, it reads raw candlestick data (open, high, low, close) to detect a "stack": a run of consecutive same-direction candles that each show strong conviction. In plain terms, it looks for a clean staircase of strong candles marching in one direction and treats that staircase as a sign of one-way order flow worth following.

This approach is a generalization of the classic candlestick patterns "three white soldiers" (bullish) and "three black crows" (bearish), extended to any number of bars with an added strength filter. A candlestick is simply the bar that shows where price opened, closed, and how far it travelled during a given period; the body is the distance between open and close, and the wicks are the thin lines marking the extremes. The Momentum Stack Breakout only counts a candle as "strong" when its body dominates its full range — a sign that buyers or sellers controlled the bar from open to close rather than fighting over it.

As a learning tool, this strategy is well suited to traders who want to study trend-continuation logic and candlestick momentum without the lag or noise of calculated indicators. It is designed for trending market conditions where price moves decisively in one direction. It is not designed for choppy, sideways ranges, and studying when it succeeds or fails is itself a valuable exercise in understanding market structure.

How It Works

The strategy evaluates the chart once per newly closed candle. It never acts on the still-forming bar — it waits for confirmation. Here is what the strategy checks, step by step:

Because the stop and target are both derived from the size of the surge itself, the strategy automatically adapts its risk distance to current volatility without ever calculating an indicator like ATR.

Momentum Stack Breakout MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
StackSize 3 2 6 Number of consecutive same-direction strong candles required to form a valid surge stack.
MinBodyRatio 0.55 0.35 0.85 Minimum fraction of a candle's full range that its body must occupy to count as "strong" (a momentum filter).
ExhaustionMult 2.50 1.50 5.00 Exhaustion guard: rejects the signal if the newest candle's body exceeds this multiple of the stack's average body.
StopBufferPct 0.15 0.00 1.00 Extra stop-loss buffer beyond the surge base, expressed as a fraction of the whole stack's range.
RewardRisk 1.80 1.00 4.00 Take-profit distance as a multiple of the entry-to-stop risk.
Lots 0.10 0.01 1.00 Position size in lots.

A higher StackSize demands more confirmation before entering, which tends to reduce trade frequency while raising the bar for what counts as conviction. A higher MinBodyRatio insists on cleaner, more decisive candles. Adjusting these values changes how selective the strategy is, and experimenting with them on historical data is a good way to understand the trade-offs between frequency and selectivity.

Momentum Stack Breakout MT5 EA — MQL5 source code

Recommended Chart Settings

The Momentum Stack Breakout is a continuation strategy, so it is best studied on liquid, trending instruments. Major forex pairs such as EUR/USD or GBP/USD on intraday-to-swing timeframes like the H1 (1-hour) or H4 (4-hour) chart are a reasonable starting point, since these timeframes produce cleaner candle structures with less micro-noise than very short timeframes.

That said, no single setting is optimal everywhere. Results will vary considerably across different symbols, timeframes, and market conditions. Before committing to any configuration, you should observe how the stack-detection logic behaves on the specific instrument and timeframe you intend to study, because what forms a clean staircase on one market may not on another.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Like every approach, the Momentum Stack Breakout has clear strengths and equally clear limitations. Understanding both is the point of studying it.

Strengths:

Limitations:

This strategy is best viewed as a structured framework for learning how momentum and candlestick continuation work — not as a finished, hands-off system.

Risk Management Tips

Sound risk management matters more than any single entry signal. Whatever strategy you study, these principles apply:

Risk management is the discipline that allows you to keep studying and improving over time, rather than being forced out by a single bad run.

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