OPEN-SOURCE SCRIPT
MTF Right now [Zofesu]

MTF Right now [Zofesu] - MTF Delta + Volume Ratio + 9-state Verdict table. See what the higher timeframe is doing — right now.
────────────────────────────────────────────────────────────
📊 MTF Right now [Zofesu] — Delta · Trend · Volume Ratio · Verdict
MTF Right now is a multi-timeframe analysis table that reads three independent data streams from any higher timeframe — volume delta, HMA trend direction, and volume ratio — and combines them into a single actionable verdict. The goal is simple: remove the guesswork of manually reading a higher timeframe chart while you are managing a trade on a lower one.
─────────────────────────────────────────
01 — What problem does this solve?
─────────────────────────────────────────
Most traders switch between timeframes manually to check trend context. This takes time, breaks focus, and introduces interpretation errors. MTF Right now pulls the key data from your selected higher timeframe and displays it in a compact table directly on your chart — updated in real time on every bar.
─────────────────────────────────────────
02 — How it works
─────────────────────────────────────────
The indicator calculates three values from the selected higher timeframe:
1. DELTA — Net buying vs selling pressure per candle.
Where footprint data is available (supported brokers), the indicator uses real order flow delta via request.footprint(). On standard data feeds, it falls back to the Elder CTI formula: Volume × (2 × Close − High − Low) / (High − Low). The fallback ensures the indicator works on any symbol and broker.
2. TREND — Direction of the HMA (Hull Moving Average) applied to delta.
HMA = WMA(2 × WMA(delta, n/2) − WMA(delta, n), √n)
This smooths delta noise without the lag of a standard EMA. When HMA is rising, delta momentum is bullish. When falling, it is bearish.
3. VOLUME RATIO — Where the close settled within the high-low range of the candle (0–100%).
Formula: (Close − Low) / (High − Low) × 100
Above 60% means buyers controlled the close. Below 40% means sellers controlled it. The indicator averages this over the last N candles for a stable read.
─────────────────────────────────────────
03 — The Verdict system
─────────────────────────────────────────
The three inputs feed a 9-state verdict engine. Each state is a combination of delta direction, price direction, and volume ratio:
BULL CONFIRMED — Delta up, price up, close near high. Full alignment. Safe long context.
BEAR CONFIRMED — Delta down, price down, close near low. Full alignment. Safe short context.
STRONG SUPPORT — Delta up but price falling. Buyers are absorbing sell pressure. Support holding.
WEAK SUPPORT — Delta up but close near low. Absorption present but close is struggling.
STRONG RESIST. — Delta down but price rising. Sellers distributing into strength. Resistance holding.
WEAK RESIST. — Delta down but close near high. Distribution present but close is holding up.
FADING BULLS — Delta and price up but close weak. Momentum losing conviction.
FADING BEARS — Delta and price down but close strong. Selling pressure fading.
NEUTRAL — No dominant condition detected.
─────────────────────────────────────────
04 — Table layout
─────────────────────────────────────────
The table has 2 columns and 5 rows:
Row 0 │ TF: [selected] │ Pure Delta
Row 1 │ State │ Delta value
Row 2 │ Trend ▲/▼/▬ │ —
Row 3 │ Verdict │ Vol: XX%
Row 4 │ Delta▲/▼ Price▲/▼ │ Up / Down / S Hold / R Hold
All values are sourced from the selected higher timeframe only. The chart timeframe does not affect the calculations.
─────────────────────────────────────────
05 — How to use
─────────────────────────────────────────
Step 1 — Set your target timeframe in Core Settings. Default is Daily.
If you trade on H1, set the MTF to H4 or Daily.
If you trade on M15, set it to H1 or H4.
Step 2 — Read the Verdict row first. It tells you the current higher timeframe context in one word.
Step 3 — Confirm with the State and Trend rows.
BULL CONFIRMED + Trend ▲ = strong long context.
BEAR CONFIRMED + Trend ▼ = strong short context.
Any FADING or WEAK state = wait, do not enter.
Step 4 — Use Vol % as a secondary filter.
Above 60% = buyers controlled the last N candles.
Below 40% = sellers controlled them.
Between 40–60% = no dominant side, treat as noise.
Step 5 — Set alerts for BULL CONFIRMED, BEAR CONFIRMED, STRONG SUPPORT, or STRONG RESIST. to get notified when the higher timeframe shifts without watching the screen.
─────────────────────────────────────────
06 — Parameters
─────────────────────────────────────────
Target Timeframe (MTF) — Higher timeframe to analyze. Default: D (Daily).
Trend Smoothing (HMA Length) — HMA period for delta trend. Default: 8. Lower = more reactive.
Volume Ratio Length — Number of MTF candles for average volume ratio. Default: 8.
Table Position — Place the table anywhere on the chart.
Text Size — Small / Normal / Large.
Background Opacity — 0 = fully transparent, 100 = fully opaque.
─────────────────────────────────────────
07 — Alerts
─────────────────────────────────────────
Bull Confirmed — Higher TF verdict is BULL CONFIRMED.
Bear Confirmed — Higher TF verdict is BEAR CONFIRMED.
Strong Support — Higher TF verdict is STRONG SUPPORT.
Strong Resistance — Higher TF verdict is STRONG RESIST.
────────────────────────────────────────────────────────────
📊 MTF Right now [Zofesu] — Delta · Trend · Volume Ratio · Verdict
MTF Right now is a multi-timeframe analysis table that reads three independent data streams from any higher timeframe — volume delta, HMA trend direction, and volume ratio — and combines them into a single actionable verdict. The goal is simple: remove the guesswork of manually reading a higher timeframe chart while you are managing a trade on a lower one.
─────────────────────────────────────────
01 — What problem does this solve?
─────────────────────────────────────────
Most traders switch between timeframes manually to check trend context. This takes time, breaks focus, and introduces interpretation errors. MTF Right now pulls the key data from your selected higher timeframe and displays it in a compact table directly on your chart — updated in real time on every bar.
─────────────────────────────────────────
02 — How it works
─────────────────────────────────────────
The indicator calculates three values from the selected higher timeframe:
1. DELTA — Net buying vs selling pressure per candle.
Where footprint data is available (supported brokers), the indicator uses real order flow delta via request.footprint(). On standard data feeds, it falls back to the Elder CTI formula: Volume × (2 × Close − High − Low) / (High − Low). The fallback ensures the indicator works on any symbol and broker.
2. TREND — Direction of the HMA (Hull Moving Average) applied to delta.
HMA = WMA(2 × WMA(delta, n/2) − WMA(delta, n), √n)
This smooths delta noise without the lag of a standard EMA. When HMA is rising, delta momentum is bullish. When falling, it is bearish.
3. VOLUME RATIO — Where the close settled within the high-low range of the candle (0–100%).
Formula: (Close − Low) / (High − Low) × 100
Above 60% means buyers controlled the close. Below 40% means sellers controlled it. The indicator averages this over the last N candles for a stable read.
─────────────────────────────────────────
03 — The Verdict system
─────────────────────────────────────────
The three inputs feed a 9-state verdict engine. Each state is a combination of delta direction, price direction, and volume ratio:
BULL CONFIRMED — Delta up, price up, close near high. Full alignment. Safe long context.
BEAR CONFIRMED — Delta down, price down, close near low. Full alignment. Safe short context.
STRONG SUPPORT — Delta up but price falling. Buyers are absorbing sell pressure. Support holding.
WEAK SUPPORT — Delta up but close near low. Absorption present but close is struggling.
STRONG RESIST. — Delta down but price rising. Sellers distributing into strength. Resistance holding.
WEAK RESIST. — Delta down but close near high. Distribution present but close is holding up.
FADING BULLS — Delta and price up but close weak. Momentum losing conviction.
FADING BEARS — Delta and price down but close strong. Selling pressure fading.
NEUTRAL — No dominant condition detected.
─────────────────────────────────────────
04 — Table layout
─────────────────────────────────────────
The table has 2 columns and 5 rows:
Row 0 │ TF: [selected] │ Pure Delta
Row 1 │ State │ Delta value
Row 2 │ Trend ▲/▼/▬ │ —
Row 3 │ Verdict │ Vol: XX%
Row 4 │ Delta▲/▼ Price▲/▼ │ Up / Down / S Hold / R Hold
All values are sourced from the selected higher timeframe only. The chart timeframe does not affect the calculations.
─────────────────────────────────────────
05 — How to use
─────────────────────────────────────────
Step 1 — Set your target timeframe in Core Settings. Default is Daily.
If you trade on H1, set the MTF to H4 or Daily.
If you trade on M15, set it to H1 or H4.
Step 2 — Read the Verdict row first. It tells you the current higher timeframe context in one word.
Step 3 — Confirm with the State and Trend rows.
BULL CONFIRMED + Trend ▲ = strong long context.
BEAR CONFIRMED + Trend ▼ = strong short context.
Any FADING or WEAK state = wait, do not enter.
Step 4 — Use Vol % as a secondary filter.
Above 60% = buyers controlled the last N candles.
Below 40% = sellers controlled them.
Between 40–60% = no dominant side, treat as noise.
Step 5 — Set alerts for BULL CONFIRMED, BEAR CONFIRMED, STRONG SUPPORT, or STRONG RESIST. to get notified when the higher timeframe shifts without watching the screen.
─────────────────────────────────────────
06 — Parameters
─────────────────────────────────────────
Target Timeframe (MTF) — Higher timeframe to analyze. Default: D (Daily).
Trend Smoothing (HMA Length) — HMA period for delta trend. Default: 8. Lower = more reactive.
Volume Ratio Length — Number of MTF candles for average volume ratio. Default: 8.
Table Position — Place the table anywhere on the chart.
Text Size — Small / Normal / Large.
Background Opacity — 0 = fully transparent, 100 = fully opaque.
─────────────────────────────────────────
07 — Alerts
─────────────────────────────────────────
Bull Confirmed — Higher TF verdict is BULL CONFIRMED.
Bear Confirmed — Higher TF verdict is BEAR CONFIRMED.
Strong Support — Higher TF verdict is STRONG SUPPORT.
Strong Resistance — Higher TF verdict is STRONG RESIST.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
Think Act Believe. Use SL. Use BreakEven. Respect the market. Your ego and arrogance can destroy your trading account. Never leave the table unless you have a closed trade or SL/BE. Indicator does not guarantee profit.
discord.gg/FcSJpSvNnv
discord.gg/FcSJpSvNnv
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
Think Act Believe. Use SL. Use BreakEven. Respect the market. Your ego and arrogance can destroy your trading account. Never leave the table unless you have a closed trade or SL/BE. Indicator does not guarantee profit.
discord.gg/FcSJpSvNnv
discord.gg/FcSJpSvNnv
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。