OPEN-SOURCE SCRIPT
已更新 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.
版本注释
# 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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。