OPEN-SOURCE SCRIPT
Cập nhật jifm [Non-Repainting]

# Professional Next Day CPR & Pivot Levels Indicator
A powerful and professional TradingView indicator designed for Intraday Traders, Scalpers, Swing Traders, Futures & Options Traders.
This indicator automatically calculates and plots NEXT DAY CPR (Central Pivot Range) and Traditional Pivot Levels immediately after the market closes using the previous day's OHLC data.
The levels are projected in advance for the upcoming trading session, helping traders prepare high-probability trading plans before market open.
━━━━━━━━━━━━━━━━━━
FEATURES INCLUDED
━━━━━━━━━━━━━━━━━━
✅ Automatic Next Day CPR Calculation
• Pivot (P)
• TC (Top Central)
• BC (Bottom Central)
✅ Traditional Pivot Levels
• R1, R2, R3
• S1, S2, S3
✅ Previous Day Levels
• Previous Day High
• Previous Day Low
✅ Professional Trading Features
• Narrow CPR Detection
• Wide CPR Detection
• Bullish/Bearish Bias
• Non-Repainting Logic
• Intraday Optimized
• Session Level Extension
• Professional Labels & Colors
✅ Alert Conditions
• Price crossing CPR
• Price crossing Pivot
• Breakout above R1/R2
• Breakdown below S1/S2
━━━━━━━━━━━━━━━━━━
CPR FORMULA
━━━━━━━━━━━━━━━━━━
Pivot (P) = (High + Low + Close) / 3
BC = (High + Low) / 2
TC = (Pivot - BC) + Pivot
━━━━━━━━━━━━━━━━━━
TRADITIONAL PIVOT FORMULA
━━━━━━━━━━━━━━━━━━
R1 = (2 × Pivot) − Low
S1 = (2 × Pivot) − High
R2 = Pivot + (High − Low)
S2 = Pivot − (High − Low)
R3 = High + 2 × (Pivot − Low)
S3 = Low − 2 × (High − Pivot)
━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━
🔹 Narrow CPR
A Narrow CPR indicates potential expansion in volatility and trending moves.
Best for:
• Breakout Trading
• Momentum Trading
• Option Buying
• Scalping
🔹 Wide CPR
A Wide CPR indicates potential sideways or range-bound movement.
Best for:
• Range Trading
• Mean Reversion
• Option Selling
━━━━━━━━━━━━━━━━━━
BEST TIMEFRAMES
━━━━━━━━━━━━━━━━━━
• 1 Min → Scalping
• 5 Min → Intraday
• 15 Min → Safer Entries
• 30 Min → Swing Intraday
• 1 Hour → Positional Intraday
━━━━━━━━━━━━━━━━━━
WHO CAN USE THIS INDICATOR
━━━━━━━━━━━━━━━━━━
✔ Intraday Traders
✔ Option Traders
✔ Futures Traders
✔ Scalpers
✔ Swing Traders
✔ Professional Traders
━━━━━━━━━━━━━━━━━━
KEY BENEFITS
━━━━━━━━━━━━━━━━━━
• Plan trades before market opens
• Identify support & resistance zones
• Spot breakout opportunities
• Improve risk-reward setups
• Enhance intraday decision making
• Professional-grade CPR analysis
━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━
This indicator is created for educational and analytical purposes only. Please use proper risk management before taking any trades. Trading in financial markets involves risk.
A powerful and professional TradingView indicator designed for Intraday Traders, Scalpers, Swing Traders, Futures & Options Traders.
This indicator automatically calculates and plots NEXT DAY CPR (Central Pivot Range) and Traditional Pivot Levels immediately after the market closes using the previous day's OHLC data.
The levels are projected in advance for the upcoming trading session, helping traders prepare high-probability trading plans before market open.
━━━━━━━━━━━━━━━━━━
FEATURES INCLUDED
━━━━━━━━━━━━━━━━━━
✅ Automatic Next Day CPR Calculation
• Pivot (P)
• TC (Top Central)
• BC (Bottom Central)
✅ Traditional Pivot Levels
• R1, R2, R3
• S1, S2, S3
✅ Previous Day Levels
• Previous Day High
• Previous Day Low
✅ Professional Trading Features
• Narrow CPR Detection
• Wide CPR Detection
• Bullish/Bearish Bias
• Non-Repainting Logic
• Intraday Optimized
• Session Level Extension
• Professional Labels & Colors
✅ Alert Conditions
• Price crossing CPR
• Price crossing Pivot
• Breakout above R1/R2
• Breakdown below S1/S2
━━━━━━━━━━━━━━━━━━
CPR FORMULA
━━━━━━━━━━━━━━━━━━
Pivot (P) = (High + Low + Close) / 3
BC = (High + Low) / 2
TC = (Pivot - BC) + Pivot
━━━━━━━━━━━━━━━━━━
TRADITIONAL PIVOT FORMULA
━━━━━━━━━━━━━━━━━━
R1 = (2 × Pivot) − Low
S1 = (2 × Pivot) − High
R2 = Pivot + (High − Low)
S2 = Pivot − (High − Low)
R3 = High + 2 × (Pivot − Low)
S3 = Low − 2 × (High − Pivot)
━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━
🔹 Narrow CPR
A Narrow CPR indicates potential expansion in volatility and trending moves.
Best for:
• Breakout Trading
• Momentum Trading
• Option Buying
• Scalping
🔹 Wide CPR
A Wide CPR indicates potential sideways or range-bound movement.
Best for:
• Range Trading
• Mean Reversion
• Option Selling
━━━━━━━━━━━━━━━━━━
BEST TIMEFRAMES
━━━━━━━━━━━━━━━━━━
• 1 Min → Scalping
• 5 Min → Intraday
• 15 Min → Safer Entries
• 30 Min → Swing Intraday
• 1 Hour → Positional Intraday
━━━━━━━━━━━━━━━━━━
WHO CAN USE THIS INDICATOR
━━━━━━━━━━━━━━━━━━
✔ Intraday Traders
✔ Option Traders
✔ Futures Traders
✔ Scalpers
✔ Swing Traders
✔ Professional Traders
━━━━━━━━━━━━━━━━━━
KEY BENEFITS
━━━━━━━━━━━━━━━━━━
• Plan trades before market opens
• Identify support & resistance zones
• Spot breakout opportunities
• Improve risk-reward setups
• Enhance intraday decision making
• Professional-grade CPR analysis
━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━
This indicator is created for educational and analytical purposes only. Please use proper risk management before taking any trades. Trading in financial markets involves risk.
Phát hành các Ghi chú
# Professional Next Day CPR & Pivot Levels IndicatorA powerful and professional TradingView indicator designed for Intraday Traders, Scalpers, Swing Traders, Futures & Options Traders.
This indicator automatically calculates and plots NEXT DAY CPR (Central Pivot Range) and Traditional Pivot Levels immediately after the market closes using the previous day's OHLC data.
The levels are projected in advance for the upcoming trading session, helping traders prepare high-probability trading plans before market open.
━━━━━━━━━━━━━━━━━━
FEATURES INCLUDED
━━━━━━━━━━━━━━━━━━
✅ Automatic Next Day CPR Calculation
• Pivot (P)
• TC (Top Central)
• BC (Bottom Central)
✅ Traditional Pivot Levels
• R1, R2, R3
• S1, S2, S3
✅ Previous Day Levels
• Previous Day High
• Previous Day Low
✅ Professional Trading Features
• Narrow CPR Detection
• Wide CPR Detection
• Bullish/Bearish Bias
• Non-Repainting Logic
• Intraday Optimized
• Session Level Extension
• Professional Labels & Colors
✅ Alert Conditions
• Price crossing CPR
• Price crossing Pivot
• Breakout above R1/R2
• Breakdown below S1/S2
━━━━━━━━━━━━━━━━━━
CPR FORMULA
━━━━━━━━━━━━━━━━━━
Pivot (P) = (High + Low + Close) / 3
BC = (High + Low) / 2
TC = (Pivot - BC) + Pivot
━━━━━━━━━━━━━━━━━━
TRADITIONAL PIVOT FORMULA
━━━━━━━━━━━━━━━━━━
R1 = (2 × Pivot) − Low
S1 = (2 × Pivot) − High
R2 = Pivot + (High − Low)
S2 = Pivot − (High − Low)
R3 = High + 2 × (Pivot − Low)
S3 = Low − 2 × (High − Pivot)
━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━
🔹 Narrow CPR
A Narrow CPR indicates potential expansion in volatility and trending moves.
Best for:
• Breakout Trading
• Momentum Trading
• Option Buying
• Scalping
🔹 Wide CPR
A Wide CPR indicates potential sideways or range-bound movement.
Best for:
• Range Trading
• Mean Reversion
• Option Selling
━━━━━━━━━━━━━━━━━━
BEST TIMEFRAMES
━━━━━━━━━━━━━━━━━━
• 1 Min → Scalping
• 5 Min → Intraday
• 15 Min → Safer Entries
• 30 Min → Swing Intraday
• 1 Hour → Positional Intraday
━━━━━━━━━━━━━━━━━━
WHO CAN USE THIS INDICATOR
━━━━━━━━━━━━━━━━━━
✔ Intraday Traders
✔ Option Traders
✔ Futures Traders
✔ Scalpers
✔ Swing Traders
✔ Professional Traders
━━━━━━━━━━━━━━━━━━
KEY BENEFITS
━━━━━━━━━━━━━━━━━━
• Plan trades before market opens
• Identify support & resistance zones
• Spot breakout opportunities
• Improve risk-reward setups
• Enhance intraday decision making
• Professional-grade CPR analysis
━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━
This indicator is created for educational and analytical purposes only. Please use proper risk management before taking any trades. Trading in financial markets involves risk.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.