PROTECTED SOURCE SCRIPT
Consolidation and Breakout Strategy

Consolidation and Breakout Strategy
This strategy is designed to detect tight consolidation zones followed by a strong breakout, allowing traders to capture explosive moves with high precision.
It works on every instrument (indices, stocks, crypto, futures, FX) and on every timeframe, as the consolidation logic is fully dynamic and adapts automatically based on volatility.
How It Works
The strategy finds periods of low volatility using a candle-body volatility filter.
When candles remain small for several bars, the script marks a consolidation box.
A valid breakout occurs only when:
The breakout candle is significantly larger (volatility expansion), and
Price closes outside the consolidation range with strong momentum.
A position is opened immediately on the breakout (on bar close).
Predefined TP/SL levels, with optional partial exits, manage the trade.
Default Performance (NQ 1-Minute Example)
With default parameters, using NASDAQ Futures (NQ) on the 1-minute chart, the strategy historically shows:
Win Rate: ~62.75%
Profit Factor: ~1.70
These numbers vary by provider and data source, but they highlight how well this structure performs in high-volatility markets.
Fully Customizable
Every key parameter is adjustable:
Consolidation detection sensitivity
Breakout strength threshold
TP/SL multipliers or percentages
Session filters
Partial exit logic
Visuals (boxes, colors, signals)
You can fine-tune the settings for your preferred instrument and timeframe.
Recommended Markets
This breakout structure works especially well on:
Index futures (NQ, ES, YM, DAX, FTSE)
Major crypto pairs
High-volume stocks
FX pairs with clean intraday movement
This strategy is designed to detect tight consolidation zones followed by a strong breakout, allowing traders to capture explosive moves with high precision.
It works on every instrument (indices, stocks, crypto, futures, FX) and on every timeframe, as the consolidation logic is fully dynamic and adapts automatically based on volatility.
How It Works
The strategy finds periods of low volatility using a candle-body volatility filter.
When candles remain small for several bars, the script marks a consolidation box.
A valid breakout occurs only when:
The breakout candle is significantly larger (volatility expansion), and
Price closes outside the consolidation range with strong momentum.
A position is opened immediately on the breakout (on bar close).
Predefined TP/SL levels, with optional partial exits, manage the trade.
Default Performance (NQ 1-Minute Example)
With default parameters, using NASDAQ Futures (NQ) on the 1-minute chart, the strategy historically shows:
Win Rate: ~62.75%
Profit Factor: ~1.70
These numbers vary by provider and data source, but they highlight how well this structure performs in high-volatility markets.
Fully Customizable
Every key parameter is adjustable:
Consolidation detection sensitivity
Breakout strength threshold
TP/SL multipliers or percentages
Session filters
Partial exit logic
Visuals (boxes, colors, signals)
You can fine-tune the settings for your preferred instrument and timeframe.
Recommended Markets
This breakout structure works especially well on:
Index futures (NQ, ES, YM, DAX, FTSE)
Major crypto pairs
High-volume stocks
FX pairs with clean intraday movement
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.