Blog / Strategy
Strategy

Spinning Top Cluster 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 Spinning Top Cluster Breakout is a price-action breakout strategy built around the spinning top candlestick pattern and the Average True Range (ATR) indicator. Instead of measuring how wide a candle is, it measures how decisive a candle is — the size of the real body relative to the full high-to-low range. A spinning top is a candle with a small body and comparatively long wicks, which signals that buyers and sellers fought to the extremes but ultimately settled near the open. In plain terms, it is a snapshot of market indecision.

This strategy is designed for ranging or balancing markets that are preparing to trend. When several spinning tops appear close together, they form what this strategy calls a "balance pocket" — a cluster of indecision where neither side has committed. The idea is that energy coils inside this pocket. The strategy then waits for a single decisive candle whose body dominates its range and closes beyond the pocket's high or low, treating that escape as the transition from balance to trend.

As a learning tool, the Spinning Top Cluster Breakout is well suited to traders who want to study candlestick microstructure and the difference between range compression and body compression. It is not a signal to expect profit; it is a structured, rules-based way to explore how indecision resolves into directional movement. Beginners can use it to understand candle anatomy, while more experienced students can study how ATR-based buffers and body-ratio filters reduce false breakouts.

How It Works

The strategy evaluates the market once per completed bar and looks for a very specific sequence: a cluster of indecision followed by a decisive escape. Here is how each piece fits together.

Stop-loss and take-profit logic are both derived from ATR, so risk automatically scales with market volatility:

Because entries only occur when indecision resolves — not merely when it is present — the design attempts to filter out much of the chop that traps range-bound traders.

spinning top cluster breakout EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
ClusterWindow 6 3 20 Number of completed bars before the escape bar that form the balance pocket.
MinSpinningTops 3 2 12 How many of the window bars must be spinning tops for a valid cluster.
BodyRatioMax 0.30 0.10 0.50 Maximum body-to-range ratio for a candle to count as a spinning top (indecision).
BreakoutBodyRatio 0.55 0.40 0.90 Minimum body-to-range ratio for the escape candle to count as decisive.
BreakBufferAtr 0.10 0.0 1.0 Extra clearance beyond the fence, as a fraction of ATR (anti-marginal-break).
AtrPeriod 14 5 30 Number of bars used to calculate ATR for the buffer and risk sizing.
AtrStopMult 1.5 0.5 4.0 ATR multiple used to set the stop-loss distance.
AtrTargetMult 2.5 0.5 6.0 ATR multiple used to set the take-profit distance.
Lots 0.10 0.01 1.0 Trade volume (position size) in lots.
spinning top cluster breakout EA — MQL5 source code

Recommended Chart Settings

The Spinning Top Cluster Breakout is a single-timeframe strategy — every calculation uses the chart's own symbol and period, so what you attach it to is what it trades. It was designed to be studied on major forex pairs (such as EUR/USD, GBP/USD, or USD/JPY) on intraday-to-swing timeframes like the H1 (1-hour) or H4 (4-hour) charts, where spinning-top clusters and balance pockets form clearly and ATR-based stops have room to breathe.

Lower timeframes produce more clusters but also more noise, while higher timeframes produce fewer, slower signals. Because candle-body microstructure varies by instrument and session, results will differ considerably across symbols, timeframes, and market conditions. Always test the strategy on your chosen market in a risk-free environment before drawing any conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every strategy has strengths and blind spots, and understanding both is part of using it responsibly as a learning tool.

Strengths of this approach:

Known limitations:

No parameter set performs equally well across all instruments and regimes. Treat the defaults as a starting point for study, not a finished configuration, and observe how the strategy behaves before considering any live use.

Risk Management Tips

Sound risk management matters far more than any single entry signal. 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