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
Catatan Pelepasan: 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?
Catatan Pelepasan: 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!

If you like what I do, consider buying me a nice fresh cup of tea :)

https://paypal.me/JayRogersKreations
Skrip sumber terbuka

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.

Ingin menggunakan skrip ini pada carta?