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
リリースノート: 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?
リリースノート: 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!
オープンソーススクリプト

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

チャートでこのスクリプトを利用したいですか?
If you like what I do, consider buying me a nice fresh cup of tea :)

https://paypal.me/JayRogersKreations

コメント

Wow, this script is amazing!
200 コイン
+1 返信
JayRogers blackcat1402
@blackcat1402, Thankyou very much :)
返信
Hi Jay, Many thanks for the script and your hard work. It's just what I was looking/hoping for :)
200 コイン
+1 返信
@rPud, You're very welcome!
返信
Great!
500 コイン
+1 返信
JayRogers LonesomeTheBlue
@LonesomeTheBlue, Thankyou :D
+1 返信
500 コイン
+1 返信
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 コイン
+1 返信
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?
+4 返信
Hello. I wanted to thank you. The code is also very clean
+2 返信