OPEN-SOURCE SCRIPT

Rolling Pivot Points

310
The "Rolling Pivot Points" indicator, built in Pine Script (version 6) for TradingView, overlays dynamic pivot levels on a price chart. It calculates a 24-hour lookback period (length = 1440 / (timeframe.in_seconds() / 60)) using the prior period’s high, low, and close to determine a Pivot Point (vPP) and three resistance (vR1, vR2, vR3) and support (vS1, vS2, vS3) levels. Plotted lines include vPP (yellow), vR1 (red), and vS1 (blue) in a cross style, with a customizable reset time (default: 8 AM) to refresh levels daily.

The indicator updates at the specified resetTime (minute = 0), otherwise retaining prior levels, making it ideal for intraday traders. The averageDays input (default: 5) is present but unclear in function. Suited for identifying key price zones, it adapts across timeframes, offering a concise, color-coded tool for technical analysis on TradingView.

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.