OPEN-SOURCE SCRIPT
Multi Timeframe Supply & Demand Zones

Introduction
Hello fellow traders and coders, I’d like to introduce the multi time-frame supply and demand indicator that you’ve been looking for, its a dynamic script encompassing a lot of features however it is merely a tool to be used in conjunction with your own market analysis.
Features
General Settings Functionality.
Hello fellow traders and coders, I’d like to introduce the multi time-frame supply and demand indicator that you’ve been looking for, its a dynamic script encompassing a lot of features however it is merely a tool to be used in conjunction with your own market analysis.
Features
- A maximum of 2 time-frames that can be customized independently.
- The ability to change individual swing lengths that create the supply and demand boxes, all time-frames will come set at 7, you can however set this to whatever you are comfortable with.
- Supply and demand functionality for both time-frames.
- The ability to either use (highs and lows) or closes for mitigation of supply and demand zones, meaning that if set to close the zones will be mitigated if a close is above the top for supply and bottom from demand, the same will apply when the high and low flag is used.
- The ability to customize box colors, border type, border width and text size.
- The ability to prevent lower time frame structure from showing on higher time frames which I don’t advice as it will provide you with an inaccurate perception of the lower time frame structure hence I’ve made the feature available but set it to false.
- The script also has a section called general settings that will allow you to hide all the supply and demand zones on the chart.
- The ability to choose the number of supply or demand zones to display per time-frame.
General Settings Functionality.
- Input 1 allows you to hide all the demand zones on the chart.
- Input 2 allows you to hide all the supply zones on the chart.
- Input 3 if false will show lower time frame structure on a higher time frame. Default is true to prevent inaccurate results on higher time-frames.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。