OPEN-SOURCE SCRIPT

Macro Geopolitical Risk Dashboard v2 - UI

647
📊 Purpose of the Dashboard

The script measures real-time geopolitical risk for financial markets, with a focus on:

Taiwan
Energy (oil)
Global risk-off dynamics

⚙️ What It Does

It combines multiple market indicators into a single Risk Score (0–100):

Input Signals:
VIX → market stress
Oil forward curve → geopolitical supply pressure
USD/TWD → Taiwan / capital flow risk
SOX vs SPX → semiconductor weakness (Taiwan signal)
Taiwan vs SPX → regional underperformance
Gold → safe-haven demand
DXY → dollar strength / stress
SPX momentum → overall market direction

🧠 Output

👉 The model calculates:

1. Risk Score
0–35 → Normal
35–55 → Elevated
55–75 → High Risk
75+ → Crisis

2. Market Regime
Risk-Off → defensive phase
Crisis → acute escalation
Recovery → normalization

3. Visual Signals
Traffic-light colors (green / orange / red)
Table with indicator status
Chart markers for regime shifts

🎯 In Short

👉 This dashboard is a
real-time early warning system for geopolitical market stress

It helps you identify:

  • when risk is building
  • when markets are turning
  • when stress is fading

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน