(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.
リリースノート: Added "Decade" and "Century" VWAP options!
リリースノート: 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.
リリースノート: 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.

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。