{
  "kind": "backtest",
  "source": {
    "label": "TrainBard unchanged ATR exit comparison",
    "url": "atr-study-evidence.json",
    "note": "ATR14 and entry EMA50 are fixed; each point changes the multiplier. Adaptive anchor = max(recorded entry price, highest held close), minus current ATR times multiplier. Ratchet keeps the higher of the previous stop and current adaptive stop. Both exit on an EMA crossdown too; exits are close-tested market orders, not intrabar stop orders. Exact frame and all eight comparisons are in the evidence download."
  },
  "description": "Tightening the formula changes exit timing; a higher multiplier is not automatically a better historical result.",
  "x": [
    "0.5",
    "0.75",
    "1.0",
    "1.25",
    "1.5",
    "1.75",
    "2.0",
    "2.25",
    "2.5",
    "2.75",
    "3.0",
    "3.25",
    "3.5",
    "3.75",
    "4.0",
    "4.25",
    "4.5",
    "4.75",
    "5.0",
    "5.25",
    "5.5",
    "5.75",
    "6.0",
    "6.25",
    "6.5",
    "6.75",
    "7.0",
    "7.25",
    "7.5",
    "7.75",
    "8.0"
  ],
  "panels": [
    {
      "label": "Recorded strategy return (%)",
      "series": [
        {
          "id": "adaptive",
          "label": "Adaptive distance",
          "color": "amber",
          "values": [
            -46.544742584228516,
            -48.369651794433594,
            -46.87588882446289,
            -52.72569274902344,
            -39.78660202026367,
            -50.19812774658203,
            -47.043392181396484,
            -27.205820083618164,
            -20.81222915649414,
            -23.49880599975586,
            -25.959402084350586,
            -28.6876163482666,
            -28.190227508544922,
            -28.26552963256836,
            -28.480690002441406,
            -26.770044326782227,
            -26.770044326782227,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582
          ]
        },
        {
          "id": "ratchet",
          "label": "Ratchet",
          "color": "blue",
          "values": [
            -46.544742584228516,
            -48.520118713378906,
            -49.20377731323242,
            -51.098365783691406,
            -50.377933502197266,
            -49.485694885253906,
            -56.311683654785156,
            -36.078147888183594,
            -25.15838623046875,
            -25.06900405883789,
            -27.934833526611328,
            -26.61767578125,
            -27.672086715698242,
            -28.26552963256836,
            -28.025327682495117,
            -28.629703521728516,
            -28.838092803955078,
            -28.838092803955078,
            -28.838092803955078,
            -26.770044326782227,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582,
            -28.38286018371582
          ]
        }
      ]
    },
    {
      "label": "Platform-reported maximum drawdown (%)",
      "domain": [
        0,
        100
      ],
      "series": [
        {
          "id": "adaptiveDD",
          "label": "Adaptive distance",
          "color": "amber",
          "values": [
            60.58916091918945,
            62.88788986206055,
            60.71528625488281,
            67.10417938232422,
            64.91041564941406,
            70.84518432617188,
            74.67650604248047,
            63.84294509887695,
            68.7544174194336,
            71.11750030517578,
            72.04647827148438,
            72.83708953857422,
            72.85607147216797,
            72.85607147216797,
            73.07567596435547,
            72.43167877197266,
            72.43167877197266,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586
          ]
        },
        {
          "id": "ratchetDD",
          "label": "Ratchet",
          "color": "blue",
          "values": [
            60.58916091918945,
            62.99604797363281,
            62.80974578857422,
            64.67601013183594,
            67.25267791748047,
            70.20582580566406,
            73.6574935913086,
            69.232177734375,
            66.9190444946289,
            70.79087829589844,
            71.48321533203125,
            72.29500579833984,
            72.66021728515625,
            72.85607147216797,
            72.90424346923828,
            73.13177490234375,
            73.21022033691406,
            73.21022033691406,
            73.21022033691406,
            72.43167877197266,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586,
            73.0388412475586
          ]
        }
      ]
    }
  ],
  "precision": 2,
  "provenance": {
    "frame": "btcusdt-2h-earlier",
    "raw_file": "atr/raw/btcusdt-2h-earlier/complete-result.json",
    "script_sha256": "5c9ac485f01f83e9c9c26aacd9d345b0751bdcfde7989f13ac05d7404d736539",
    "varied_input": "multiple",
    "values": [
      0.5,
      0.75,
      1.0,
      1.25,
      1.5,
      1.75,
      2.0,
      2.25,
      2.5,
      2.75,
      3.0,
      3.25,
      3.5,
      3.75,
      4.0,
      4.25,
      4.5,
      4.75,
      5.0,
      5.25,
      5.5,
      5.75,
      6.0,
      6.25,
      6.5,
      6.75,
      7.0,
      7.25,
      7.5,
      7.75,
      8.0
    ],
    "fixed_inputs": {
      "atrLength": 14,
      "trendLength": 50
    },
    "series_parameters": {
      "adaptive": {
        "stopMode": 2,
        "metric": "totalReturn"
      },
      "ratchet": {
        "stopMode": 3,
        "metric": "totalReturn"
      },
      "adaptiveDD": {
        "stopMode": 2,
        "metric": "maxDrawdownPct"
      },
      "ratchetDD": {
        "stopMode": 3,
        "metric": "maxDrawdownPct"
      }
    }
  }
}
