OPEN-SOURCE SCRIPT

Support Resistance Channels/Zones Multi Time Frame

Updated
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:
snapshot
after zoom-out number of visible bars and highest/lowest change and it shows more S/R zones that fits the current chart!
snapshot

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

You can change colors and transparency:
snapshot

You can change Table location:
snapshot

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!
Release Notes
removed text font option from the table.
Daily PivotshightimeframelonesomethebluematrixmultitimeframesupplyanddemmandsupplyandemandzonesSupply ZoneSupport and ResistancesupportandresistancezonesTrend Line BreakVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer