Alpha CPR
What it does
φ Alpha CPR is a complete daily Central Pivot Range toolkit for intraday and swing charts. It builds the confirmed CPR from the previous completed daily candle — Pivot, TC and BC — then layers the context around it: width classification, historical CPR, pivot S/R, Fibonacci extensions, untouched (Virgin) CPR zones and a live projection of the next session.
WHAT IT DRAWS
• Daily CPR with optional filled band, adjustable colour, width and style
• Narrow / Medium / Wide width classification, percentile based on the last 126 CPRs
• Historical CPR for up to 500 sessions, with optional historical S/R and Fibonacci
• Pivot S/R: R1–R3 and S1–S3, current and historical
• CPR Fibonacci extensions: φ1 1.618, φ2 3.236, φ3 exhaustion 4.854
• Virgin CPR — zones price has not traded through since they formed
• Developing CPR — next-session projection with optional projected S/R and Fibonacci
CONTEXT ON THE CHART
• Volatility auto-detected: INDIAVIX, CBOE VIX or DVOL for crypto, with an ATR-based synthetic fallback and per-market thresholds
• ADX and DI momentum, optional trend-strength line, momentum bar colours
• Proximity filters and automatic label merging keep the chart readable
• Dashboard in 3 sizes and 6 positions: CPR relationship, width, price position, direction, volatility, RSI, ADX, nearest level
MARKETS
Auto-detects NSE / BSE, MCX, US, commodities, forex and crypto. One configuration works on Nifty, Bank Nifty, Crude, Gold, EURUSD or BTC.
Presents structure and context — not buy or sell signals. For educational use only; not investment advice.
HOW TO START
Add it to any intraday chart and keep Use Daily-Based Values enabled. Read the CPR width first, then price position against TC and BC, then the nearest level. Check Virgin CPR zones for untouched areas and the developing CPR for the next session.
How to use it
- Open the charts and go to Indicators › My scripts › Shared with me (or search the Community library) and press Add to chart.
- The code is protected by the author: the script runs on the chart with the source hidden.
- Invite-only: only members the author authorised can run it.
Version history
- v2 — 28 Nov, 07:08 am · compiler 0.3.70
- v1 — 28 Nov, 07:00 am · compiler 0.3.70