OPEN-SOURCE SCRIPT

MTF Supertrend Heatmap (D / 4H / 1H / 15m / 5m)

309
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.

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.