OPEN-SOURCE SCRIPT
MTF Supertrend Heatmap (D / 4H / 1H / 15m / 5m)

MTF Supertrend Heatmap (D / 4H / 1H / 15m / 5m)
A clean dashboard that tells you whether the same Supertrend (ATR Length, Multiplier) is BUY or SELL across five timeframes—all on one chart. Higher-TF values are fetched with request.security() and, when Confirm HTF bar close is ON, they do not repaint after that bar closes.
Optional toggles let you plot the current-TF Supertrend line and show bar-anchored flip markers (BUY/SELL) for each timeframe. Includes alerts for ALL-TF alignment and MAJORITY (≥3/5) agreement. Timeframes and Supertrend parameters are fully configurable. Use the heatmap for quick confirmation, reduce noise by keeping markers off unless needed.
A clean dashboard that tells you whether the same Supertrend (ATR Length, Multiplier) is BUY or SELL across five timeframes—all on one chart. Higher-TF values are fetched with request.security() and, when Confirm HTF bar close is ON, they do not repaint after that bar closes.
Optional toggles let you plot the current-TF Supertrend line and show bar-anchored flip markers (BUY/SELL) for each timeframe. Includes alerts for ALL-TF alignment and MAJORITY (≥3/5) agreement. Timeframes and Supertrend parameters are fully configurable. Use the heatmap for quick confirmation, reduce noise by keeping markers off unless needed.
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.