编辑精选OPEN-SOURCE SCRIPT

Support Resistance MTF

已更新
Hello Traders,


This is Support Resistance script that uses Multi Time Frame. While getting Close/Open/High/Low values of Higher Time Frames the script does NOT use Security function, instead it calculates them.

while choosing Higher Time Frame, you can use "Auto" option so it uses predefined Higher Time Frames, or you can choose the Higher Time Frame Manually from the list. options for HTF => 15mins, 30mins, 60mins, 120mins, 180mins, 240mins, 720mins, Day, Week, 2 Weeks, Months, 3 Months, 6 Months, 12 Months.

You have option to use High/Low or Close/Open values while calculating support resistance levels.

"Period for Highest/Lowest Bars" option is used as loopback period to check if it's Highest/lowest bars. smaller numbers = more sensitive result.

You have option for transparency and coloring of support/resistance levels/zone => Red, Lime, Blue, White, Black, Olive, Gray


An example for 15 min chart, 4hours selected as HTF
快照

You can set transparency and colors as you wish:
快照

You can choose Close/Open prices while calculating S/R levels instead of High/Low
快照


Enjoy!
版本注释
"Extend Lines" option added. (user request)
版本注释
color option changed/improved and unnecessary parts removed
transp usage in fill() function removed
版本注释
updated
Breadth IndicatorsDaily PivotshighertimeframeslonesomethebluemultitimeframeanalysispivotsupportSupply ZonesupportSupport and ResistancesupportandresistancezonesVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明