============================================================
  GOLD AI INSTITUTIONAL TERMINAL v2.10
  MT4 Realtime Sync + PWA Dashboard + Multi-TF AI
============================================================

CARA MENJALANKAN (MUDAH):
--------------------------
1. Extract ZIP ke folder manapun (misal: C:\GoldAI\)
2. Buka folder hasil extract
3. Double-click: INSTALL.bat   → install otomatis
4. Double-click: START_SERVER.bat → jalankan server
5. Browser otomatis buka: http://localhost:3000

JIKA npm ERROR "package.json not found":
-----------------------------------------
Pastikan Anda SUDAH masuk ke folder yang BENAR.
Folder yang benar berisi:
  ✓ package.json
  ✓ server\
  ✓ web\
  ✓ mt4\
  ✓ START_SERVER.bat

ATAU jalankan manual di PowerShell/CMD:
  cd C:\GoldAI        (sesuaikan path folder extract)
  npm install
  npm start

INTEGRASI METATRADER 4:
------------------------
Baca panduan lengkap: mt4\MT4_SETUP_GUIDE.md

Langkah cepat:
1. Buka MT4 → Tools → Options → Expert Advisors
2. Centang: Allow WebRequest for listed URL
3. Tambahkan: http://127.0.0.1:3000
4. Copy file MQL4 ke MT4:
   GoldAI_Bridge_EA.mq4      → MT4\MQL4\Experts\
   GoldAI_Signals_Indicator.mq4 → MT4\MQL4\Indicators\
5. Compile di MetaEditor (F7)
6. Drag EA ke chart XAUUSD → Enable AutoTrading

STRUKTUR FOLDER:
-----------------
├── server\
│   ├── server.js           ← API server utama
│   ├── ai_engine.js        ← Multi-TF AI Engine
│   ├── technical_analysis.js ← RSI/MACD/BB/ADX dll
│   ├── data_feeds.js       ← Live data feeds
│   └── risk_engine.js      ← Risk calculator
├── web\
│   ├── index.html          ← PWA Dashboard
│   └── dashboard.js        ← UI logic
├── mt4\
│   ├── GoldAI_Bridge_EA.mq4       ← MT4 EA
│   ├── GoldAI_Signals_Indicator.mq4 ← MT4 Indicator
│   └── MT4_SETUP_GUIDE.md         ← Panduan MT4
├── package.json            ← Project config
├── INSTALL.bat             ← Install otomatis
└── START_SERVER.bat        ← Jalankan server

============================================================
