LonesomeTheBlue

Support Resistance Channels/Zones Multi Time Frame

LonesomeTheBlue Wizard 已更新   
Hello All,

For long time I have been getting a lot of requests for Support/Resistance Multi Time Frame script. Here 'Support Resistance Channels/Zones Multi Time Frame' is in your service.

This script works if the Higher Time Frame you set is higher than the chart time frame. so the time frame in the options should be higher than the chart time frame.
The script checks total bars and highest/lowest in visible part of the chart and shows all S/R zones that fits according the highest/lowest in visible part. you can see screenshots below if it didn't make sense or if you didn't understand

Let see the options:
Higher Time Frame: the time frame that will be used to get Support/Resistance zones, should be higher than chart time frame
Pivot Period: is the number to find the Pivot Points on Higher time frame, these pivot points are used while calculating the S/R zones
Loopback Period: is the number of total bars on higher time frame which is used while finding pivot points
Maximum Channel Width %: is the percent for maximum width for each channel
Minimum Strength: each zone should contain at least a 1 or more pivot points, you set it here. (Open/High/Low/Close also are considered while calculating the strength)
Maximum Number of S/R: the number of maximum Support/Resistance zones. there can be less S/Rs than this number if it can not find enough S/Rs
Show S/R that fits the Chart: because of we use higher time frame, you should enable this option then the script shows only S/Rs that fits the current chart. if you disable this option, all S/R zones are shown and it may shrink the chart. also you may not see any S/R zone if you don't choose the higher time frame wisely ;)
Show S/R channels in a table: if you enable this option (by default it's enabled) then lower/upper bands of all S/R zones shown in a table (even if it doesn't fit the chart). you can change its location. zones are sorted according to their strengths. first one is the strongest.
and the other options is about colors and transparency.

Screenshots before and after zoom-out:
after zoom-out number of visible bars and highest/lowest change and it shows more S/R zones that fits the current chart!

if you see Support Resistance zone like below then you should decrease 'Maximum Channel Width' or you should set higher time frame better:

You can change colors and transparency:

You can change Table location:

Alerts added :)

P.S. I haven't tested it so much, if you see any issue please drop a comment or send me message


Enjoy!
版本注释:
removed text font option from the table.

开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?