OPEN-SOURCE SCRIPT
ADX MTF mura vision

Overview
ADX MTF — mura vision measures trend strength and visualizes a higher-timeframe (HTF) ADX on any chart. The current-TF ADX is drawn as a line; the HTF ADX is rendered as “step” segments to reflect closed HTF bars without repainting. Optional soft fills highlight the 20–25 (trend forming) and 40–50 (strong trend) zones.
How it works
Auto timeframe mapping
If “Auto” is selected, the HTF is derived from the chart TF:
<30m → 60m, 30–<240m → 240m, 240m–<1D → 1D, 1D → 1W, 1W/2W → 1M, ≥1M → same.
Inputs
Reading the indicator
Note: ADX measures strength, not direction. Combine with your directional filter (e.g., price vs. MA, +DI/−DI, structure/levels).
Non-repainting behavior
Best practices
Performance notes
The script draws line segments for HTF bars. If your chart becomes heavy, reduce “Number of HTF ADX Bars.”
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading involves risk.
ADX MTF — mura vision measures trend strength and visualizes a higher-timeframe (HTF) ADX on any chart. The current-TF ADX is drawn as a line; the HTF ADX is rendered as “step” segments to reflect closed HTF bars without repainting. Optional soft fills highlight the 20–25 (trend forming) and 40–50 (strong trend) zones.
How it works
- ADX (current TF): Classic Wilder formulation using DI components and RMA smoothing.
- HTF ADX: Requested via request.security(..., lookahead_off, gaps_off).
- When a new HTF bar opens, the previous value is frozen as a horizontal segment.
- The current HTF bar is shown as a live moving segment.
- This staircase look is expected on lower timeframes.
Auto timeframe mapping
If “Auto” is selected, the HTF is derived from the chart TF:
<30m → 60m, 30–<240m → 240m, 240m–<1D → 1D, 1D → 1W, 1W/2W → 1M, ≥1M → same.
Inputs
- DI Length and ADX Smoothing — core ADX parameters.
- Higher Time Frame — Auto or a fixed TF.
- Line colors/widths for current ADX and HTF ADX.
- Fill zone 20–25 and Fill zone 40–50 — optional light background fills.
- Number of HTF ADX Bars — limits stored HTF segments to control chart load.
Reading the indicator
- ADX < 20: typically range-bound conditions; trend setups require extra caution.
- 20–25: trend emergence; breakouts and continuation structures gain validity.
- 40–50: strong trend; favor continuation and manage with trailing stops.
- >60 and turning down: possible trend exhaustion or transition toward range.
Note: ADX measures strength, not direction. Combine with your directional filter (e.g., price vs. MA, +DI/−DI, structure/levels).
Non-repainting behavior
- HTF values use lookahead_off; closed HTF bars are never revised.
- The only moving piece is the live segment for the current HTF bar.
Best practices
- Use HTF ADX as a regime filter; time entries with the current-TF ADX rising through your threshold.
- Pair with ATR-based stops and a MA/structure filter for direction.
- Consider higher thresholds on highly volatile altcoins.
Performance notes
The script draws line segments for HTF bars. If your chart becomes heavy, reduce “Number of HTF ADX Bars.”
Disclaimer
This script is for educational purposes only and does not constitute financial advice. Trading involves risk.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
✅My Telegram
t.me/trading_mura
t.me/trading_mura
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
✅My Telegram
t.me/trading_mura
t.me/trading_mura
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。