OPEN-SOURCE SCRIPT
next day level

Here's a description you can use to publish your Pine Script:
---
**Future CPR with Next Day Extension**
This indicator calculates and displays the Central Pivot Range (CPR) for different timeframes (Daily, Weekly, Monthly, and Yearly). It also extends the CPR for the next trading session, helping traders plan their strategies in advance.
### 🔹 **Features:**
✅ Calculates CPR using today's (or previous period's) High, Low, and Close
✅ Displays next day's CPR for better planning
✅ Supports multiple timeframes: Daily, Weekly, Monthly, and Yearly
✅ Option to display historical CPR levels
✅ Plots resistance (R1, R2, R3) and support (S1, S2, S3) levels
✅ Customizable colors and display settings
### 📌 **Usage:**
- Use this indicator for pre-market analysis to identify key pivot levels for the next session.
- Helps in understanding price action around crucial levels like pivot points, supports, and resistances.
- Works well for both intraday and swing traders.
🔹 **Tip:** To avoid real-time recalculations, use this indicator only after the current trading session closes.
🚀 **Enhance your trading with better preparation using Future CPR with Next Day Extension!**
---
**Future CPR with Next Day Extension**
This indicator calculates and displays the Central Pivot Range (CPR) for different timeframes (Daily, Weekly, Monthly, and Yearly). It also extends the CPR for the next trading session, helping traders plan their strategies in advance.
### 🔹 **Features:**
✅ Calculates CPR using today's (or previous period's) High, Low, and Close
✅ Displays next day's CPR for better planning
✅ Supports multiple timeframes: Daily, Weekly, Monthly, and Yearly
✅ Option to display historical CPR levels
✅ Plots resistance (R1, R2, R3) and support (S1, S2, S3) levels
✅ Customizable colors and display settings
### 📌 **Usage:**
- Use this indicator for pre-market analysis to identify key pivot levels for the next session.
- Helps in understanding price action around crucial levels like pivot points, supports, and resistances.
- Works well for both intraday and swing traders.
🔹 **Tip:** To avoid real-time recalculations, use this indicator only after the current trading session closes.
🚀 **Enhance your trading with better preparation using Future CPR with Next Day Extension!**
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.