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
Notes de version: 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?
Notes de version: 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!
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 ?