OPEN-SOURCE SCRIPT

The Multi-day Central Pivot Range

Updated
The indicator is a Multi-day CPR.

It shows CPR range as per yesterday's HLC and also CPR range for last n number of trading sessions.
For example: If you mention the value as two in Multi-day CPR (blue color) then it calculates the CPR using HLC of the last two trading sessions.

Also, the daily CPR is designed in such a way to highlight Virgin CPR (purple color) separately from the normal CPR(fuchsia color).
Release Notes
Now it also has "developing CPR", which shows the CPR based on today's HLC with intraday time-frame charts. It will be dynamic rather than static. It will be be useful to trail your stop loss.
Release Notes
Similar to developing CPR, we have multi-day developing CPR which shows the CPR based on high/lows of last n number of trading sessions with current candle's C in intraday time-frame charts.
Candlestick AnalysisCPRmultidaymultidaycprpivothighpivotlowPivot PointspivotpointshighlowpivotrangeSupport and Resistancevcprvirgincpr

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer