OPEN-SOURCE SCRIPT
Ultimate MTF Trend Dashboard [identityKa]

Overview
The Ultimate MTF Trend Dashboard [identityKa] is a comprehensive trend-following ecosystem that combines a zero-lag overlay cloud with a strict Multi-Timeframe (MTF) alignment dashboard. Designed for traders who require deep market context, this indicator visually tracks the immediate trend while simultaneously cross-referencing higher timeframes (15m, 1H, 4H, and Daily) to ensure trades are taken in the direction of the dominant macroeconomic flow.
Mathematical Engine & Non-Repainting Logic
The core trend calculation is built upon the Hull Moving Average (HMA). HMAs are favored for their ability to significantly reduce lag while maintaining a smooth curve.
The Cloud: The script calculates a Fast HMA (default 14) and a Slow HMA (default 50). The area between them is filled to create a visual "Cloud." When the Fast HMA is above the Slow HMA, the cloud represents a bullish trend, and vice versa.
Non-Repainting MTF Engine: Traditional MTF indicators in Pine Script often suffer from repainting issues by looking ahead into unclosed bars. This script solves that by securely fetching historical offset data ([1]) combined with barmerge.lookahead_on across all higher timeframes. This guarantees that the dashboard values are strictly historically accurate and non-repainting.
HUD Dashboard & AI State Suggestion
The on-chart panel serves as the central intelligence hub, constantly evaluating the HMA state across four distinct timeframes. At the bottom of the dashboard is the rule-based AI Suggestion:
LONG: Triggered only when the 15m, 1H, 4H, and 1D timeframes are all simultaneously in a Bullish state (Fast HMA > Slow HMA).
SHORT: Triggered only when all four tracked timeframes are simultaneously in a Bearish state (Fast HMA < Slow HMA).
Dangerous: Displayed when there is a conflict between timeframes (e.g., 1H is Bullish, but 4H is Bearish). This mathematically indicates market chop or a broader consolidation phase.
How to Use It
This tool acts as a supreme filter for Price Action trading. Traders should avoid taking trend-continuation setups when the AI Suggestion reads "Dangerous." Instead, patience should be exercised until full MTF alignment occurs. When the dashboard outputs "LONG" or "SHORT," traders can look for pullbacks into the local HMA Cloud on their execution timeframe to find optimal, low-risk entries in the direction of the undeniable macro trend.
The Ultimate MTF Trend Dashboard [identityKa] is a comprehensive trend-following ecosystem that combines a zero-lag overlay cloud with a strict Multi-Timeframe (MTF) alignment dashboard. Designed for traders who require deep market context, this indicator visually tracks the immediate trend while simultaneously cross-referencing higher timeframes (15m, 1H, 4H, and Daily) to ensure trades are taken in the direction of the dominant macroeconomic flow.
Mathematical Engine & Non-Repainting Logic
The core trend calculation is built upon the Hull Moving Average (HMA). HMAs are favored for their ability to significantly reduce lag while maintaining a smooth curve.
The Cloud: The script calculates a Fast HMA (default 14) and a Slow HMA (default 50). The area between them is filled to create a visual "Cloud." When the Fast HMA is above the Slow HMA, the cloud represents a bullish trend, and vice versa.
Non-Repainting MTF Engine: Traditional MTF indicators in Pine Script often suffer from repainting issues by looking ahead into unclosed bars. This script solves that by securely fetching historical offset data ([1]) combined with barmerge.lookahead_on across all higher timeframes. This guarantees that the dashboard values are strictly historically accurate and non-repainting.
HUD Dashboard & AI State Suggestion
The on-chart panel serves as the central intelligence hub, constantly evaluating the HMA state across four distinct timeframes. At the bottom of the dashboard is the rule-based AI Suggestion:
LONG: Triggered only when the 15m, 1H, 4H, and 1D timeframes are all simultaneously in a Bullish state (Fast HMA > Slow HMA).
SHORT: Triggered only when all four tracked timeframes are simultaneously in a Bearish state (Fast HMA < Slow HMA).
Dangerous: Displayed when there is a conflict between timeframes (e.g., 1H is Bullish, but 4H is Bearish). This mathematically indicates market chop or a broader consolidation phase.
How to Use It
This tool acts as a supreme filter for Price Action trading. Traders should avoid taking trend-continuation setups when the AI Suggestion reads "Dangerous." Instead, patience should be exercised until full MTF alignment occurs. When the dashboard outputs "LONG" or "SHORT," traders can look for pullbacks into the local HMA Cloud on their execution timeframe to find optimal, low-risk entries in the direction of the undeniable macro trend.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.