(JS) Multi-Time Frame Pivot Point Detector 2.0

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.
Notes de version: Added "Decade" and "Century" VWAP options!
Notes de version: 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.
Notes de version: 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.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?