Breakout PRO (B:Pro) v3.0

Core concept
The script builds a three-layer EMA cloud around price. The relative position of fast, mid, and slow EMAs plus an ATR padding defines:
Bull regime: stacked EMAs with cloud acting as dynamic support
Bear regime: stacked EMAs with cloud acting as dynamic resistance
Neutral regime: mixed EMAs, cloud fades to neutral color
This cloud defines the main trend and the breakout levels (cloud upper / cloud lower).
A higher-timeframe 200 EMA (configurable timeframe) adds a long-term bias filter.
Support, resistance and structure
Last confirmed swing high and swing low are detected with pivot logic and plotted as dotted support / resistance lines.
These levels are invalidated with a small ATR buffer when price clearly breaks them.
Optional long-term EMA targets (T1 and T2, default 233 and 377) are plotted on the price scale as potential mean-reversion or trend-continuation targets.
Filters used in entries
Long and short breakout signals are only shown when multiple conditions agree. You can enable or disable each filter:
Volume: current volume vs volume SMA
MACD: direction and histogram momentum
RSI: classic OB/OS, with sentiment-adjusted levels
Stoch RSI: direction of K vs D in valid zones
Bollinger Bands + Keltner Channel: squeeze and BB breakouts
VWAP: price relative to VWAP
ADX: trend strength threshold
OBV and Ichimoku: optional extra trend confirmation
A separate Market Sentiment input (Standard, Bullish, Bearish, Consolidation) shifts RSI zones, ADX threshold, and volume requirements so the same logic adapts to different environments.
Signals and exits
The main entry logic:
Long signal: bull EMA stack, breakout above the last pivot resistance and above the upper cloud, plus all enabled long filters are satisfied.
Short signal: mirror conditions below support and below the lower cloud.
Trade state is tracked inside the script:
ATR-based stop level is set on entry using mode-dependent ATR multipliers.
Optional maximum trade duration (different for Short, Mid and Long modes).
Exit markers are plotted when stops are hit, the cloud / EMA stack flips against the trade, MACD or RSI contradict the position, or the time limit is exceeded.
Additional icons mark:
Strong breakouts / breakdowns with large ATR and volume
Squeeze releases after a volatility contraction
EMA cross signals
Continuation and potential reversal zones inside the cloud
Optional RSI divergence arrows based on a separate RSI tuned per trade mode.
Quality and safety scoring
For every entry the script computes:
Safety score (1–3): based mainly on volume, ADX trend strength, and alignment with the cloud regime.
Quality score (1–3): based on BB breakout, MACD and RSI agreement, and whether the signal matches the selected market sentiment.
You can:
Show small S/Q labels next to the entry signal
Use the fixed panel in the bottom-left corner to view the last 5 trade events (opens, closes, crosses) with their S and Q values.
Inputs and layout options
Key inputs:
Trade Mode: Short (e.g. 30 min), Mid (e.g. 4h), Long (e.g. 1D+). Adjusts EMA lengths, ATR settings and the RSI length used for divergences.
Market Sentiment: adjusts filters as described above.
Per-filter toggles for volume, MACD, RSI, Stoch RSI, BB, Ichimoku, ADX, OBV, VWAP, HTF levels.
Panel size: Desktop, Phone, or None for the signal history table.
Side labels: Desktop (full text labels on the price scale) or Phone (compact labels without text) for better compatibility on small screens.
Usage notes
This is a technical analysis tool, not a trading system or financial advice. Signals are calculated on closed data without intentional look-ahead, but values on the current forming bar can still change until the bar closes. Use the script as a structured framework for trend, breakout and confluence analysis, and always confirm signals with your own risk management and testing.
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. È necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente synthexlive.
TradingView NON consiglia di acquistare o utilizzare uno script a meno che non si abbia piena fiducia nel suo autore e se ne comprenda il funzionamento. È inoltre possibile trovare alternative gratuite e open source nei nostri script della community.
Istruzioni dell'autore
Declinazione di responsabilità
Script su invito
Solo gli utenti approvati dall'autore possono accedere a questo script. È necessario richiedere e ottenere l'autorizzazione per utilizzarlo. Tale autorizzazione viene solitamente concessa dopo il pagamento. Per ulteriori dettagli, seguire le istruzioni dell'autore riportate di seguito o contattare direttamente synthexlive.
TradingView NON consiglia di acquistare o utilizzare uno script a meno che non si abbia piena fiducia nel suo autore e se ne comprenda il funzionamento. È inoltre possibile trovare alternative gratuite e open source nei nostri script della community.