OPEN-SOURCE SCRIPT
MTF Candle Direction Forecast + Breakdown

๐งญ MTF Candle Direction Forecast + Breakdown ๐ฅ๐๐ผ
This script is a multi-timeframe (MTF) price action dashboard that helps traders assess real-time directional bias across five customizable timeframes โ with a focus on candle behavior, trend alignment, and confidence strength.
๐ What It Does
For each timeframe, this dashboard summarizes:
Each row gives you a visual โat-a-glanceโ readout of what price is doing right now โ not in the past.
๐ก Why Itโs Useful
โ Direction forecasting based on price action
โ Confidence is quantified
The score (0โ100) helps you judge how reliable each directional signal is:
โ Timeframe confluence at a glance
See whether multiple timeframes are aligning directionally โ helpful for scalping, day trading, or waiting for multi-timeframe breakout setups.
โ Visual & intuitive
Icons, colors, and layout make it easy to scan your dashboard instead of deciphering charts or code.
๐ ๏ธ Adjustable Settings
Setting Description
๐ฏ Use Cases
๐ง What Makes It Unique?
๐ฅ Why Traders Love Will Love It
โ ๏ธ Transparency๐งฌ Under the Hood
โ MTF Trend Snapshot (Live Output Example Shown in Chart Above)
This dashboard gives you a fast, visual summary of market trend and momentum across 5 timeframes. Here's what it's telling you right now:
๐ 5 Minute (5m)
โฑ๏ธ 15 Minute (15m)
๐ง 30 Minute (30m)
๐ 1 Hour (1h)
๐ 4 Hour (4h)
๐ง Quick Takeaway
Try pinning this dashboard to your chart during live trading to read price like a story across timeframes, and filter out weak setups with low-confidence noise.
This script is a multi-timeframe (MTF) price action dashboard that helps traders assess real-time directional bias across five customizable timeframes โ with a focus on candle behavior, trend alignment, and confidence strength.
๐ What It Does
For each timeframe, this dashboard summarizes:
- Current direction โ Bullish, Bearish, or Neutral
- Confidence score (0โ100) โ How strongly price is likely to continue in that direction
- Candle strength โ ๐ฅ icon appears if the current candle has a large body relative to its range
- Trend alignment:
๐ = EMA9 is above EMA20
๐ผ = Price is above VWAP
- Color-coded background to visually reinforce directional state
Each row gives you a visual โat-a-glanceโ readout of what price is doing right now โ not in the past.
๐ก Why Itโs Useful
โ Direction forecasting based on price action
- Instead of lagging indicators, this script prioritizes:
- Candle body-to-range ratio (momentum)
- Real-time VWAP/EMA structure
- Immediate price positioning
โ Confidence is quantified
The score (0โ100) helps you judge how reliable each directional signal is:
- 90+ โ Strong conviction
- 50โ70 โ Mixed but potentially valid
- <40 โ Weak move or early signal
โ Timeframe confluence at a glance
See whether multiple timeframes are aligning directionally โ helpful for scalping, day trading, or waiting for multi-timeframe breakout setups.
โ Visual & intuitive
Icons, colors, and layout make it easy to scan your dashboard instead of deciphering charts or code.
๐ ๏ธ Adjustable Settings
Setting Description
- Timeframe 1โ5 Choose any timeframes to monitor (e.g., 5m, 15m, 1h, 4h)
- Candle Display Mode Show trend color via emoji (๐ข/๐ด) or background shading
- Strong Candle Threshold Adjust the body-to-range % needed to trigger ๐ฅ strength
- Bullish/Bearish Background Customize label color coding
- Neutral Background (opacity) Set transparency or styling for flat/consolidating zones
- Table Location Place the dashboard anywhere on the chart
๐ฏ Use Cases
- Scalpers: Confirm trend across 1m/5m/15m before entering
- Day Traders: Use confidence score to avoid low-momentum setups
- Swing Traders: Monitor higher timeframes for trend shifts while tracking intraday noise
- VWAP/EMA traders: Quickly see when price is reclaiming or losing critical trend levels
๐ง What Makes It Unique?
- Unlike generic trend meters or mashups of standard indicators, this script:
- Uses live candle dynamics (not just closes or lagging values)
- Computes directional bias and confidence together
- Visualizes strength and structure in a compact, readable interface
- Letโs you filter by price action, not just indicator alignment
๐ฅ Why Traders Love Will Love It
- โ
Instant clarity on which timeframes agree
- โ
No more guessing candle strength or trend health
- โ
Confidence score keeps you out of weak trades
- โ
Works with any strategy โ trend following, VWAP reclaim, EMA scalps, even breakouts
- โ
Keeps your chart clean โ all the context, none of the clutter
โ ๏ธ Transparency๐งฌ Under the Hood
- Powered by live candle body analysis, trend structure (EMA9 vs EMA20), and VWAP placement.
- All scores are generated in real-time โ No repainting or lookahead bias: all values are computed with
Pine Scriptยฎ lookahead=barmerge.lookahead_on - Confidence scores reflect the current candle only โ they do not predict future moves but measure momentum and alignment in real-time
- Labels update per bar and respond to subtle shifts in candle structure and trend indicators
โ MTF Trend Snapshot (Live Output Example Shown in Chart Above)
This dashboard gives you a fast, visual summary of market trend and momentum across 5 timeframes. Here's what it's telling you right now:
๐ 5 Minute (5m)
- ๐ EMA Trend: Down
- ๐ผ Price: Above VWAP
- Direction: Bearish (42)
- ๐ฅ Weak bearish bias. Short-term pullback against a stronger trend. Use caution โ lower confidence and mixed structure.
โฑ๏ธ 15 Minute (15m)
- ๐ EMA Trend: Up
- ๐ผ Price: Above VWAP
- Direction: Bullish (73)
- ๐ฉ Clean bullish structure with growing momentum. Solid for intraday confirmation.
๐ง 30 Minute (30m)
- ๐ EMA Trend: Up
- ๐ผ Price: Above VWAP
- Direction: Bullish (77)
- ๐ฉ Stronger trend forming. Above VWAP and EMAs โ building conviction.
๐ 1 Hour (1h)
- ๐ EMA Trend: Up
- ๐ผ Price: Above VWAP
- Direction: Bullish (70)
- ๐ฉ Confident, clean trend. Good alignment across indicators. Ideal timeframe for swing entries.
๐ 4 Hour (4h)
- ๐ฅ Strong Candle
- ๐ EMA Trend: Up
- ๐ผ Price: Above VWAP
- Direction: Bullish (100)
- ๐ฉ Full trend alignment with max momentum. Strong body candle + structure โ high confidence continuation.
๐ง Quick Takeaway
- ๐ป 5m is pulling back short term
- โ
15m through 4h are fully aligned Bullish
- ๐ฅ 4h has max confidence โ big-picture trend is intact
- ๐ Ideal setup for momentum traders looking to ride trend with multi-timeframe confirmation
Try pinning this dashboard to your chart during live trading to read price like a story across timeframes, and filter out weak setups with low-confidence noise.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.