{
  "signal": {
    "action": "BUY",
    "confidence": 57.59,
    "entry": 4673.9369,
    "take_profit": 4707.5658,
    "stop_loss": 4655.2542,
    "risk_reward": 1.8,
    "atr": 18.6827,
    "regime": "TRENDING_DOWN",
    "valid_for_bars": 3
  },
  "models": {
    "random_forest": {
      "action": "BUY",
      "confidence": 60,
      "accuracy": 50
    },
    "gradient_boosting": {
      "action": "BUY",
      "confidence": 99.1,
      "accuracy": 50
    },
    "kalman_filter": {
      "action": "SELL",
      "confidence": 69.99,
      "price_estimate": 4705.2911,
      "deviation_pct": -0.6664
    },
    "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.2454,
    "macd": {
      "line": -7.007166,
      "signal": -1.524316,
      "histogram": -5.48285
    },
    "bollinger": {
      "upper": 4765.3336,
      "mid": 4717.2598,
      "lower": 4669.186,
      "position_pct": 4.94
    },
    "ema": {
      "ema9": 4695.8167,
      "ema21": 4705.6316,
      "ema50": 4708.1657
    },
    "atr": 18.6827,
    "adx": 90.64,
    "stochastic": 0.13,
    "volume_ratio": 1,
    "kalman_price": 4705.2911
  },
  "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": 4673.9369,
    "samples": 139,
    "train_time_ms": 0,
    "timestamp": "2026-05-12T14:54:17.183Z",
    "version": "2.0"
  },
  "timeframe": "1h"
}