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).
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.