OPEN-SOURCE SCRIPT
MTF Dynamic MA Tracker

This indicator allows you to track the behavior of price relative to a key Moving Average across up to 9 different timeframes simultaneously.
The idea behind this tool is to see what your favourite MA is doing at various TFs while solving the problem of "chart clutter." Plotting 9 different Moving Averages on a single chart usually results in a messy interface that is hard to read. This script solves that using Dynamic Dimming.
Default Settings:
By default, the script is configured to track the EMA 200 (Exponential Moving Average). However, this is for illustration purposes only. You can fully customize the indicator to track your preferred Moving Average Type (EMA, SMA, HMA, WMA, or RMA) and your preferred Length (e.g., 50, 100, 200) in the settings menu.
Key Features:
Multi-Timeframe Tracking:
Monitor your chosen Moving Average across 9 user-defined timeframes (e.g., 1m, 5m, 15m, 1H, 4H, Daily, etc.) directly on your current chart.
Dynamic Visibility (Dimming):
By default, the MA lines remain transparent (dimmed) to keep your chart clean.
The lines automatically brighten (light up) only when the price comes within a specific proximity of the MA. This highlights immediate Support or Resistance levels without visual noise.
You can customize the "Proximity Method" using either a Percentage of price or an ATR multiplier.
Tag Detection & Alerts:
Dashboard (Nexus):
A status table displays "Clusters" (when price is near multiple MAs simultaneously) and lists any active Bull/Bear tags occurring on the current bar.
Customization:
The idea behind this tool is to see what your favourite MA is doing at various TFs while solving the problem of "chart clutter." Plotting 9 different Moving Averages on a single chart usually results in a messy interface that is hard to read. This script solves that using Dynamic Dimming.
Default Settings:
By default, the script is configured to track the EMA 200 (Exponential Moving Average). However, this is for illustration purposes only. You can fully customize the indicator to track your preferred Moving Average Type (EMA, SMA, HMA, WMA, or RMA) and your preferred Length (e.g., 50, 100, 200) in the settings menu.
Key Features:
Multi-Timeframe Tracking:
Monitor your chosen Moving Average across 9 user-defined timeframes (e.g., 1m, 5m, 15m, 1H, 4H, Daily, etc.) directly on your current chart.
Dynamic Visibility (Dimming):
By default, the MA lines remain transparent (dimmed) to keep your chart clean.
The lines automatically brighten (light up) only when the price comes within a specific proximity of the MA. This highlights immediate Support or Resistance levels without visual noise.
You can customize the "Proximity Method" using either a Percentage of price or an ATR multiplier.
Tag Detection & Alerts:
- The script detects "Tags"—moments where price interacts with a Moving Average (e.g., wicks into it and closes back above/below).
- Bull Tag (Support): Price dips into the MA but closes above it.
- Bear Tag (Resistance): Price spikes into the MA but closes below it.
- You can set alerts to trigger whenever these interactions occur on any monitored timeframe.
Dashboard (Nexus):
A status table displays "Clusters" (when price is near multiple MAs simultaneously) and lists any active Bull/Bear tags occurring on the current bar.
Customization:
- MA Type: Choose between EMA, SMA, HMA, WMA, or RMA.
- MA Length: Input any length (Default: 200).
- Timeframes: Individually enable/disable and select up to 9 specific timeframes.
- Dimming: Adjust the transparency for "dimmed" vs "bright" states.
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.