JayRogers

Pivotal - Multi Pivot Selector

JayRogers 已更新   
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精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?