High Breakout PRO - Huy Hoang Trader
# High Breakout PRO - Huy Hoang Trader - Strategy Description
## 🚀 Overview
**High Breakout PRO** is a professional-grade Trend Following strategy designed to capture major market moves while strictly managing risk. Built on the core philosophy of "Price Action Breakouts," this script enhances the classic Donchian Channel breakout method with modern risk management tools like the **Hybrid Exit** and **EMA Trend Filter**.
This strategy is optimized for **Gold (XAUUSD)**, **Bitcoin (BTC)**, and **Major Stocks (AAPL, AMZN)** on **H4 and Daily** timeframes.
## 💎 Key Features
1. **Trend Filter (EMA):** Only takes long positions when the price is above the 200-period EMA. This filters out counter-trend noise and significantly improves winning probability.
2. **Hybrid Exit Mechanism ("Holy Grail"):** A unique dynamic trailing stop that combines:
* **Price Structure:** Uses the lowest low of the last Y bars (Donchian Support).
* **Volatility:** Uses ATR-based trailing (Chandelier Exit logic).
* *Logic:* The system automatically chooses the **tighter** (higher) stop level between the two, ensuring you lock in profits rapidly during strong volatility while giving the trade room to breathe during accumulation.
3. **Professional Visuals:** A refined "Wealth & Earth" themes (Gold/Silver/Brown) specifically designed to reduce eye strain and provide clear, professional signal visibility without chart clutter.
## 🛠 Strategy Logic
### entry rules
* **Breakout:** Price closes above the Highest High of the last `X` bars (Default: 20).
* **Trend Confirmation:** Closing Price > EMA 200 (Configurable).
### Exit Rules
* **Dynamic Stop Loss:** The trade is closed when price breaches the **Hybrid Trailing Stop**.
* The Trailing Stop never moves down. It only moves up as price increases.
* It effectively adapts to both slow-grinding trends and explosive spikes.
## ⚙️ Best Settings (Recommended)
* **Timeframe:** H4 (Swing Trading) or Daily (Position Trading).
* **Entry Period (X):** 20
* **Exit Period (Y):** 10
* **Trend Filter:** ON (EMA 200)
* **Risk Management:** Hybrid Mode (ATR Multiplier 3.0)
## ⚠️ Disclaimer
This strategy follows trends. It may experience drawdowns during choppy/sideways markets. Always use proper risk management (position sizing) and backtest on your specific asset before live trading.
---
*Developed by Antigravity. Empowering traders with institutional-grade tools.*
Contact for work: www.facebook.com
Volatilità
Ross GPT - Momentum Scalp 1mThis strategy is a long-only momentum scalping system designed for the 1-minute timeframe, combining VWAP, EMA trend alignment, MACD momentum, volume confirmation, and session filtering to identify high-probability intraday entries for pre-market session and U.S small cap stocks with high % change compared to previous day. Apply only for stock price between $2-$20.
⸻
1️⃣ Date Range Filter
The strategy trades only within a user-defined date range.
• Default range: Feb 1, 2026 – Dec 31, 2069
• Trades are ignored outside this period
• Useful for controlled backtesting and forward testing
⸻
2️⃣ Indicators Used
VWAP
• Used as a trend and mean-reversion filter
• Only long trades are allowed when price is above VWAP
MACD (12, 26, 9)
• Momentum confirmation
• Entry requires MACD line > Signal line
• Exit is triggered if MACD crosses below Signal
Exponential Moving Averages
• EMA 9
• EMA 20
• EMA 50
• EMA 200 (visual reference)
Trend Bias Requirement
• Bullish alignment:
• EMA 9 > EMA 20 > EMA 50
Volume Strength (Price Action Proxy)
• Counts bullish candles over the last 5 bars
• Entry requires at least 3 green candles
• Used as a confirmation of buying pressure
⸻
3️⃣ Session Filter
Trades are allowed only during a specific intraday session:
• 06:59 – 09:00 (exchange time)
• Designed to focus on high-liquidity morning momentum
⸻
4️⃣ Entry Conditions (Long Only)
A buy signal is generated when all of the following are true:
• Price is above VWAP
• MACD line is above Signal line
• EMA alignment confirms bullish trend
• Bullish candle count condition is met
• Current bar is within the allowed session
• Current bar is within the selected date range
• No existing open position
Only one position at a time is allowed.
⸻
5️⃣ Trade Execution
• Market entry when all conditions align
• Fixed position sizing (default: 500 units)
• Commission and slippage are included for realism
⸻
6️⃣ Exit Logic
Primary Exit (Bracket Order)
• Take Profit: +0.25
• Stop Loss: -0.10
• Managed using strategy.exit for intra-bar accuracy
Indicator-Based Exit
• If MACD crosses below the Signal line, the position is closed immediately at market
This dual exit system allows both quick scalps and early momentum failure exits.
⸻
7️⃣ Visual Aids
The strategy plots all key indicators used in decision-making:
• EMA 9, 20, 50, 200
• VWAP
This allows easy visual verification of entries and exits directly on the chart.
⸻
⚠️ Notes
• Designed for scalping and short-duration trades
• Best suited for high-liquidity instruments
• Results may vary depending on symbol, spread, and market conditions
• This script is for educational and research purposes only
Friendly Stretch Band Regime + Filters (Close Confirm + Hold)What it is
A calm, regime-based stretch band that highlights only three states: BUY zone, SELL zone, and Neutral. Designed to reduce noise and visual overload by avoiding markers, labels, and background tint.
How it works
Bands are built from an EMA basis ± ATR.
BUY Zone: price below lower band (lower band turns green)
SELL Zone: price above upper band (upper band turns red)
Neutral: price inside bands (bands grey)
Stability Options
Confirm on Close: requires CLOSE beyond the band (reduces wick spikes)
Hold Bars: holds zone state for N bars after the trigger ends (reduces flicker)
Optional Filters (applied only if enabled)
Trend filter (basis slope or slow EMA)
ATR expansion gate
Minimum exceed beyond band (ATR units)
Suggested Use
Best used as a clean “location/context” tool on swing timeframes (e.g., 4H). It can be paired with a separate momentum/confirmation tool.
Repainting & Disclaimer
Uses only current and historical bar data (no security() calls). Values may update on the realtime bar before close. Educational use only; not financial advice.
Bank CRE Stress & Short Risk Overlay + Dashboard
🏦 Bank CRE Short-Selling Dashboard:
- Expands the static database to better match the dashboard's highCRE + shortCandidates.
- Uses CRE ratio thresholds from dashboard (e.g., critical ~>500%, high ~400-500%, etc.).
- Keeps price stress logic (you can tweak it).
- Includes more failed/failed-like flags.
Access the Live Risk Monitoring & Trade Opportunities 🏦 Bank CRE Short-Selling Dashboard
claude.ai
Midas Decision Dashboard (XAU)Midas Decision Dashboard (XAU)
Indicator Overview
Midas Decision Dashboard (XAU)** is a high-precision strategic tool specifically engineered for Gold (XAU/USD) scalping on lower timeframes like M1 and M5. Instead of providing a single, lagging signal, the dashboard acts as a "Mission Control" center, synthesizing four core market dimensions and real-time Price Action into a live, weighted scoring matrix.
The Four Strategic Pillars
The dashboard evaluates the market using a weighted logic system to ensure no single indicator triggers a false entry:
📈 TREND ANALYSIS (EMA 200 - 20%): Monitors the 200-period Exponential Moving Average to establish the primary market direction (BULL/BEAR/FLAT).
⚡ POWER & STRENGTH (ADX - 45%): The engine of the strategy. A high weight ensures you only engage when real trend strength is present. **WEAK** power is highlighted in Light Yellow to signal low-volatility caution.
🔥 MARKET ENERGY (CHOP - 25%): A sophisticated volatility meter that identifies BREAKOUT phases while flagging dangerous CONSOLIDATION zones in red to avoid sideways traps.
🌊 MOMENTUM SAFETY (RSI - 10%): Provides a final safety layer to prevent buying at overextended peaks or selling at oversaturated bottoms.
Dynamic Scoring & Signal Hierarchy
The system calculates a live score (0-100%) based on active conditions. The **🎯 SIGNAL** row triggers a verdict using a professional traffic-light system:
🟢 GO (80% - 100%): High-conviction alignment. All major pillars are in sync for an entry.
🟡 WAIT (50% - 79%): The market is developing, but full confirmation is currently missing.
🔴 STOP (Below 50%): Low-probability environment. No trade zone.
Disclaimer
Trading gold involves significant risk. This dashboard is a decision-support tool and should be used in conjunction with a proper risk management strategy.
Range Volatility Oscillator [Session Adjusted]Description
This open-source indicator calculates a volatility oscillator based purely on price range expansion/contraction (High − Low), making it especially suitable for instruments with well-defined trading sessions (FTSEMIB, DAX, ES, NQ, forex majors during London/NY overlap, etc.).
Instead of using price returns or close-based volatility, it compares short-term and long-term simple moving averages of the daily range, then expresses the relative difference as a percentage oscillator — similar in spirit to a MACD-style momentum readout, but applied to volatility itself.
Core Concept
Fast SMA(range, fast × candles_per_session)
Slow SMA(range, slow × candles_per_session)
Oscillator = 100 × (Fast / Slow − 1)
Positive values → recent ranges are expanding compared to the longer-term average (rising volatility / potential trend acceleration or breakout environment).
Negative values → ranges are contracting (falling volatility / potential consolidation or mean-reversion setup).
Zero line acts as the neutral pivot between expanding vs contracting regimes.
Key Features
- Session-aware calculation — user inputs session duration (default 6.5 h) → automatically estimates how many candles = 1 trading day on the current timeframe
- Works on any timeframe (1 min → daily), including irregular ones
- Optional signal line (SMA of the oscillator) for smoother readings and crossover strategies
- Clean, minimalistic plot with customizable colors
- Zero line always visible (dotted)
Typical Usage Ideas
- Rising oscillator + above zero → increasing volatility → favor momentum / breakout / trend-following strategies
- Falling oscillator / below zero → decreasing volatility → consider mean-reversion, tightening stops, or waiting for compression → expansion setups
- Signal line crossovers — fast line crossing above signal = short-term volatility pickup, crossing below = volatility cooling
- Divergences between price and the oscillator can sometimes highlight weakening trends (classic volatility divergence)
Combine with trend filters (EMA, VWAP, SuperTrend), support/resistance or volume for higher-probability setups.
Recommended Starting Settings
Session Duration: 6.5–8.5 hours (adjust to your market — e.g. 8.5 for many European indices, 6.5 for US regular session).
Fast SMA Length: 5 days
Slow SMA Length: 15 days
Signal-line Length: 3 days (if enabled)
Best results usually appear on intraday timeframes (3 min – 30 min) and on instruments with clear session boundaries and meaningful daily ranges.
Notes / Limitations
- Pure range-based → ignores gaps, overnight moves and volume
- Not normalized to ATR or percentage of price → readings are relative within each instrument
- Very low-liquidity / very small-range instruments may produce noisy output
Released under open source — feel free to modify, combine with other logic or use in strategies.
Feedback and improvements are welcome!
YesterWAPThe VWAP describes intra-day price action in "value-space" (quantity * price). By weighting prices based on the volume transacted, the VWAP attempts to reflect the "fair-market" value of an asset.
The VWAP is reset periodically, often at daily open, creating a "gap."
The YesterWAP tracks the gap for you.
Every time the VWAP is about to reset to LastPrice, the YesterWAP resets to it, first.
When yesterday's players clock back in today, they'll try to sort their (losing) positions out, at yesterday's VWAP, the YesterWAP.
ATR-Based Z-Score (with Signal Line)The ATR-Based Z-Score is an advanced, volatility-normalized oscillator designed to identify extreme price deviations more reliably than the standard Z-Score.
By replacing the traditional Standard Deviation with the Average True Range (ATR) in the denominator, this indicator eliminates the "volatility paradox" where rapid price spikes cause standard oscillators to prematurely return to zero, even as the price continues to crash.
Why this version is superior
In a classic Z-Score calculation:
Z = (Price - SMA) / (Standard Deviation)
A sudden impulsive price drop causes the Standard Deviation to explode. Because you are dividing by a rapidly increasing number, the Z-Score often "rises" while the price is still falling.
The ATR-Based Solution:
Z = (Price - SMA) / ATR
By using a long-period ATR as the denominator, the volatility measure remains stable and "clean." This ensures that the indicator’s troughs align much more accurately with actual price bottoms, staying in the oversold territory until the momentum truly shifts.
Key Features
Volatility Cleaning: The ATR-normalization prevents the indicator from "flattening out" during impulsive price movements.
Integrated Signal Line: A customizable Moving Average of the Z-Score values helps filter noise and confirms entry/exit points.
Independent Periods: You can set the Price MA (responsiveness) and the ATR (volatility baseline) separately to fine-tune the indicator to different timeframes.
How to Trade with it
1. Mean Reversion (Buy the Dip / Sell the Rip)
Long: Wait for the Z-Score to drop below a significant level (e.g., -10.0). Enter when the Z-Score crosses back above its Signal Line.
Short: Wait for the Z-Score to rise above +10.0 and enter when it crosses below the Signal Line.
2. Breakout Trading
A strong push of the Z-Score beyond the +/- 7.0 levels can indicate a powerful trend breakout.
In this case, the Signal Line crossover serves as an effective Exit Signal, telling you that the initial momentum of the breakout is fading.
Summary
✅ This indicator is designed for traders who find standard oscillators too "nervous" during volatile periods. By decoupling price deviation from immediate variance spikes, the ATR-Based Z-Score provides a rock-solid foundation for identifying true market extremes and high-probability reversal points.
Price Range AnalyzerPrice Range Analyzer - 365-Day Market Context
Get instant market perspective with key price metrics calculated from daily timeframe data, regardless of your current chart interval.
📊 KEY FEATURES:
- 365-Day High/Low with percentage distance from current price
- Range Position indicator (0-100%) with color-coded zones
- Comparison vs 365-day average price
- ATR-based volatility assessment
- Automatic adaptation for new assets (uses available data)
- Clean, professional table (top-left position)
- Optional visual lines on chart
🎯 WHAT IT SHOWS:
1. 365D High - Highest price in period + % below current
2. 365D Low - Lowest price in period + % above current
3. Range Position - Where price sits in the range:
• 🟢 Very Low (0-20%): Strong buy zone
• 🟢 Low (20-40%): Bullish territory
• 🟡 Mid (40-60%): Neutral zone
• 🟠 High (60-80%): Bearish territory
• 🔴 Very High (80-100%): Strong sell zone
4. vs 365D Average - Distance from mean (reversion signal)
5. Volatility - ATR as % of price (Low/Medium/High)
💡 USE CASES:
- Quick assessment of support/resistance zones
- Identify overbought/oversold conditions
- Mean reversion trading opportunities
- Risk assessment via volatility levels
- Works on ALL timeframes (always uses daily data)
- Perfect for new listings (auto-adjusts to available history)
⚙️ SETTINGS:
- Adjustable lookback period (30-730 days)
- Toggle high/low/average lines on chart
- White background optimized table
Clean, simple, actionable. Know exactly where you stand in the bigger picture at a glance.
Cumulative Volume Delta[MIT]Cumulative Volume Delta Depth
This indicator provides a simplified approximation of Cumulative Volume Delta based on candlestick structure, helping to estimate short-term aggressive buying vs. selling pressure.
Core Calculation Logic:
Delta ≈ Volume × (Close - Open) / (High - Low)
- Positive Delta when the candle has a strong bullish body (more aggressive buying)
- Negative Delta when the candle has a strong bearish body (more aggressive selling)
- Near zero when the body is very small (indecision / balanced pressure)
Key Features:
- Column chart shows cumulative Delta (resets on new day by default)
- Orange line = smoothed Delta (default 5-period SMA)
- Teal tint for positive values, maroon tint for negative values
- Zero line for easy visual reference of net buying/selling shifts
Use Cases:
- Identify short-term buying/selling dominance
- Spot divergences (e.g. price makes new high but Delta fails to confirm → potential exhaustion)
- Works best on high-volume instruments (futures, crypto, liquid stocks)
Limitations:
- This is an approximation based on OHLC structure, NOT real tick-by-tick order flow
- Long shadows, small bodies, gaps, or low-volume bars may distort the result
- Best used in combination with other volume/price tools (VWAP, OBV, volume spikes, etc.)
Parameters:
- Cumulative Period: Controls lookback/reset logic (default 200 bars)
- Smoothing Period: Length of Delta moving average (default 5)
- Show MA: Toggle orange smoothed line on/off
这是一个基于K线形态粗估的累计成交量Delta指标,用于近似判断短期内主动买方与主动卖方的力量对比。
核心计算逻辑:
Delta ≈ Volume × (Close - Open) / (High - Low)
- 当阳线实体较长时,Delta为正值(偏向买方主动)
- 当阴线实体较长时,Delta为负值(偏向卖方主动)
- 小实体或十字星时Delta接近0
指标特点:
- 柱状图显示累计Delta(可每日重置)
- 橙色线为Delta的平滑均线(默认5周期,可调)
- 正值区域用青色系着色,负值区域用酒红色系着色
- 零轴辅助线,便于观察多空转折
适用场景:
- 辅助判断日内/短线多空力量变化
- 结合价格走势观察是否有背离(价格创新高但Delta不创新高,可能见顶)
- 适合期货、加密货币、活跃股票等成交量较大的品种
局限性:
- 这只是基于K线结构的近似估算,并非真实逐笔方向分类
- 对长影线、小实体K线或跳空行情可能失真
- 建议结合其他量价指标(如VWAP、OBV、成交量放大)一起使用
参数说明:
- 累计周期:控制Delta是否每日/每周重置(默认200根,建议设大值保持连续性)
- 平滑周期:Delta平滑均线的长度(默认5)
- 显示均线:是否显示橙色平滑线
High Breakout PRO Huy Hoang Trader
High Breakout PRO - Strategy Description
## 🚀 Overview
**High Breakout PRO** is a professional-grade Trend Following strategy designed to capture major market moves while strictly managing risk. Built on the core philosophy of "Price Action Breakouts," this script enhances the classic Donchian Channel breakout method with modern risk management tools like the **Hybrid Exit** and **EMA Trend Filter**.
This strategy is optimized for **Gold (XAUUSD)**, **Bitcoin (BTC)**, and **Major Stocks (AAPL, AMZN)** on **H4 and Daily** timeframes.
## 💎 Key Features
1. **Trend Filter (EMA):** Only takes long positions when the price is above the 200-period EMA. This filters out counter-trend noise and significantly improves winning probability.
2. **Hybrid Exit Mechanism ("Holy Grail"):** A unique dynamic trailing stop that combines:
* **Price Structure:** Uses the lowest low of the last Y bars (Donchian Support).
* **Volatility:** Uses ATR-based trailing (Chandelier Exit logic).
* *Logic:* The system automatically chooses the **tighter** (higher) stop level between the two, ensuring you lock in profits rapidly during strong volatility while giving the trade room to breathe during accumulation.
3. **Professional Visuals:** A refined "Wealth & Earth" themes (Gold/Silver/Brown) specifically designed to reduce eye strain and provide clear, professional signal visibility without chart clutter.
## 🛠 Strategy Logic
### entry rules
* **Breakout:** Price closes above the Highest High of the last `X` bars (Default: 20).
* **Trend Confirmation:** Closing Price > EMA 200 (Configurable).
### Exit Rules
* **Dynamic Stop Loss:** The trade is closed when price breaches the **Hybrid Trailing Stop**.
* The Trailing Stop never moves down. It only moves up as price increases.
* It effectively adapts to both slow-grinding trends and explosive spikes.
## ⚙️ Best Settings (Recommended)
* **Timeframe:** H4 (Swing Trading) or Daily (Position Trading).
* **Entry Period (X):** 20
* **Exit Period (Y):** 10
* **Trend Filter:** ON (EMA 200)
* **Risk Management:** Hybrid Mode (ATR Multiplier 3.0)
## ⚠️ Disclaimer
This strategy follows trends. It may experience drawdowns during choppy/sideways markets. Always use proper risk management (position sizing) and backtest on your specific asset before live trading.
---
*Developed by Huy Hoang Trader. Empowering traders with institutional-grade tools.*
Contact for work: www.facebook.com
TSM: Time-Series Momentum & Volatility Targeting [Moskowitz]TSM: Institutional Time-Series Momentum & Volatility Targeting (Moskowitz)
SUMMARY
TSM is a trend and risk-sizing indicator designed to convert price movement into a risk-adjusted regime signal and a single Recommended Exposure output. It addresses a common trend problem: direction can be correct while sizing is wrong during volatility expansions.
Recommended Exposure is a signed value where positive indicates bullish bias and negative indicates bearish bias. The magnitude reflects confidence after the volatility and quality filters are applied.
The engine combines volatility-scaled time-series momentum across multiple horizons with optional volatility targeting and an optional efficiency filter to reduce noise sensitivity and improve sizing discipline.
WHAT THIS INDICATOR GIVES YOU
A risk-adjusted momentum signal that is scaled by realized volatility rather than raw returns, so high-volatility noise is less likely to look like strong trend.
An optional volatility targeting layer that mechanically scales Recommended Exposure down when realized volatility rises and up when it falls, capped by Max Leverage.
An ensemble approach using fast, medium, and slow horizons with configurable weights, reducing dependence on a single lookback and lowering curve-fitting risk.
An optional R-squared efficiency filter that reduces exposure in choppy, low-quality trends, with a floor to avoid over-suppressing exposure.
Optional workflow features including a dashboard, trend cloud bands, threshold-based signals with cooldown, and alerts.
SCIENTIFIC FOUNDATION (PLAIN ENGLISH)
Time-Series Momentum (Moskowitz, Ooi, Pedersen 2012) describes the empirical tendency for an asset’s own past returns to predict its future returns in expectation, distinct from cross-sectional momentum which compares assets to each other.
Volatility clustering means markets alternate between calm and violent regimes; many traditional trend tools misread volatility shocks as sustainable trend. This indicator normalizes momentum by realized volatility to express trend significance relative to the regime.
Volatility targeting (Harvey et al. 2018) scales exposure inversely to realized volatility to stabilize risk. When volatility rises, recommended exposure is reduced mechanically; when volatility falls, exposure can increase, subject to a max leverage cap.
DATA AND SOURCES
This indicator uses only the chart symbol’s OHLC data. No external feeds, no COT libraries, and no third-party data sources are required.
It supports multi-timeframe calculation. You can compute the signal on the current chart timeframe, or use a fixed timeframe such as Daily to keep volatility math consistent when viewing intraday charts.
HOW THE ENGINE WORKS (HIGH LEVEL)
Step 1 estimates realized volatility from log returns over a chosen lookback. Step 2 computes a volatility-scaled momentum statistic for three horizons (fast, medium, slow) to measure how meaningful the move is relative to volatility. Step 3 clamps extreme values so outliers do not dominate. Step 4 combines the horizons into a weighted ensemble. Step 5 optionally applies an efficiency filter to reduce exposure in choppy trends. Step 6 optionally applies volatility targeting to scale exposure inversely with realized annualized volatility, capped by Max Leverage. The final output is Recommended Exposure as the combined result of direction, risk scaling, and quality filtering.
OUTPUTS AND HOW USERS SHOULD APPLY THEM
Recommended Exposure is the primary output. Positive values indicate bullish regime bias, negative values indicate bearish regime bias, and larger magnitude indicates higher risk-adjusted conviction after filters.
Typical use is as a position-sizing overlay: keep your own entry method and use Recommended Exposure to decide how aggressive or defensive sizing should be in the current regime.
Signals are optional and trigger when Recommended Exposure crosses user-defined thresholds. A cooldown reduces repeated triggers during consolidations, and direction can be restricted to long only, short only, or both.
The dashboard is optional and displays realized volatility versus target, ensemble momentum, the efficiency metric, the volatility scalar, the quality multiplier, and final Recommended Exposure, including the fast/medium/slow breakdown.
Trend cloud bands are optional and provide range context; they are not the signal and are intended as visual regime support.
SETTINGS GUIDE (WHAT MATTERS MOST)
Fixed Timeframe mode is recommended for consistent volatility math across chart timeframes; Current Chart mode is more sensitive to the displayed timeframe.
Momentum horizons control responsiveness versus stability. Shorter lookbacks react faster but whipsaw more; longer lookbacks are smoother but slower. Weights allow emphasizing fast responsiveness or slow regime confirmation.
Volatility targeting turns the tool into a sizing engine by scaling exposure inversely to realized volatility. Target annualized volatility sets the risk budget, and the annualization basis (365 vs 252) aligns conventions for crypto versus traditional markets. Max Leverage caps the scalar in very low-volatility regimes.
The efficiency filter reduces exposure in choppy conditions; the floor controls how harshly exposure is reduced. Threshold and cooldown control how selective discrete signals are.
LIMITATIONS (IMPORTANT FOR USERS)
This is a trend-following framework, so it will lag turning points by design. Sideways markets can still cause whipsaws; cooldown and the efficiency filter may reduce but cannot eliminate this. Volatility targeting can reduce drawdowns during volatility expansions but may reduce participation during sharp V-shaped reversals after volatility increases. The efficiency metric is a practical proxy for trend straightness and can misclassify certain price paths.
REFERENCES
Moskowitz, T. J., Ooi, Y. H., and Pedersen, L. H. (2012). Time series momentum. Journal of Financial Economics, 104(2), 228-250.
Harvey, C. R., Rattray, S., Sinclair, A., and Van Hemert, O. (2018). The impact of volatility targeting. Journal of Portfolio Management, 45(1), 14-33.
Hurst, B., Ooi, Y. H., and Pedersen, L. H. (2017). A century of evidence on trend-following investing. Journal of Portfolio Management, 44(1), 15-29.
DISCLAIMER
Educational and informational purposes only. Not financial advice. Trading involves risk. Past performance is not indicative of future results.
ICT Kill Zones PanelICT Kill Zones Panel - Clean & Simple Trading Sessions Indicator
A simple, objective indicator to identify ICT Kill Zones with real-time status and smart visual highlighting based on New York timezone.
WHAT MAKES IT DIFFERENT:
Traditional indicators clutter charts with dozens of colored boxes from past sessions. This tool provides a clean alternative:
- Real-time information panel showing current active session
- Smart dual-transparency painting: ACTIVE session displays stronger (more visible), historical sessions display softer (less clutter)
- Accurate session timing: Only shows active when session is actually happening
- Mobile-optimized size for phone trading
- Professional interface that doesn't interfere with price action
FEATURES:
- Real-Time Detection: Panel uses actual NYC time (timenow) to show which session is active NOW
- Precise Timing: Sessions activate ONLY during their specific time windows - all zones show inactive outside trading hours
- Smart Visual System: Currently active session has stronger background color, past sessions are softer
- Color Synchronization: Active session color in panel matches chart background color automatically
- Clean Highlighting: Optional background painting with adjustable transparency levels
- Full Customization: 9 panel positions, 4 sizes (Mobile/Small/Normal/Large), fully customizable colors
- All Sessions: Asian (20:00-01:00), London (02:00-05:00), NY AM (08:00-11:00), London Close (10:00-12:00), NY PM (13:00-16:00)
KILL ZONE SCHEDULE (NYC TIME):
1. Asian: 20:00 - 01:00 (5 hours)
2. INACTIVE: 01:00 - 02:00
3. London: 02:00 - 05:00 (3 hours)
4. INACTIVE: 05:00 - 08:00
5. NY AM: 08:00 - 11:00 (3 hours) - overlaps with London Close
6. London Close: 10:00 - 12:00 (2 hours) - overlaps with NY AM
7. INACTIVE: 12:00 - 13:00
8. NY PM: 13:00 - 16:00 (3 hours)
9. INACTIVE: 16:00 - 20:00
During INACTIVE periods, all sessions show as inactive in the panel.
COLOR SYSTEM:
ALL COLORS ARE FULLY CUSTOMIZABLE:
- Each Kill Zone has its own color setting (Asian, London, NY AM, London Close, NY PM)
- Default colors shown in screenshots are just examples
- Active session in panel: displays with its assigned color (e.g., green for NY AM by default)
- Same color appears on chart background with adjustable transparency
- Inactive sessions in panel: display with gray (also customizable)
- Panel background and text colors: fully customizable
- Choose colors that match your chart theme
The green color shown for active sessions in examples is the DEFAULT color for NY AM - you can change it to any color you prefer.
TRANSPARENCY SYSTEM EXPLAINED:
ACTIVE SESSION (happening right now):
- Default 70% transparency = STRONGER/MORE VISIBLE background
- Instantly shows which Kill Zone is unfolding
- Panel row highlights with the session's assigned color
- Chart background displays same color stronger
HISTORICAL SESSIONS (already passed):
- Default 90% transparency = SOFTER/LESS VISIBLE background
- Provides context without visual clutter
- Panel rows show gray (inactive color)
- Both transparency levels fully adjustable in settings
MOBILE OPTIMIZED:
Select "Mobile" panel size for optimal viewing on phone screens - compact layout perfect for smaller displays.
REPAINTING BEHAVIOR:
Panel Status & Colors: Update in real-time as sessions change - panel color switches to match the new active session (intentional for current awareness)
Active Session Highlighting: Adjusts in real-time to show current session stronger on chart
Historical Background Colors: Do NOT repaint - accurately mark when sessions occurred
Session Activation: Sessions activate and deactivate precisely at their scheduled times
CUSTOMIZATION:
- Panel: 9 positions, 4 sizes including Mobile
- Colors: Individual customizable color for each Kill Zone
- Panel Colors: Customizable background, text, and inactive zone colors
- Transparency: Separate controls for active (default 70%) and historical (default 90%) sessions
- Toggle: Show/hide individual zones
- Chart Painting: On/off
HOW TO USE:
1. Add to chart - panel appears top-right
2. Active session displays with its assigned color in panel and stronger on chart
3. Panel shows all zones as inactive during non-trading hours (accurate timing)
4. Panel color automatically changes when new session begins
5. Adjust all colors in settings to match your preferences
6. Adjust transparency settings for optimal visibility
7. Use "Mobile" size for phone trading
BEST FOR:
- ICT traders timing entries during high-liquidity periods
- Smart money concepts (FVG, Order Blocks, Liquidity)
- Traders who want clean charts with essential information
- Traders needing accurate session timing without false signals
- Mobile traders needing compact, clear displays
- Traders who want to customize colors to match their chart theme
TECHNICAL:
- Works on all timeframes
- Built with Pine Script v6
- NYC timezone with automatic DST adjustment
- Precise hour-based session detection
- Lightweight and optimized
- Open source
FEEDBACK WELCOME:
All comments, critiques, and suggestions are welcome! Your input helps improve this tool for the trading community.
Created by ivrank13 for traders who value simplicity, accuracy, and clean charts.
© 2026 ivrank13. All Rights Reserved.
#ICT #KillZones #SmartMoney #ForexSessions #CleanCharts #MobileTrading #CustomColors #AccurateTiming
bezgincan_the power of3( VVM)Universal Alpha Engine: The Power of 3 (VVM) Description: The market is not just about price. You need to see the "fuel" behind the price. Unlike traditional indicators, Universal Alpha Engine combines three different dimensions in a mathematical synthesis: Momentum: Measures the speed of price change using ROC. Fuel (Volume): Checks whether money is actually flowing in or out through Money Flow Index (MFI) integration.
Pressure (Volatility): The standard deviation coefficient distinguishes whether the movement is "real" or "noise." Unique Features: Volatility Filter: If volatility is low (market is flat), the oscillator narrows, protecting you from false signals. Color-Coded Histogram: You can see not only the direction but also whether the momentum is increasing or decreasing from the color tones.
Alpha Signals: Triangles below the histogram indicate reversal signals in extreme regions. Usage Recommendation: Green triangles below the zero line represent the start of a voluminous and strong recovery. Dark red areas above the 15 level are "fatigue" zones; profit taking may be necessary.
Flow State Hours🧠Whattt… like you’re really trading without checking the session?
🤔 Let me guess… you’re getting wicked out, then your move plays out?
🔑Why is Price moving from that level?
⏳ Patience is key: wait your turn, wait for alignment
🚀 Session opens are critical—don’t take them lightly!
📈 Asia Session Midline is slept on....
💡Try it out! Will make your trading much easier!
Candle Numbers (last N, no bubble)
Candle Numbers (last N, no bubble) is a lightweight utility indicator that labels candles with sequential numbers to make chart analysis and discussion easier (e.g., “candle 213”, “the breakout candle”, “the pivot”). It is designed for clarity and performance: labels are text-only (no background bubble) and are drawn only for the last N bars.
What it does
Numbers the last N candles on the chart (a sliding window near the most recent bar).
Counting starts at the left edge of that window:
the leftmost bar in the window is 1
the most recent bar in the window is N (or fewer if you use stepping / limits).
Allows numbering every Nth bar to keep the chart clean.
Places numbers below each candle, with a configurable vertical offset measured in ticks.
Inputs
Bars to number (last N) (barsWindow)
Size of the numbered window (default 200).
Number every N bars (step)
1 = every bar, 2 = every second bar, 5 = every fifth bar, etc.
Text color (txtColor)
Text size (txtSizeIn)
tiny / small / normal / large
Vertical offset (ticks) (offsetTick)
Moves the label down by offsetTick * syminfo.mintick. You can use large values if needed.
Max numbers to plot (maxMarks)
Extra safeguard to control label count and performance.
How it works (implementation notes)
Labels are drawn only when barstate.islast is true (updates on the latest bar).
Previously created labels are deleted and re-created each update to avoid clutter.
Uses max_labels_count=500 plus maxMarks to stay within TradingView label limits.
Notes
This is not a trading signal indicator. It’s a chart annotation tool for analysis and manual backtesting.
Tanh Clamped Momentum Oscillator [Alpha Extract]A sophisticated momentum measurement system that combines dual EMA trend analysis with volatility-weighted pressure calculations, applying hyperbolic tangent normalization for bounded oscillator output with adaptive signal generation. Utilizing ATR-based volatility regime detection and candle pressure metrics, this indicator delivers institutional-grade momentum assessment with multi-tiered band structure and pulse-based envelope visualization. The system's tanh clamping methodology prevents extreme outliers while maintaining sensitivity to genuine momentum shifts, combined with histogram divergence detection and comprehensive alert framework for high-probability reversal and continuation signals.
🔶 Advanced Dual-Component Momentum Engine
Implements hybrid calculation combining EMA trend differential with candle pressure analysis, weighted by volatility regime assessment for context-aware momentum measurement. The system calculates fast and slow EMA difference normalized by ATR, measures intrabar pressure as close-open relative to range, applies volatility-based weighting between trend and pressure components, and produces composite raw momentum capturing both directional bias and internal candle dynamics.
// Core Momentum Framework
EMA_Fast = ta.ema(src, Fast_Length)
EMA_Slow = ta.ema(src, Slow_Length)
Trend = EMA_Fast - EMA_Slow
// Volatility Regime Detection
ATR_Short = ta.atr(ATR_Length)
ATR_Long = ta.atr(ATR_Length * 2)
Vol_Ratio = ATR_Short / ATR_Long
Vol_Weight = clamp((Vol_Ratio - 0.5) / 1.0, 0, 1)
// Pressure Component
Pressure = (close - open) / (high - low)
// Composite Momentum
Raw = Trend_Normalized * Vol_Weight + Pressure_Scaled * (1 - Vol_Weight)
🔶 Hyperbolic Tangent Normalization Framework
Features sophisticated tanh transformation that clamps raw momentum into bounded range while preserving proportional sensitivity across varying market conditions. The system applies safe exponential calculations with input capping to prevent overflow, computes hyperbolic tangent to compress extreme values while maintaining linearity near zero, and scales output by configurable factor creating oscillator with enhanced dynamic range and reduced outlier distortion.
// Tanh Clamping Logic
tanh(x) =>
x_clamped = clamp(x, -5.0, 5.0)
e = exp(2.0 * x_clamped)
(e - 1.0) / (e + 1.0)
Oscillator = tanh(Smoothed_Momentum / Clamp_Factor) * Scale
🔶 Volatility Regime Weighting System
Implements intelligent volatility assessment comparing short-term and long-term ATR to determine market regime, dynamically adjusting weight between trend and pressure components. The system calculates ATR ratio, normalizes to 0-1 range, and uses this weight factor to emphasize trend component during high-volatility regimes and pressure component during low-volatility consolidations, creating adaptive momentum sensitive to market microstructure.
🔶 Multi-Tiered Band Architecture
Provides comprehensive threshold structure with soft, hard, and maximum bands marking progressive momentum extremes for graduated overbought/oversold assessment. The system establishes configurable levels at soft zones (initial caution), hard zones (strong extreme), and maximum zones (critical overextension) with visual differentiation through line styles and background highlighting, enabling nuanced interpretation beyond binary extreme detection.
🔶 Pulse Envelope Visualization
Features dynamic envelope bands calculated from exponential moving average of absolute oscillator value, creating adaptive boundary that expands during momentum acceleration and contracts during deceleration. The system applies configurable length and width multiplier to pulse calculation, fills area between positive and negative pulse bounds with gradient coloring matching oscillator direction, providing visual context for momentum magnitude relative to recent activity.
🔶 Signal Line Integration Framework
Implements dual-mode signal line supporting both EMA and SMA smoothing of primary oscillator for crossover-based swing detection. The system calculates configurable-length moving average, generates histogram differential between oscillator and signal, applies additional smoothing to histogram for noise reduction, and uses crossovers/crossunders as momentum swing indicators distinguishing bullish and bearish momentum shifts.
🔶 Histogram Divergence Display
Creates column-style histogram visualization showing oscillator-signal differential with intensity-based coloring reflecting momentum acceleration or deceleration. The system plots histogram bars in bright colors when expanding (accelerating momentum) and faded colors when contracting (decelerating momentum), enabling instant visual identification of momentum divergences and convergences without numerical analysis.
🔶 Advanced Reversion Signal Logic
Generates overbought/oversold signals requiring both signal line crossover and extreme threshold breach for high-conviction reversal identification. The system triggers oversold when oscillator crosses above signal while below negative reversion level, triggers overbought when crossing below signal while above positive reversion level, and plots small circle markers at signal locations for clear visual confirmation of setup conditions.
🔶 Comprehensive Alert Framework
Provides six distinct alert conditions covering overbought/oversold reversions, midline trend changes, and oscillator-signal swings with configurable notification preferences. The system includes alerts for extreme reversions (OB/OS), zero-line crossovers (trend changes), and signal line crossovers (momentum swings), enabling traders to monitor critical oscillator events across multiple signal types without constant chart observation.
🔶 Adaptive Bar Coloring System
Implements four coloring modes including midline cross (trend direction), extremities (threshold breach), reversions (OB/OS signals), and slope (oscillator vs signal) for customizable visual integration. The system applies selected color scheme to candles providing chart-level momentum feedback, with option to disable coloring for minimal visual interference while maintaining oscillator pane analysis.
🔶 Performance Optimization Architecture
Utilizes efficient tanh calculation with safe clamping, streamlined EMA computations, and optimized ATR ratio processing for smooth real-time updates. The system includes intelligent null handling, minimal recalculation overhead through smart smoothing application, and configurable display toggles allowing users to disable unused visual elements for enhanced performance during extended historical analysis.
🔶 Why Choose Tanh-Clamped Momentum Oscillator ?
This indicator delivers sophisticated momentum analysis through hybrid trend-pressure calculation with volatility-adaptive weighting and hyperbolic tangent normalization. Unlike traditional momentum oscillators susceptible to extreme outlier distortion, the tanh clamping ensures bounded output while preserving sensitivity to genuine momentum shifts. The system's dual-component architecture combining directional trend with intrabar pressure, weighted by volatility regime assessment, creates context-aware momentum measurement that adapts to market microstructure. The multi-tiered band structure, pulse envelope visualization, and comprehensive signal framework make it essential for traders seeking nuanced momentum analysis with graduated extreme detection and high-probability reversal signals across cryptocurrency, forex, and equity markets.
Dual Red Volume Reversal IndicatorThis indicator works by watching volume patterns
first a small green volume
followed by 2 large red volumes
followed by a small green volume
indicates potential reversal
ATR ZLEMA [QuantAlgo]🟢 Overview
The ATR ZLEMA indicator identifies trend direction and reversal points using a Zero Lag Exponential Moving Average (ZLEMA) combined with volatility-adjusted dynamic trailing stops. It eliminates the inherent lag of traditional moving averages while incorporating Average True Range (ATR) volatility measurement to create adaptive support and resistance levels that automatically adjust to market conditions, with optional noise filtering to reduce whipsaws in choppy markets, helping traders and investors identify trend changes, maintain positions during trending markets, and exit when momentum shifts across multiple timeframes and asset classes.
🟢 How It Works
The indicator's core methodology lies in its zero-lag trend detection system combined with volatility-adaptive trailing stops, where the ZLEMA eliminates moving average lag while ATR-based bands provide dynamic support and resistance levels:
lag = math.floor((zlemaLength - 1) / 2)
rawZlema = ta.ema(source + (source - source ), zlemaLength)
The Zero Lag EMA calculation uses lag reduction through data compensation, adding the difference between current price and lagged price to eliminate the delay inherent in traditional exponential moving averages, providing faster response to trend changes while maintaining smoothness.
The script incorporates an optional ATR-based noise filter that prevents the ZLEMA from updating during insignificant price movements, helping to reduce false signals in choppy, range-bound markets:
if enableNoiseFilter
noiseThreshold = atr * noiseFilter
priceChange = math.abs(rawZlema - zlema)
if priceChange > noiseThreshold
zlema := rawZlema
First, the indicator calculates the Average True Range to measure current market volatility, then applies a user-defined multiplier to determine the distance of the trailing stop from the ZLEMA:
atr = ta.rma(ta.tr(true), atrLength)
atrBand = atr * atrMultiplier
Next, dynamic trend detection occurs through a state-based system where the indicator tracks whether the ZLEMA is above or below the ATR trailing line, automatically adjusting the trailing stop position:
if trend == 1
if zlema < zlemaATR
trend := -1
zlemaATR := zlema + atrBand
else
zlemaATR := math.max(zlemaATR, zlema - atrBand)
The ATR trailing line acts as a volatility-adjusted stop that follows the ZLEMA during trends but never moves against the trend direction. It ratchets upward with the ZLEMA in uptrends and ratchets downward in downtrends, creating a protective barrier that adapts to market volatility.
Finally, trend reversal signals are generated when the ZLEMA crosses the ATR trailing line, indicating a shift in market momentum:
bullSignal = trend == 1 and trend == -1
bearSignal = trend == -1 and trend == 1
This creates a volatility-adaptive trend-following system that combines ZLEMA with dynamic support/resistance levels and optional noise filtering, providing traders with responsive directional signals and automatic stop-loss levels that adjust to both price momentum and market volatility conditions.
🟢 Signal Interpretation
▶ Bullish Trend (Green): ZLEMA trading above ATR trailing line with indicator showing bullish color, indicating established upward momentum with zero-lag confirmation = Long/Buy opportunities
▶ Bearish Trend (Red): ZLEMA trading below ATR trailing line with indicator showing bearish color, indicating established downward momentum with zero-lag confirmation = Short/Sell opportunities
▶ ATR Trailing Line as Dynamic Support: In uptrends, the trailing line acts as volatility-adjusted support level that rises with ZLEMA, never declining = Use as potential stop-loss reference for long positions = ZLEMA holding above indicates trend strength and momentum continuation
▶ ATR Trailing Line as Dynamic Resistance: In downtrends, the trailing line acts as volatility-adjusted resistance level that falls with ZLEMA, never rising = Use as potential stop-loss reference for short positions = ZLEMA holding below indicates trend weakness and momentum continuation
🟢 Features
▶ Preconfigured Presets: Three optimized parameter sets for different trading styles and market conditions. "Default" provides balanced configuration suitable for swing trading on daily and 4-hour charts with standard ZLEMA and ATR periods, moderate multiplier, and moderate noise filtering that works across most market conditions. "Fast Response" delivers aggressive configuration designed for intraday trading and scalping on 5-minute to 1-hour charts with shorter ZLEMA period for quick trend detection, reduced ATR period for rapid volatility adaptation, tighter multiplier for early entries/exits, and minimal noise filtering for maximum responsiveness. This is ideal for active traders monitoring positions closely but expect more frequent signals and potential whipsaws in choppy conditions. "Smooth Trend" focuses on conservative configuration for position trading and long-term trend following on daily to weekly charts with extended ZLEMA period for smoother trend identification, longer ATR period for stable volatility measurement, wide multiplier to filter minor corrections, and aggressive noise filtering to ensure only strong sustained trends trigger signals. This is best for patient traders focused on major trend moves with fewer reversals.
▶ Built-in Alerts: Three alert conditions enable comprehensive automated monitoring of trend changes and zero-lag momentum shifts. "Bullish Trend" triggers when the ZLEMA crosses above the ATR trailing line and trend state changes from bearish to bullish, signaling potential long entry opportunities with lag-eliminated confirmation. "Bearish Trend" activates when the ZLEMA crosses below the ATR trailing line and trend state changes from bullish to bearish, signaling potential short entry or long exit points with immediate momentum detection. "Any Trend Change" provides a combined alert for any trend reversal regardless of direction, allowing traders to be notified of all zero-lag momentum shifts without setting up separate alerts. These notifications enable traders to capitalize on trend changes and protect positions without continuous chart monitoring, leveraging the indicator's zero-lag technology for faster trend change alerts.
▶ Color Customization: Six visual themes (Classic, Aqua, Cosmic, Ember, Neon, plus Custom) accommodate different chart backgrounds and visual preferences, ensuring optimal contrast for identifying bullish versus bearish trends across various trading environments. The adjustable cloud fill transparency control (0-100%) allows fine-tuning of the gradient area prominence between the ATR trailing line and ZLEMA, with higher transparency values (70-95) creating subtle background context without overwhelming the chart while lower values (20-40) produce bold, prominent trend zone emphasis for instant recognition. Optional bar coloring with adjustable transparency (0-100%) extends the trend color directly to the price bars themselves based on ZLEMA trend state, providing immediate visual reinforcement of current trend direction without requiring reference to the indicator lines.
RSI Momentum & Trend Suite - O59 Elite QuantRSI Momentum & Trend Suite – O59 Elite Quant
Professional Market Structure & Momentum Analysis Tool
RSI Momentum & Trend Suite – O59 Elite Quant is a comprehensive technical analysis indicator designed to help traders better understand market momentum, trend structure, price reactions, and key support & resistance zones directly on the chart.
This indicator combines RSI-based momentum analysis, dynamic bar coloring, price action signals, and automatic trend & support/resistance detection into a single, clean visual framework.
🔹 Momentum & Bar Coloring Logic
The indicator includes a custom RSI momentum engine that evaluates short-term price changes and momentum strength.
Candles are automatically colored when momentum reaches critical zones:
Above 70 → Strong bullish momentum
Below 30 → Strong bearish momentum
This candle coloring helps traders instantly recognize momentum extremes without switching to a separate RSI pane.
🔺 Buy & Sell Triangle Signals
The script generates triangle-based buy and sell signals based on a combination of:
RSI oversold / overbought conditions
Short-term price action behavior
Candle structure and confirmation logic
These signals are intended to highlight potential reaction zones, not to predict the market.
They work best when used together with trend direction and support/resistance levels.
📈 Automatic Trend Detection
The indicator automatically identifies ascending and descending trend structures using pivot-based swing analysis.
Trendlines are drawn dynamically based on higher lows and lower highs
Broken trendlines are automatically removed to keep the chart clean
Both bullish and bearish trends are visually distinguished
This allows traders to quickly assess whether the market is trending or losing structure.
🟦 Dynamic Support & Resistance Levels
Key support and resistance levels are detected using recent pivot points:
Levels extend forward in real time
Broken levels are removed automatically
Helps identify potential reaction, rejection, and liquidity zones
These levels are designed to adapt continuously as market structure evolves.
🧾 Information Table & Visual Themes
A customizable information table is displayed on the chart, showing:
Indicator name
Current symbol
Active timeframe
Author branding
Users can choose between multiple visual themes, allowing better readability and personal preference while maintaining a professional appearance.
⚠️ Important Notes & Risk Disclaimer
This indicator is designed as a technical analysis support tool only.
It does not provide financial advice
Signals and visual elements should not be used alone
Always confirm signals with your own strategy, risk management, and market context
⚠️ Special caution is advised during:
Low-volume sessions
Weekend price action
High-impact news events
Thin liquidity hours
Market conditions during these periods may produce false signals or reduced reliability.
📌 Final Disclaimer
This indicator is for educational and analytical purposes only.
It is not investment advice.
All trading decisions remain the sole responsibility of the use
Relative Strength Leadership Engine v2.0Relative Strength Leadership Engine v2.0OverviewThe Relative Strength Leadership Engine v2.0 is a context-first diagnostic tool designed to identify true market leadership. Instead of simple ratio lines, this script employs a multi-layered scoring model to determine if a symbol is truly outperforming its benchmark (e.g., SPY) or simply riding market beta.The Problem It SolvesMany relative strength indicators fail to distinguish between idiosyncratic leadership and market correlation. A stock might look strong simply because it is a high-beta names moving in lockstep with a rising index. This engine uses Pearson Correlation Filtering and Volatility Normalization to decouple these factors.How It Works (The Math)To ensure full transparency for the TradingView community, the "Leadership Score" (0–100) is calculated based on four proprietary technical pillars:Baseline Alignment (30 pts): Measures if the $Price / Benchmark$ ratio is above its 21-period EMA.Volatility-Normalized Momentum (25 pts): We calculate a Z-score of the RS slope and divide it by the asset's ATR % of price. This ensures momentum is measured by "clean" price action rather than high-beta volatility spikes.Beta-Decoupling (20 pts): Using ta.correlation, the script penalizes "Market Huggers." Points are awarded when a stock shows strength independent of the benchmark's immediate fluctuations.Freshness & Highs (25 pts): Points are awarded for proximity to 252-day relative strength highs, identifying stocks entering a "Power Zone" of leadership.Interpreting the StatesThe dashboard in the bottom-right identifies three distinct permission states:ENGAGE (Score 80+): Full leadership permission. The asset is outperforming with idiosyncratic strength and clean momentum (See FDX example in the gallery).OBSERVE (Score 50–79): Leadership is present but aging or overly correlated to the market (See MU example in the gallery).STAND DOWN (Score <50): Leadership is broken; the asset is a relative laggard (See CBLL example in the gallery).Technical FeaturesMulti-Timeframe Validation: Optional Weekly/Monthly RS confirmation to filter out "noise."Benchmark Timing Filter: A built-in gate that checks if the broader market (Benchmark) is in a "Risk-Off" regime.Non-Repainting: All security calls use lookahead=barmerge.lookahead_off to ensure historical accuracy.Customizable UI: Toggle the dashboard on/off via the "Style" menu for a cleaner workspace.DisclaimerThis script is an informational diagnostic tool and does not generate trade signals, entries, or exits. Educational use only.






















