OPEN-SOURCE SCRIPT

MTF Candle Direction Forecast + Breakdown

347
๐Ÿงญ 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:
  • 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
  1. Scalpers: Confirm trend across 1m/5m/15m before entering
  2. Day Traders: Use confidence score to avoid low-momentum setups
  3. Swing Traders: Monitor higher timeframes for trend shifts while tracking intraday noise
  4. VWAP/EMA traders: Quickly see when price is reclaiming or losing critical trend levels


๐Ÿง  What Makes It Unique?
  1. Unlike generic trend meters or mashups of standard indicators, this script:
  2. Uses live candle dynamics (not just closes or lagging values)
  3. Computes directional bias and confidence together
  4. Visualizes strength and structure in a compact, readable interface
  5. 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
  1. ๐Ÿ”ป 5m is pulling back short term
  2. โœ… 15m through 4h are fully aligned Bullish
  3. ๐Ÿ”ฅ 4h has max confidence โ€” big-picture trend is intact
  4. ๐Ÿ“ˆ 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.

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.