JayRogers

Pivotal - Multi Pivot Selector

Pivotal - Multi Pivot Selector

Allows you to set up to 3 distinct sets of pivots , each with their own resolution settings and the
ability to select how many support|resistance levels are shown.

The maximum amount of S|R levels available varies with different pivot types, the options
available are:

• Traditional
• Fibonacci
• Woodie
• Classic
Demark
Camarilla
• Fibonacci Extended

...you can select all 3 to be of the same type - or mix and match if that's what floats your boat :)

Added custom resolution selection to exclude lower than 1 hour timeframes, and added options:

• 6, and 12 Hour
• 5 Day
• 3, and 6 Month
• 1 Year

Credits:

All included pivot calcs were sourced from:

https://www.tradingview.com/support/solu...

A BIG thankyou to the Pine Dev team for the recent additions of:

• The new 'time_close(_res)' functionality - super helpful for accurate period plotting and drawing
• The new grouping and inline features for script inputs!

Reasons for writing this script publication:

• To practice making scalable code for working with similar datasets.
• Leverage the new Pine Script features mentioned above.

Cheers! - Jay
Release Notes: Important Bugfix Update:
  • In some cases the security() call was not returning the proper price data, this should now be resolved.

..and some minor code tweaks:
  • Pivot array getter functions are now each only given precisely the required data for their individual calculation requirements which means any future changes to security calls can be freely made without having to then make cascade changes to all the pivot getter functions.
  • The HTF Current Open value used by the Woodie Pivot getter is not using a security call, but rather taking the open value of the chart at interval change.

..TODO:
  • Allow each set to have it's own colour pallette options, including price labels.
  • ... allow price labels to be toggled individually for each set?
  • ... show price in right shoulder labels?
Release Notes: Bugfix Update!

  • This should only affect users who trade on extended hours intraday charts.

A big thanks to user @miteysh for not just bringing the issue to my attention - but also providing a quick solution!
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
If you like what I do, consider buying me a nice fresh cup of tea :)

https://paypal.me/JayRogersKreations

Kommentarer

Hi Jay, Many thanks for the script and your hard work. It's just what I was looking/hoping for :)
200 coins
+1 Svara
@rPud, You're very welcome!
Svara
Great!
500 coins
+1 Svara
JayRogers LonesomeTheBlue
@LonesomeTheBlue, Thankyou :D
+1 Svara
500 coins
+1 Svara
Great work thank you @JayRogers mate I use all the time with Camarilla.
I am looking forward to "Allow each set to have it's own colour pallette options, including price labels.
Here's a nice cup of Yorkshire Tea for ya luv :)
100 coins
+1 Svara
Very nice! I load multiple Default Pivot indicators with different Time Frame Resolution for this same setup.
Is it possible to also add the "Show historical pivots" and "No of Pivots Back" options to your indicator?
+2 Svara
Hello. I wanted to thank you. The code is also very clean
+2 Svara
JayRogers Team_Sekoya
@Team_Sekoya, Appreciated, and you're welcome :)
Svara
Great! pity that we can not choose for example: the A in solid the B in dotted and add the name of the timeframe.
+1 Svara
Hem Aktie-screener Forex-screener Krypto-screener Ekonomisk kalender Om Diagramfunktioner Priser Tipsa en vän Ordningsregler Hjälpcenter Webbsidor och mäklarlösningar Widgets Diagramlösningar Lightweight Charting Library Blogg och nyheter Twitter
Profil Profilinställningar Konto och fakturering Hänvisade vänner Mynt Mina kölappar Hjälpcenter Privata meddelanden Chatt Logga ut