{
  "signal": {
    "action": "BUY",
    "confidence": 57.59,
    "entry": 4675.4426,
    "take_profit": 4709.0422,
    "stop_loss": 4656.7762,
    "risk_reward": 1.8,
    "atr": 18.6664,
    "regime": "TRENDING_DOWN",
    "valid_for_bars": 3
  },
  "models": {
    "random_forest": {
      "action": "BUY",
      "confidence": 65,
      "accuracy": 60.71
    },
    "gradient_boosting": {
      "action": "BUY",
      "confidence": 95.43,
      "accuracy": 67.86
    },
    "kalman_filter": {
      "action": "SELL",
      "confidence": 69.12,
      "price_estimate": 4705.4344,
      "deviation_pct": -0.6374
    },
    "q_learning": {
      "action": "NEUTRAL",
      "q_value": 0.0528,
      "state": "OS-DN-LOW-T",
      "episodes": 175
    },
    "k_means_regime": {
      "regime": "TRENDING_DOWN",
      "description": "TRENDING DOWN"
    },
    "ensemble_votes": {
      "BUY": 0.55,
      "SELL": 0.2,
      "NEUTRAL": 0.20500000000000002
    }
  },
  "indicators": {
    "rsi": 21.4832,
    "macd": {
      "line": -6.887051,
      "signal": -1.500293,
      "histogram": -5.386758
    },
    "bollinger": {
      "upper": 4765.1412,
      "mid": 4717.335,
      "lower": 4669.5289,
      "position_pct": 6.19
    },
    "ema": {
      "ema9": 4696.1178,
      "ema21": 4705.7685,
      "ema50": 4708.2248
    },
    "atr": 18.6664,
    "adx": 90.62,
    "stochastic": 1.71,
    "volume_ratio": 1,
    "kalman_price": 4705.4344
  },
  "zones": {
    "resistance": [
      4587.1737,
      4730.9823,
      4769.6781
    ],
    "support": [
      4503.7246,
      4542.2343,
      4649.2166,
      4671.025,
      4706.0127
    ],
    "liquidity": [
      {
        "type": "LIQUIDITY",
        "price": 4714.1476,
        "strength": 100
      }
    ]
  },
  "meta": {
    "symbol": "XAU/USD",
    "price": 4675.4426,
    "samples": 139,
    "train_time_ms": 0,
    "timestamp": "2026-05-12T14:52:52.073Z",
    "version": "2.0"
  },
  "timeframe": "1h"
}