{
  "study": "ETH/USDT H4 EMA200: paired fixed target versus Chandelier Exit",
  "version": "1.0",
  "frozen_at_utc": "2026-11-11T16:07:31.246637+00:00",
  "frozen_before_strategy_results": true,
  "market": {
    "symbol": "ETHUSDT",
    "venue": "Binance spot",
    "side": "long only",
    "timezone": "UTC",
    "data_from": "2020-01-01T00:00:00Z",
    "data_end_exclusive": "2026-10-01T00:00:00Z",
    "signal_interval_ms": 14400000,
    "execution_interval_ms": 900000
  },
  "periods": {
    "development": [
      "2021-01-01T00:00:00Z",
      "2025-01-01T00:00:00Z"
    ],
    "holdout": [
      "2025-01-01T00:00:00Z",
      "2026-10-01T00:00:00Z"
    ]
  },
  "indicators": {
    "ema": {
      "period": 200,
      "input": "real H4 close",
      "seed": "SMA of first 200 complete consecutive H4 closes",
      "alpha": "2/201"
    },
    "atr14": {
      "period": 14,
      "input": "real H4 true range",
      "seed": "mean of first 14 true ranges; first TR=H-L",
      "smoothing": "Wilder"
    },
    "chandelier": {
      "highest_high_period": 22,
      "atr_period": 22,
      "atr_smoothing": "Wilder, same seeding policy",
      "multiplier": "3",
      "raw_formula": "highest real high over latest 22 complete H4 bars minus 3*ATR22; rolling window includes current completed bar",
      "ratchet": "never lower active stop within a trade"
    }
  },
  "signal": {
    "condition": "completed close > EMA200 and previous completed close <= previous EMA200; adjacent complete bars; previous EMA valid",
    "entry": "real opening price of immediately next H4, from its first usable M15; cancel if unavailable",
    "first_entry_must_be_in_period": true,
    "deadline_must_be_strictly_before_exclusive_period_end": true
  },
  "paired_design": {
    "same_entry_for_both": true,
    "initial_stop": "entry reference - 2*ATR14 of completed signal bar",
    "r_unit": "2*ATR14 of completed signal bar",
    "fixed_target": "entry reference + 3*ATR14 of completed signal bar",
    "chandelier_target": null,
    "max_holding_hours": 120,
    "chandelier_first_update": "after the first complete H4 held since entry",
    "chandelier_update": "after each completed H4 while alive, candidate=max(active stop, rolling HH22-3*ATR22), effective only at next M15 open",
    "close_at_or_below_candidate": "schedule unconditional market exit at next M15 open; never fill retrospectively at candidate",
    "common_occupancy": "skip new entry openings until strictly after the later M15 exit interval of the two outcomes; next candidate must come from a fresh qualifying completed signal",
    "unavailable_pair": "exclude entire pair from paired summaries; reserve common occupancy through original deadline, permit next H4 open strictly after that deadline"
  },
  "execution": {
    "priority": [
      "missing or invalid M15 makes unresolved arm unavailable",
      "at exact 120h deadline exit using its opening price",
      "pending Chandelier close exit at its scheduled opening",
      "gap through active stop or fixed target fills at M15 open",
      "intrabar touches; stop first if both fixed levels touched"
    ],
    "stop_touch": "low <= active_stop",
    "target_touch": "high >= fixed_target",
    "levels": "full Decimal precision, no tick rounding",
    "chandelier_is_model": "ratcheted implementation with close-trigger fallback; not a claim to reproduce a particular platform script"
  },
  "missing_data": {
    "unusable_M15": "missing, duplicate/conflicting, zero-volume, or nonstandard-duration candle",
    "H4": "aggregate exactly 16 adjacent usable M15 candles; compare real OHLC with publisher H4 archive",
    "indicator_reset": "after missing/unusable H4; no signals before 200 consecutive complete bars; EMA cross requires previous valid EMA",
    "volume": "compare and record differences, volume magnitude not a signal input; nonnegative volume required"
  },
  "costs": {
    "base": {
      "fee_each_side": "0.001",
      "adverse_slippage_each_side": "0.0002"
    },
    "stress": {
      "fee_each_side": "0.002",
      "adverse_slippage_each_side": "0.0004"
    },
    "net_r": "[X*(1-s)-E*(1+s)-f*(E*(1+s)+X*(1-s))]/initial_R_distance",
    "notional": "one ETH for price-based comparison; no portfolio sizing, leverage, funding or reinvestment"
  },
  "sensitivity": {
    "higher_costs": "same paired entry/exit references, double fee and adverse slippage",
    "same_candle_order": "fixed stop-first versus target-first reference on primary paired calendar; Chandelier has one active stop and no profit target",
    "no_parameter_optimization": true
  },
  "examples": {
    "selection": "first completed holdout pair where Chandelier base net R > fixed base net R; first completed holdout pair where Chandelier base net R < fixed base net R; if a group absent disclose absent",
    "charts": "same entry, real H4 candles with both exits and stop paths; M15 detail for each exit; cumulative R and annual paired comparison"
  },
  "sources": [
    "https://github.com/binance/binance-public-data",
    "https://www.tradingview.com/support/solutions/43000773013-chandelier-exit/",
    "https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-overlays/chandelier-exit"
  ]
}
