PROTECTED SOURCE SCRIPT
CPR + SR Breaks with OBV Divergence

Core Features
Central Pivot Range (CPR)
Plots daily pivot (CP), bottom central (BC), and top central (TC) levels.
Key for intraday support/resistance. Price reactions near these levels signal opportunities.
Support/Resistance Tools
S/R: Auto-detects swing highs/lows as dynamic support/resistance.
S/R Re-Test: Highlights retest zones with customizable aging/deletion rules.
CISD: Marks intraday structural levels (breakout points).
Trend Indicators
SuperTrend: Follows trend direction (green = uptrend, red = downtrend).
Moving Averages: Multiple EMAs/SMAs (e.g., 20, 50, 100, 200) for confluence.
VWAP: Volume-weighted average price for dynamic support/resistance.
Advanced MAs
SALMA: Adaptive moving average with volatility filter (colored by trend).
VIDYA: Smooth trend-following MA with liquidity zones.
OBV Divergence
Detects hidden divergences between price and On-Balance Volume (OBV):
Bullish Divergence: Price makes lower lows, OBV makes higher lows (green labels).
Bearish Divergence: Price makes higher highs, OBV makes lower highs (red labels).
Table at bottom-right shows divergence strength and frequency.
Trend Strength Table
Top-right table summarizes:
Trend direction (Bullish/Bearish/Sideways)
Strength (Strong/Weak)
EMA Crosses & ADX momentum
How to Trade
Breakouts:
Enter trades when price breaks S/R levels with high volume (blue/green arrows).
Confirm with CPR/TC (resistance) or CPR/BC (support) breaks.
Reversals:
Watch for OBV divergences at key S/R levels (CISD or CPR).
Combine with SuperTrend flip (e.g., green to red = sell signal).
Trend Confluence:
Trade in the direction of the trend table (e.g., "Strong Bull" + EMA cross up).
Use SALMA/VIDYA as dynamic support in uptrends (or resistance in downtrends).
Central Pivot Range (CPR)
Plots daily pivot (CP), bottom central (BC), and top central (TC) levels.
Key for intraday support/resistance. Price reactions near these levels signal opportunities.
Support/Resistance Tools
S/R: Auto-detects swing highs/lows as dynamic support/resistance.
S/R Re-Test: Highlights retest zones with customizable aging/deletion rules.
CISD: Marks intraday structural levels (breakout points).
Trend Indicators
SuperTrend: Follows trend direction (green = uptrend, red = downtrend).
Moving Averages: Multiple EMAs/SMAs (e.g., 20, 50, 100, 200) for confluence.
VWAP: Volume-weighted average price for dynamic support/resistance.
Advanced MAs
SALMA: Adaptive moving average with volatility filter (colored by trend).
VIDYA: Smooth trend-following MA with liquidity zones.
OBV Divergence
Detects hidden divergences between price and On-Balance Volume (OBV):
Bullish Divergence: Price makes lower lows, OBV makes higher lows (green labels).
Bearish Divergence: Price makes higher highs, OBV makes lower highs (red labels).
Table at bottom-right shows divergence strength and frequency.
Trend Strength Table
Top-right table summarizes:
Trend direction (Bullish/Bearish/Sideways)
Strength (Strong/Weak)
EMA Crosses & ADX momentum
How to Trade
Breakouts:
Enter trades when price breaks S/R levels with high volume (blue/green arrows).
Confirm with CPR/TC (resistance) or CPR/BC (support) breaks.
Reversals:
Watch for OBV divergences at key S/R levels (CISD or CPR).
Combine with SuperTrend flip (e.g., green to red = sell signal).
Trend Confluence:
Trade in the direction of the trend table (e.g., "Strong Bull" + EMA cross up).
Use SALMA/VIDYA as dynamic support in uptrends (or resistance in downtrends).
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。