OPEN-SOURCE SCRIPT

Modified - Pivot Points Standard with Daily H/L/C

97
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.

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.