Cluster Breakout Strategy v6 (Robust) by ruchiragrawal

By ruchiragrawal

Performance Metrics

Description

The core idea: find moments when a stock/commodity/index is "coiling up" — trading in a tight, quiet range — and jump in the moment it breaks out of that range, then ride the move as far as it'll go.Step by step:Spot the squeeze. The script watches recent price action and asks: "is the high-low range right now unusually tight compared to this instrument's normal volatility (ATR)?" If yes, and that tightness has been getting progressively tighter (not just randomly quiet), it draws two red lines — one above, one below — marking that squeeze zone.Wait for a real breakout, not a fake one. Price has to close clearly above the top red line (for a buy) or below the bottom one (for a sell) — not just barely poke through. It also needs the breakout candle to close strong (near its high for a buy, near its low for a sell), and, where volume data exists, a burst of above-average volume. These checks exist to filter out weak breakouts that immediately reverse.Enter with a clear risk. The moment a real breakout happens, it buys or sells and puts a label on the chart. The initial stop-loss is set at the other side of the squeeze zone — so your risk is defined by the structure itself, not an arbitrary number.Protect profit as the trade moves. Once the trade is up by 1x its risk, the stop automatically moves to breakeven (you can't lose money on the trade anymore). Once it's up 2x its risk, the stop starts trailing behind price — so if the move keeps going, you keep more of the gain; if it reverses, you still walk away with a solid win instead of giving it all back.Cut the dead ones. If a trade just sits there going nowhere for too long without reaching even 1x risk, it closes automatically — no point tying up capital in something that isn't working.Stay disciplined during the day. It only trades during your chosen market hours, caps how many trades it'll take in a single day, and pauses for a few bars after any exit so it doesn't immediately re-enter into the same chop that just stopped it out. Any open trade is closed automatically before the session ends.In one sentence: it buys or sells when price breaks cleanly out of a quiet consolidation, risks a defined amount based on that consolidation's size, locks in breakeven early, then trails the stop to let genuine trends run further — while avoiding overtrading and fake breakouts as much as the rules allow

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView