OPEN-SOURCE SCRIPT
HTF Supply & Demand Zones

HTF Supply & Demand Zones
Displays higher-timeframe (default 15m) supply and demand zones directly on your lower timeframe execution chart (e.g. 3m). Ideal for traders who identify zones on the 15m and execute on the 3m.
How zones are identified:
Demand zone (green): body of the last bearish candle before a strong bullish impulse move on the HTF
Supply zone (red): body of the last bullish candle before a strong bearish impulse move on the HTF
Features:
No repainting — only uses confirmed, closed HTF bars
ATR-based impulse filter (adjustable)
Zones fade when tested, disappear when broken
Configurable lookback, zone count, colors, and extend length
Built-in alerts for when price enters a zone
Works on any symbol and any timeframe combination
Displays higher-timeframe (default 15m) supply and demand zones directly on your lower timeframe execution chart (e.g. 3m). Ideal for traders who identify zones on the 15m and execute on the 3m.
How zones are identified:
Demand zone (green): body of the last bearish candle before a strong bullish impulse move on the HTF
Supply zone (red): body of the last bullish candle before a strong bearish impulse move on the HTF
Features:
No repainting — only uses confirmed, closed HTF bars
ATR-based impulse filter (adjustable)
Zones fade when tested, disappear when broken
Configurable lookback, zone count, colors, and extend length
Built-in alerts for when price enters a zone
Works on any symbol and any timeframe combination
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.