OPEN-SOURCE SCRIPT
Modified - Pivot Points Standard with Daily H/L/C

This indicator plots Pivot Points Standard with six calculation methods (Traditional, Fibonacci, Woodie, Classic, DM, Camarilla) and flexible anchors (Auto/D/W/M/Q/Y and multi-year). You can restrict pivots to the current day/week/month, choose daily-based data (uses higher-timeframe OHLC; futures use settlement close) or intraday aggregation, and independently style pivots versus previous-period lines with solid/dashed/dotted types and custom widths. Per-level colors are provided (PP/R/S), with R4/R5 and S4/S5 off by default, plus optional labels showing prices positioned left or right. It also draws the previous Day/Week/Month High, Low, and Close across the current period using completed higher-timeframe values (lookahead_off with [1]), ensuring they always reflect the prior session/period. Rendering is optimized by limiting historical pivot sets and auto-cleaning old lines for smooth performance on any timeframe.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.