(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 אמיתית, מחבר סקריפט זה פרסם אותו עם קוד פתוח, כך שסוחרים יוכלו להבין ולאמת זאת. הידד למחבר! אתה יכול להשתמש בו בחינם, אך שימוש חוזר בקוד זה בפרסום הנו בכפוף ל כללי הבית . אתה יכול להגדירו כמועדף ולהשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?