⚙️ Primevector Admin Panel

🔐 Admin Authentication

📊 Access Levels

  • Level 1: Currency pairs only
  • Level 2: Indices only
  • Level 3: Gold only
  • Level 4: Currency + Indices
  • Level 5: Currency + Gold
  • Level 6: Indices + Gold
  • Level 7: Full access (All markets)
📡 Primevector
Welcome, Admin
Level 7 Access | Valid until: Aug 18, 2026
🏆 The Ace — XAUUSD Gold Trading Dashboard
LIVE DATA ACTIVE
🥇 Gold vs US Dollar
Admin | Level 7 · Full Access
Access expires: 8/18/2026 (161 days left)
Connected · Live Data Only | Updates: 1sec | LIVE MT5
XAUUSD
Gold vs US Dollar
SELL (BID)
$5,185.01
BUY (ASK)
$5,185.38
Spread: $0.37
$5,195.02
24H High
$5,117.52
24H Low
6,749
Buyer Pwr
1,001
Seller Pwr
0.8708
Strength
$5,195.02
24H High
$5,117.52
24H Low
6,749
Buyer Power
1,001
Seller Power
7,750
Market Cap
0.8708
Strength Idx
Bid
Ask
HOLD POSITION
Confidence: 78% (High)
Based on multi-timeframe technical analysis
HOLD POSITION
Confidence: 78% (High)
Based on comprehensive multi-timeframe technical analysis
⚡ Oscillator Indicators
📊 Multi-Timeframe Analysis
TimeframeTrendRSIMACDSignal
⚠ MTF Note: Higher timeframes provide trend direction, lower timeframes for precise entries.
📋 Technical Analysis Summary
🎯 Key Gold Support & Resistance
Level TypePriceDistanceStrengthTouch Count
📌 Pip Manager: Each setup uses 30 pip SL with 75 pip TP1 & 30 pip TP2. R:R → TP1=1:8.5, TP2=9:1
📉 Visual S/R Map
📊 Market Power Analysis
📈 Gold Price Chart
Bid Price
Ask Price
⚡ Power Metrics Timeline
XAUUSD Sentiment
BUY
BUY
SELL
All Pairs Sentiment
📊 Volume Distribution
💪 Currency Strength Meter
🔥 Pair Heatmap
📊 24H Currency Change
📰 Market News & Analysis
🔌 MT5 WebSocket Connection
Disconnected
📐 Formula Engine — All Indicators
── PRICE DATA (from MT5) ──────────────────
BID = SymbolInfoDouble(sym, SYMBOL_BID)
ASK = SymbolInfoDouble(sym, SYMBOL_ASK)
SPREAD = (ASK - BID) / Point
H24 = iHigh(sym, PERIOD_D1, 0)
L24 = iLow(sym, PERIOD_D1, 0)
── RSI (Wilder's Smoothed) ────────────────
RS = AvgGain(n) / AvgLoss(n) [n=14]
RSI = 100 - (100 / (1 + RS))
→ Overbought: RSI > 70 | Oversold: RSI < 30
── MACD (12,26,9) ────────────────────────
EMA_fast = EMA(close, 12)
EMA_slow = EMA(close, 26)
MACD_line= EMA_fast - EMA_slow
Signal = EMA(MACD_line, 9)
Histogram= MACD_line - Signal
→ Bull: MACD > Signal | Bear: MACD < Signal
── STOCHASTIC (5,3,3) ────────────────────
%K = (Close-LowestLow) / (HighestHigh-LowestLow) × 100
%D = SMA(%K, 3) [signal line]
→ Overbought: %K > 80 | Oversold: %K < 20
── BOLLINGER BANDS (20,2) ────────────────
Middle = SMA(close, 20)
StdDev = sqrt(Σ(close-Middle)² / 20)
Upper = Middle + 2×StdDev
Lower = Middle - 2×StdDev
→ Above Upper: Overbought | Below Lower: Oversold
── ATR (Average True Range, 14) ──────────
TR = max(H-L, |H-prevC|, |L-prevC|)
ATR = Wilder_EMA(TR, 14)
→ Volatility filter. SL = Entry ± (1.5 × ATR)
── EMA TREND (20, 50, 200) ───────────────
EMA(n) = Close×k + EMA_prev×(1-k) [k=2/(n+1)]
→ Bull: Price > EMA20 > EMA50 > EMA200
→ Bear: Price < EMA20 < EMA50 < EMA200
── STRENGTH INDEX ────────────────────────
SI = BuyerPower / (BuyerPower + SellerPower)
→ SI > 0.65: Strong Bull | SI < 0.35: Strong Bear
── SUPPORT / RESISTANCE ──────────────────
Pivot = (H24 + L24 + Close) / 3
R1 = 2×Pivot - L24
S1 = 2×Pivot - H24
R2 = Pivot + (H24 - L24)
S2 = Pivot - (H24 - L24)
R3 = H24 + 2×(Pivot - L24)
S3 = L24 - 2×(H24 - Pivot)
── SENTIMENT SCORE ───────────────────────
BuyPct = Long_positions / Total_positions × 100
SelPct = Short_positions / Total_positions × 100
── COMPOSITE VERDICT ─────────────────────
Score = Σ(signal_weight × signal_value)
Signals: RSI, MACD, BB, Stoch, EMA, SR
→ Score > 0.6 → BUY | < -0.6 → SELL | else HOLD
Confidence = |Score| / max_score × 100%
🐍 MT5 Python Bridge — Ready to Use
# mt5_bridge.py — Run on your Windows PC with MT5 installed
import asyncio, websockets, json, MetaTrader5 as mt5
from datetime import datetime

async def handler(websocket):
 mt5.initialize()
 while True:
  data = {}
  for sym in SYMBOLS:
   tick = mt5.symbol_info_tick(sym)
   info = mt5.symbol_info(sym)
   rates = mt5.copy_rates_from_pos(sym, mt5.TIMEFRAME_D1, 0, 2)
   if tick and info and rates is not None:
    data[sym] = {
     "bid": round(tick.bid, info.digits),
     "ask": round(tick.ask, info.digits),
     "spread": round((tick.ask-tick.bid)/info.point),
     "h24": round(float(rates[-1]['high']), info.digits),
     "l24": round(float(rates[-1]['low']), info.digits),
     "digits": info.digits,
     "time": datetime.utcnow().isoformat()
    }
  payload = json.dumps({"type":"tick","data":data})
  await websocket.send(payload)
  await asyncio.sleep(1) # 1 second update

SYMBOLS = ["XAUUSD","EURUSD","GBPUSD","USDJPY",
         "GBPJPY","US30","US100","GER30","BTCUSD"]

async def main():
async with websockets.serve(handler, "0.0.0.0", 8765):
print("MT5 Bridge running on ws://0.0.0.0:8765")
await asyncio.Future()

asyncio.run(main())
Install: pip install MetaTrader5 websockets  |  Run on same PC as MT5
📋 Connection Log
[SYSTEM] Dashboard initialized. Source: Demo Mode [SYSTEM] Connect to MT5 WebSocket to receive live prices [INFO] Formula engine loaded — 8 indicators active