OPEN-SOURCE SCRIPT

MTF Candle Direction Forecast + Breakdown

184
🧭 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.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.