OPEN-SOURCE SCRIPT
已更新 [ A L P H A X ] Market Pulse - Real-Time Confluence Engine

AlphaX Market Pulse — 5-Timeframe MTF Alignment Dashboard, Weighted Bias Scoring, Market Structure Detection & Real-Time Confluence Engine
AlphaX Market Pulse is a professional-grade multi-timeframe analysis cockpit that reads trend, momentum, volatility, and volume across five independent timeframes simultaneously and synthesizes everything into a single weighted Pulse Score and clear trade Verdict. Designed for traders who want to know — before placing a single trade — whether the market is genuinely aligned or simply creating the illusion of a move. Built for XAUUSD, indices, and forex majors on any intraday timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📸 Visual Overview

Full dashboard view showing 5-timeframe alignment, Pulse Score, Verdict, and real-time confluence data on XAUUSD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Core Problem This Solves
Every experienced trader knows that the single biggest edge in intraday trading is multi-timeframe alignment. When the 1-minute, 5-minute, 15-minute, 1-hour, and 4-hour charts all point in the same direction, trades have dramatically higher follow-through. When they conflict, even technically perfect setups fail.
The problem is that manually checking five timeframes before every trade is slow, inconsistent, and easy to bias. AlphaX Market Pulse does it for you — automatically, on every bar, with a weighted scoring engine that gives higher timeframes more influence over the final verdict.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ The Four-Engine Analysis System
Every timeframe is independently analyzed by four engines running simultaneously:
Trend Engine
Four factors assessed per timeframe:
Each factor contributes to a per-timeframe Trend Score. A score of +4 means all four factors are bullish. A score of -4 means all four are bearish. This granularity is what separates a "technically bullish" market from a genuinely strong one.
Momentum Engine
Four independent momentum reads per timeframe:
Volatility Engine
Bollinger Band width measured against its own 20-bar average. When the band is expanding relative to its baseline, the market is entering a higher-conviction phase. When it is compressed below average, the market is coiling — potential breakout pending, but no edge yet.
Volume Engine
Current bar volume measured against a configurable SMA. Classified into four states — DRY, NORMAL, HIGH, and SPIKE — and used to weight the final bias score upward when institutional participation is evident.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 The Weighted Pulse Score
Once all five timeframes are analyzed, AlphaX Market Pulse calculates a single Pulse Score from 0 to 100 using a weighted average that gives higher timeframes more influence:
This weighting reflects a core trading principle: the higher the timeframe, the more reliable the signal. A bullish 4H with a bearish 1M is still a bullish market. The Pulse Score reflects that reality rather than treating all timeframes equally.
The score is displayed as ▲ BULL 78 / 100 or ▼ BEAR 65 / 100 — directional and quantified at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 The Verdict — One Line That Answers Everything
Below the Pulse Score sits the most important row in the dashboard: the VERDICT. This single line synthesizes alignment count, score strength, and confluence quality into a direct trading instruction:
The Verdict alone can prevent the most common and costly trading mistake: entering when the market has no clear direction.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 The Dashboard — Complete Reference
The dashboard is organized into three sections:
Section 1 — Multi-Timeframe Grid
Five rows, one per timeframe. Each row shows:
At a glance you can see exactly which timeframes agree, which are lagging, and which are conflicting.
Section 2 — Synthesis Layer
Section 3 — Current Timeframe Detail
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☁ Bias Cloud & EMA System
Four EMAs are plotted directly on the chart as structural context:
The Bias Cloud fills the space between the Fast and Slow EMAs with a subtle color — yellow-green when the ribbon is bullish, red when bearish — giving instant visual trend context without cluttering the chart. Both the cloud and the EMAs can be toggled independently.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying When NOT to Trade
AlphaX Market Pulse is as valuable for telling you to stay out as it is for confirming entries. Watch for these no-trade conditions:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Use AlphaX Market Pulse — Step by Step
Step 1 — Check the Verdict first
Step 2 — Read the Alignment row
Step 3 — Check the Pulse Score
Step 4 — Validate with Section 3
Step 5 — Use VS EMA 200 as a risk check
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Timeframes
Trend Engine
Momentum Engine
Volatility
Volume
Chart Overlay
Dashboard
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Default Settings — Optimized For
The default configuration is tuned for XAUUSD (Gold) on the 1-minute timeframe with a 5-timeframe stack of 1M / 5M / 15M / 1H / 4H:
For other instruments or timeframes, adjust:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All values are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal or score does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who want one answer before every trade — not five charts to check.
AlphaX Market Pulse is a professional-grade multi-timeframe analysis cockpit that reads trend, momentum, volatility, and volume across five independent timeframes simultaneously and synthesizes everything into a single weighted Pulse Score and clear trade Verdict. Designed for traders who want to know — before placing a single trade — whether the market is genuinely aligned or simply creating the illusion of a move. Built for XAUUSD, indices, and forex majors on any intraday timeframe.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📸 Visual Overview
Full dashboard view showing 5-timeframe alignment, Pulse Score, Verdict, and real-time confluence data on XAUUSD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Core Problem This Solves
Every experienced trader knows that the single biggest edge in intraday trading is multi-timeframe alignment. When the 1-minute, 5-minute, 15-minute, 1-hour, and 4-hour charts all point in the same direction, trades have dramatically higher follow-through. When they conflict, even technically perfect setups fail.
The problem is that manually checking five timeframes before every trade is slow, inconsistent, and easy to bias. AlphaX Market Pulse does it for you — automatically, on every bar, with a weighted scoring engine that gives higher timeframes more influence over the final verdict.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ The Four-Engine Analysis System
Every timeframe is independently analyzed by four engines running simultaneously:
Trend Engine
Four factors assessed per timeframe:
- EMA Ribbon alignment (Fast / Medium / Slow) — is the ribbon stacked bullishly or bearishly?
- Price position relative to the 200 EMA Anchor — is the market above or below the macro baseline?
- EMA slope direction — are the moving averages rising or falling?
- Price position relative to the Fast EMA — is price leading or lagging the momentum line?
Each factor contributes to a per-timeframe Trend Score. A score of +4 means all four factors are bullish. A score of -4 means all four are bearish. This granularity is what separates a "technically bullish" market from a genuinely strong one.
Momentum Engine
Four independent momentum reads per timeframe:
- RSI position relative to configurable bull and bear thresholds
- Stochastic K position (above or below midpoint)
- Stochastic K/D crossover direction
- MACD line vs signal line relationship
Volatility Engine
Bollinger Band width measured against its own 20-bar average. When the band is expanding relative to its baseline, the market is entering a higher-conviction phase. When it is compressed below average, the market is coiling — potential breakout pending, but no edge yet.
Volume Engine
Current bar volume measured against a configurable SMA. Classified into four states — DRY, NORMAL, HIGH, and SPIKE — and used to weight the final bias score upward when institutional participation is evident.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 The Weighted Pulse Score
Once all five timeframes are analyzed, AlphaX Market Pulse calculates a single Pulse Score from 0 to 100 using a weighted average that gives higher timeframes more influence:
- 4H (TF5) — 30% weight
- 1H (TF4) — 25% weight
- 15M (TF3) — 20% weight
- 5M (TF2) — 15% weight
- 1M (TF1) — 10% weight
This weighting reflects a core trading principle: the higher the timeframe, the more reliable the signal. A bullish 4H with a bearish 1M is still a bullish market. The Pulse Score reflects that reality rather than treating all timeframes equally.
The score is displayed as ▲ BULL 78 / 100 or ▼ BEAR 65 / 100 — directional and quantified at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 The Verdict — One Line That Answers Everything
Below the Pulse Score sits the most important row in the dashboard: the VERDICT. This single line synthesizes alignment count, score strength, and confluence quality into a direct trading instruction:
- ✓ HIGH CONFIDENCE LONG — all or nearly all timeframes bullish with strong score. This is the setup to trade.
- ✓ HIGH CONFIDENCE SHORT — all or nearly all timeframes bearish with strong score.
- △ LEAN LONG — CAUTION — majority bullish but not full confirmation. Reduce size or wait.
- ▽ LEAN SHORT — CAUTION — majority bearish but incomplete alignment.
- ✕ MIXED — STAND ASIDE — timeframes are conflicting. This is the most important message the dashboard can give you. No trade.
- ✕ NO CLEAR EDGE — insufficient directional conviction. Wait for clarity.
The Verdict alone can prevent the most common and costly trading mistake: entering when the market has no clear direction.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 The Dashboard — Complete Reference
The dashboard is organized into three sections:
Section 1 — Multi-Timeframe Grid
Five rows, one per timeframe. Each row shows:
- Timeframe label — the period being analyzed (fully configurable)
- Trend • Momentum — combined directional arrows for both engines. ▲▲ means strongly bullish, △ means mildly bullish, — means flat
- Bias score — the directional bias value for that timeframe with a ▲ or ▼ prefix
At a glance you can see exactly which timeframes agree, which are lagging, and which are conflicting.
Section 2 — Synthesis Layer
- ALIGNMENT — the alignment state across all five timeframes with a count (e.g. 4▲ 1▼ 0—)
- PULSE SCORE — the weighted composite score with direction
- VERDICT — the single-line trade instruction
Section 3 — Current Timeframe Detail
- RSI — value with state label (OVERSOLD / DEPRESSED / NEUTRAL / ELEVATED / OVERBOUGHT)
- STOCH K — value with zone label (OS ZONE / MID RANGE / OB ZONE)
- MACD — directional state with momentum confirmation and histogram value
- STRUCTURE — real-time price structure detection (HIGHER H/L, LOWER H/L, HIGHER HIGH, LOWER LOW, RANGING)
- VOLATILITY — BB width state (COMPRESSED / NORMAL / ELEVATED / EXPANDING) with percentage value
- BB WIDTH — expanding or contracting relative to baseline
- VOLUME — DRY / NORMAL / HIGH / SPIKE with current ratio vs SMA
- ATR — current ATR value and percentage of price — essential for position sizing
- EMA STACK — full structural EMA alignment check (FULL BULL STACK / BULL STACK / BEAR STACK / FULL BEAR STACK / MIXED)
- BULL SCORE — raw weighted bullish score out of 100
- BEAR SCORE — raw weighted bearish score out of 100
- VS EMA 200 — price distance from the 200 EMA anchor as a percentage — identifies extended and exhausted moves before they reverse
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
☁ Bias Cloud & EMA System
Four EMAs are plotted directly on the chart as structural context:
- Fast EMA (8) — the immediate momentum reference, colored bullish or bearish based on ribbon state
- Medium EMA (21) — the intermediate trend filter
- Slow EMA (55) — the trend backbone
- Anchor EMA (200) — the macro structural divider used in confidence scoring
The Bias Cloud fills the space between the Fast and Slow EMAs with a subtle color — yellow-green when the ribbon is bullish, red when bearish — giving instant visual trend context without cluttering the chart. Both the cloud and the EMAs can be toggled independently.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Identifying When NOT to Trade
AlphaX Market Pulse is as valuable for telling you to stay out as it is for confirming entries. Watch for these no-trade conditions:
- VERDICT shows MIXED or NO CLEAR EDGE — the market has no directional consensus. Any trade here is a coin flip.
- Alignment count is split (e.g. 2▲ 2▼ 1—) — timeframes are fighting each other.
- PULSE SCORE is below 40 — insufficient conviction in either direction.
- VOLATILITY shows COMPRESSED — the market is coiling. No trend energy present.
- VS EMA 200 shows extreme extension (±3% or more) — the move may already be exhausted. Late entries here carry high reversal risk.
- EMA STACK shows MIXED — the moving averages are tangled, a reliable sign of a choppy ranging market.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Use AlphaX Market Pulse — Step by Step
Step 1 — Check the Verdict first
- If it says MIXED or NO CLEAR EDGE — close the dashboard and do not trade. Wait for alignment.
- If it says HIGH CONFIDENCE — proceed to Step 2.
Step 2 — Read the Alignment row
- How many timeframes agree? 5▲ 0▼ is the strongest possible setup.
- Which timeframes are dissenting? A dissenting TF1 (1-minute) is less significant than a dissenting TF5 (4-hour).
Step 3 — Check the Pulse Score
- Above 70 — strong conviction, full size appropriate
- 55–70 — moderate conviction, consider reduced size
- Below 55 — marginal, wait for a higher score bar
Step 4 — Validate with Section 3
- Is RSI in a supportive zone for the direction?
- Is MACD confirming with momentum?
- Is STRUCTURE showing the right price behavior (Higher H/L for longs, Lower H/L for shorts)?
- Is VOLUME at least NORMAL? A signal into DRY volume has poor follow-through probability.
- Is VOLATILITY NORMAL or EXPANDING? COMPRESSED volatility means no energy behind the move.
Step 5 — Use VS EMA 200 as a risk check
- If price is already 2–3% extended from the 200 EMA in your direction, the risk/reward is poor. Wait for a pullback.
- If price is near or just crossing the 200 EMA, the setup has maximum structural support.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
- 📊 5-timeframe simultaneous analysis — fully configurable timeframes, all running independently
- ⚖ Weighted Pulse Score — higher timeframes carry more weight, reflecting real trading hierarchy
- 🎯 Single-line Verdict — HIGH CONFIDENCE / LEAN / MIXED / NO EDGE — one answer, no ambiguity
- 🔬 Four-engine analysis — Trend, Momentum, Volatility, and Volume assessed per timeframe
- 📋 14-row live dashboard — MTF grid, synthesis layer, and current TF detail in one panel
- 📐 EMA Stack check — full structural alignment across Fast / Medium / Slow / Anchor EMAs
- 📉 Market Structure detection — real-time Higher H/L, Lower H/L, swing identification
- 📏 VS EMA 200 distance — percentage deviation from the macro anchor for exhaustion detection
- ☁ Bias Cloud — subtle EMA ribbon fill showing trend direction directly on the price chart
- 🎨 Cohesive dual-tone color theme — yellow-green for bullish, red for bearish, gray for neutral
- ⚙ Fully configurable — all timeframes, EMA periods, RSI/Stoch thresholds, BB and ATR settings adjustable
- 🔕 No repainting — all calculations confirmed on bar close
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Timeframes
- Timeframe 1–5 — set any five timeframes to analyze. Defaults: 1 / 5 / 15 / 60 / 240
Trend Engine
- Fast EMA — default 8
- Medium EMA — default 21
- Slow EMA — default 55
- Anchor EMA — default 200
Momentum Engine
- RSI Period — default 14
- RSI Bull Threshold — default 60 (RSI above this = bullish momentum)
- RSI Bear Threshold — default 40 (RSI below this = bearish momentum)
- Stoch Period — default 14
- Stoch Smooth — default 3
Volatility
- ATR Period — default 14
- BB Period — default 20
- BB StdDev — default 2.0
Volume
- Volume SMA Period — default 20
Chart Overlay
- Show Bias Cloud — toggle the EMA ribbon fill
- Show EMAs — toggle all four EMA lines
Dashboard
- Show Dashboard — toggle the entire panel
- Position — Top Left / Top Right / Bottom Left / Bottom Right
- Text Size — Tiny / Small / Normal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Default Settings — Optimized For
The default configuration is tuned for XAUUSD (Gold) on the 1-minute timeframe with a 5-timeframe stack of 1M / 5M / 15M / 1H / 4H:
- EMA periods (8 / 21 / 55 / 200) calibrated for gold's intraday volatility structure
- RSI thresholds at 40/60 rather than 30/70 — captures momentum earlier in the move
- BB period 20 with 2.0 StdDev — standard institutional volatility reference
- Volume SMA 20 — smoothed enough to filter single-bar spikes while still responsive
For other instruments or timeframes, adjust:
- Swing traders (4H / Daily) — set TF stack to 15 / 60 / 240 / D / W, increase EMA periods to 13 / 34 / 89 / 200
- Forex majors — defaults work well; lower RSI thresholds to 35/65 for more conservative momentum detection
- Indices (NAS100, US30) — increase Anchor EMA to 200, use TF stack 5 / 15 / 60 / 240 / D
- More sensitive — lower RSI thresholds to 35/65, reduce EMA periods
- Less noise — raise RSI thresholds to 45/55, increase EMA periods
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
- 🥇 Gold (XAUUSD) intraday traders — built and tuned specifically for gold's fast-moving multi-session structure
- 📉 Forex scalpers and day traders — works on all major and minor pairs with minor setting adjustments
- 📊 Index traders — applicable to US30, NAS100, SPX500, DAX, and others
- 🧠 Traders who over-trade — the MIXED verdict physically stops you from entering in unfavorable conditions
- 📈 Traders who manually check multiple timeframes — this replaces that entire workflow with a single dashboard
- ⚙ Systematic and rule-based traders — the quantified Pulse Score provides an objective entry threshold rather than a subjective feeling
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
- All calculations are non-repainting — values confirmed on bar close
- The VS EMA 200 row uses the current timeframe's 200 EMA, not a higher timeframe value
- Market Structure detection (Higher H/L, Lower H/L) uses the last three bars — designed for fast intraday reads, not swing structure mapping
- The Bias Cloud and EMA lines can be hidden independently if you prefer a clean price chart with dashboard only
- All five timeframes are analyzed using the same four-engine framework — no timeframe receives a different logic set
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All values are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance of any signal or score does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who want one answer before every trade — not five charts to check.
發行說明
Minor style changes.開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
🌐 alphax.trading
Institutional Grade Signals --> Engineered for Retail
💎ᴠɪᴘ tradingview.com/v/TaXohZvb/
[ A L P H A X ] PRIME - Premium Signal Engine
🔢 alphax.trading/resources/calculators
AlphaX Calculators
Institutional Grade Signals --> Engineered for Retail
💎ᴠɪᴘ tradingview.com/v/TaXohZvb/
[ A L P H A X ] PRIME - Premium Signal Engine
🔢 alphax.trading/resources/calculators
AlphaX Calculators
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
🌐 alphax.trading
Institutional Grade Signals --> Engineered for Retail
💎ᴠɪᴘ tradingview.com/v/TaXohZvb/
[ A L P H A X ] PRIME - Premium Signal Engine
🔢 alphax.trading/resources/calculators
AlphaX Calculators
Institutional Grade Signals --> Engineered for Retail
💎ᴠɪᴘ tradingview.com/v/TaXohZvb/
[ A L P H A X ] PRIME - Premium Signal Engine
🔢 alphax.trading/resources/calculators
AlphaX Calculators
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。