OPEN-SOURCE SCRIPT

(JS) Multi-Time Frame Pivot Point Detector 2.0

Updated
So here's an updated version of my automatic Pivot Point detector.

If you don't like having a bunch of Pivots on your chart at once, or having to cycle through various resolutions to see different ones, this is for you!

What does this indicator do? It automatically detects the nearest daily, weekly, and monthly pivot points both above and below the current price and automatically plots them for you. It's really just as simple as that.

You select how far back you want it to plot with the "Pivot Point Look Back Period" option.

I also have transparency options for each type of pivot so its easy to find the opacity you prefer and save it as a default setting.

With "Turn Off Each Pivot Point On All Time Frames" turned on, as an example, if you were to uncheck "S1/R1" then it turns S1/R1 plots off across all 3 pivot resolutions. By default however, I have it set where you can pick and choose each one individually.

I also added the default "VWAP Periodic" script from TradingView in there with it (not in prior version). This works identical to the built in indicator (because it is identical).

Trading algorithms like to target pivot points and liquidity, so I figured they would pair together nicely for active trading.
Release Notes
Added "Decade" and "Century" VWAP options!
Release Notes
Updated the Decade and Century VWAP, and added the option for an All Time VWAP.

For the All Time VWAP you select Century and have the "Use All Time" option turned on.
Release Notes
Changed it slightly to add a Custom feature.

If you want your VWAP to be a custom amount of years, hit the custom option and enter the number in the field provided. If you leave the number at 0, it will be the All Time VWAP.

As an example, I have a custom 2 year VWAP here on the chart.
algotradinganchoredvwapautomatedDaily PivotsMonthly PivotsoverlayPivot PointsSupport and ResistanceVolume Weighted Average Price (VWAP)Weekly Pivots

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