{
  "kind": "backtest",
  "description": "A deliberately selected counterexample: range length 57, K smoothing 8 and entry ceiling 10 stay fixed while D smoothing changes. These settings were inspected after the broad study; this is mechanism research, not an estimate of how common the pattern is.",
  "precision": 0,
  "source": {
    "label": "Recorded TrainBard web-interface fixed quote diagnostic",
    "note": "ETHUSDT four-hour candles, later window. Eight settings were verified with fixed 100-quote sizing, then frozen and repeated unchanged in the seven remaining historical frames. Exact source mappings and every replication are preserved below."
  },
  "x": [
    "2",
    "3",
    "4",
    "5",
    "6",
    "7",
    "8",
    "9"
  ],
  "xLabels": [
    "2 bars",
    "3 bars",
    "4 bars",
    "5 bars",
    "6 bars",
    "7 bars",
    "8 bars",
    "9 bars"
  ],
  "panels": [
    {
      "label": "Recorded buy and sell executions",
      "domain": [
        0,
        22
      ],
      "series": [
        {
          "id": "diagnostic",
          "label": "D smoothing",
          "color": "purple",
          "values": [
            20,
            16,
            16,
            18,
            14,
            10,
            8,
            6
          ]
        }
      ]
    }
  ],
  "annotations": [
    {
      "index": 1,
      "title": "Three-period D",
      "text": "16 executions with all other parameters fixed."
    },
    {
      "index": 3,
      "title": "Five-period D",
      "text": "18 executions; the extra smoothing did not reduce this rule\u2019s activity."
    }
  ],
  "replications": [
    {
      "market": {
        "symbol": "ETHUSDT",
        "exchange": "binance",
        "start": "2024-01-01",
        "end": "2025-12-31",
        "starting_amount": 10000,
        "starting_asset": "USDT Cash",
        "trading_fee_percent": 0.1,
        "timeframe": "4h"
      },
      "source": {
        "interface": "UI",
        "raw_result": "stochastic/raw-ui/UI-DIAG-stochastic-cross-longer-d-ethusdt-later-4h/export.compact.json",
        "result_sha256": "f44fe1f5524673edb984123ee9618db756b3d1d6fa44f63493e4f3d85d15281d",
        "completion": "stochastic/raw-ui/UI-DIAG-stochastic-cross-longer-d-ethusdt-later-4h/completion.json",
        "source_sha256": "cdc30bca8e8a943651f59c1647a4705f34d32d7baa9dd08edab15ceffb9ef3de"
      },
      "points": [
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 2,
            "smooth_k": 8
          },
          "totalTrades": 20,
          "source_row_index": 6
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 3,
            "smooth_k": 8
          },
          "totalTrades": 16,
          "source_row_index": 7
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 4,
            "smooth_k": 8
          },
          "totalTrades": 16,
          "source_row_index": 0
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 5,
            "smooth_k": 8
          },
          "totalTrades": 18,
          "source_row_index": 3
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 6,
            "smooth_k": 8
          },
          "totalTrades": 14,
          "source_row_index": 4
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 7,
            "smooth_k": 8
          },
          "totalTrades": 10,
          "source_row_index": 1
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 8,
            "smooth_k": 8
          },
          "totalTrades": 8,
          "source_row_index": 2
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 9,
            "smooth_k": 8
          },
          "totalTrades": 6,
          "source_row_index": 5
        }
      ],
      "D3": 16,
      "D5": 18,
      "D5_more_executions": true
    },
    {
      "market": {
        "symbol": "BTCUSDT",
        "exchange": "binance",
        "start": "2021-01-01",
        "end": "2023-12-31",
        "starting_amount": 10000,
        "starting_asset": "USDT Cash",
        "trading_fee_percent": 0.1,
        "timeframe": "2h"
      },
      "source": {
        "interface": "UI",
        "raw_result": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-btcusdt-early-2h-4h/export.compact.json",
        "result_sha256": "48c06adf5f8229ebde72997af272586f5502aca88d91a6c297c29e1db248e883",
        "completion": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-btcusdt-early-2h-4h/completion.json",
        "source_sha256": "cdc30bca8e8a943651f59c1647a4705f34d32d7baa9dd08edab15ceffb9ef3de"
      },
      "points": [
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 2,
            "smooth_k": 8
          },
          "totalTrades": 156,
          "source_row_index": 13
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 3,
            "smooth_k": 8
          },
          "totalTrades": 132,
          "source_row_index": 11
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 4,
            "smooth_k": 8
          },
          "totalTrades": 96,
          "source_row_index": 12
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 5,
            "smooth_k": 8
          },
          "totalTrades": 84,
          "source_row_index": 5
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 6,
            "smooth_k": 8
          },
          "totalTrades": 74,
          "source_row_index": 14
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 7,
            "smooth_k": 8
          },
          "totalTrades": 64,
          "source_row_index": 10
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 8,
            "smooth_k": 8
          },
          "totalTrades": 58,
          "source_row_index": 3
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 9,
            "smooth_k": 8
          },
          "totalTrades": 50,
          "source_row_index": 2
        }
      ],
      "D3": 132,
      "D5": 84,
      "D5_more_executions": false
    },
    {
      "market": {
        "symbol": "BTCUSDT",
        "exchange": "binance",
        "start": "2021-01-01",
        "end": "2023-12-31",
        "starting_amount": 10000,
        "starting_asset": "USDT Cash",
        "trading_fee_percent": 0.1,
        "timeframe": "4h"
      },
      "source": {
        "interface": "UI",
        "raw_result": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-btcusdt-early-2h-4h/export.compact.json",
        "result_sha256": "48c06adf5f8229ebde72997af272586f5502aca88d91a6c297c29e1db248e883",
        "completion": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-btcusdt-early-2h-4h/completion.json",
        "source_sha256": "cdc30bca8e8a943651f59c1647a4705f34d32d7baa9dd08edab15ceffb9ef3de"
      },
      "points": [
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 2,
            "smooth_k": 8
          },
          "totalTrades": 68,
          "source_row_index": 15
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 3,
            "smooth_k": 8
          },
          "totalTrades": 48,
          "source_row_index": 4
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 4,
            "smooth_k": 8
          },
          "totalTrades": 44,
          "source_row_index": 9
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 5,
            "smooth_k": 8
          },
          "totalTrades": 38,
          "source_row_index": 7
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 6,
            "smooth_k": 8
          },
          "totalTrades": 36,
          "source_row_index": 1
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 7,
            "smooth_k": 8
          },
          "totalTrades": 32,
          "source_row_index": 6
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 8,
            "smooth_k": 8
          },
          "totalTrades": 28,
          "source_row_index": 0
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 9,
            "smooth_k": 8
          },
          "totalTrades": 26,
          "source_row_index": 8
        }
      ],
      "D3": 48,
      "D5": 38,
      "D5_more_executions": false
    },
    {
      "market": {
        "symbol": "BTCUSDT",
        "exchange": "binance",
        "start": "2024-01-01",
        "end": "2025-12-31",
        "starting_amount": 10000,
        "starting_asset": "USDT Cash",
        "trading_fee_percent": 0.1,
        "timeframe": "2h"
      },
      "source": {
        "interface": "UI",
        "raw_result": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-btcusdt-later-2h-4h/export.compact.json",
        "result_sha256": "c881d71f548b50b14b2940f91d1e36888adadc0a826f6373972b324bade92ec6",
        "completion": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-btcusdt-later-2h-4h/completion.json",
        "source_sha256": "cdc30bca8e8a943651f59c1647a4705f34d32d7baa9dd08edab15ceffb9ef3de"
      },
      "points": [
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 2,
            "smooth_k": 8
          },
          "totalTrades": 84,
          "source_row_index": 7
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 3,
            "smooth_k": 8
          },
          "totalTrades": 66,
          "source_row_index": 11
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 4,
            "smooth_k": 8
          },
          "totalTrades": 52,
          "source_row_index": 8
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 5,
            "smooth_k": 8
          },
          "totalTrades": 46,
          "source_row_index": 14
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 6,
            "smooth_k": 8
          },
          "totalTrades": 34,
          "source_row_index": 15
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 7,
            "smooth_k": 8
          },
          "totalTrades": 26,
          "source_row_index": 13
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 8,
            "smooth_k": 8
          },
          "totalTrades": 18,
          "source_row_index": 9
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 9,
            "smooth_k": 8
          },
          "totalTrades": 10,
          "source_row_index": 12
        }
      ],
      "D3": 66,
      "D5": 46,
      "D5_more_executions": false
    },
    {
      "market": {
        "symbol": "BTCUSDT",
        "exchange": "binance",
        "start": "2024-01-01",
        "end": "2025-12-31",
        "starting_amount": 10000,
        "starting_asset": "USDT Cash",
        "trading_fee_percent": 0.1,
        "timeframe": "4h"
      },
      "source": {
        "interface": "UI",
        "raw_result": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-btcusdt-later-2h-4h/export.compact.json",
        "result_sha256": "c881d71f548b50b14b2940f91d1e36888adadc0a826f6373972b324bade92ec6",
        "completion": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-btcusdt-later-2h-4h/completion.json",
        "source_sha256": "cdc30bca8e8a943651f59c1647a4705f34d32d7baa9dd08edab15ceffb9ef3de"
      },
      "points": [
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 2,
            "smooth_k": 8
          },
          "totalTrades": 38,
          "source_row_index": 10
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 3,
            "smooth_k": 8
          },
          "totalTrades": 28,
          "source_row_index": 3
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 4,
            "smooth_k": 8
          },
          "totalTrades": 22,
          "source_row_index": 6
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 5,
            "smooth_k": 8
          },
          "totalTrades": 14,
          "source_row_index": 5
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 6,
            "smooth_k": 8
          },
          "totalTrades": 10,
          "source_row_index": 4
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 7,
            "smooth_k": 8
          },
          "totalTrades": 12,
          "source_row_index": 1
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 8,
            "smooth_k": 8
          },
          "totalTrades": 12,
          "source_row_index": 0
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 9,
            "smooth_k": 8
          },
          "totalTrades": 8,
          "source_row_index": 2
        }
      ],
      "D3": 28,
      "D5": 14,
      "D5_more_executions": false
    },
    {
      "market": {
        "symbol": "ETHUSDT",
        "exchange": "binance",
        "start": "2021-01-01",
        "end": "2023-12-31",
        "starting_amount": 10000,
        "starting_asset": "USDT Cash",
        "trading_fee_percent": 0.1,
        "timeframe": "2h"
      },
      "source": {
        "interface": "UI",
        "raw_result": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-ethusdt-early-2h-4h/export.compact.json",
        "result_sha256": "8f7185188b3f984293ca7b9da2800ef816d3d3f11185a8442a1ef006869bd2aa",
        "completion": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-ethusdt-early-2h-4h/completion.json",
        "source_sha256": "cdc30bca8e8a943651f59c1647a4705f34d32d7baa9dd08edab15ceffb9ef3de"
      },
      "points": [
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 2,
            "smooth_k": 8
          },
          "totalTrades": 122,
          "source_row_index": 0
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 3,
            "smooth_k": 8
          },
          "totalTrades": 96,
          "source_row_index": 1
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 4,
            "smooth_k": 8
          },
          "totalTrades": 84,
          "source_row_index": 12
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 5,
            "smooth_k": 8
          },
          "totalTrades": 74,
          "source_row_index": 3
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 6,
            "smooth_k": 8
          },
          "totalTrades": 62,
          "source_row_index": 10
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 7,
            "smooth_k": 8
          },
          "totalTrades": 50,
          "source_row_index": 7
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 8,
            "smooth_k": 8
          },
          "totalTrades": 46,
          "source_row_index": 8
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 9,
            "smooth_k": 8
          },
          "totalTrades": 36,
          "source_row_index": 6
        }
      ],
      "D3": 96,
      "D5": 74,
      "D5_more_executions": false
    },
    {
      "market": {
        "symbol": "ETHUSDT",
        "exchange": "binance",
        "start": "2021-01-01",
        "end": "2023-12-31",
        "starting_amount": 10000,
        "starting_asset": "USDT Cash",
        "trading_fee_percent": 0.1,
        "timeframe": "4h"
      },
      "source": {
        "interface": "UI",
        "raw_result": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-ethusdt-early-2h-4h/export.compact.json",
        "result_sha256": "8f7185188b3f984293ca7b9da2800ef816d3d3f11185a8442a1ef006869bd2aa",
        "completion": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-ethusdt-early-2h-4h/completion.json",
        "source_sha256": "cdc30bca8e8a943651f59c1647a4705f34d32d7baa9dd08edab15ceffb9ef3de"
      },
      "points": [
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 2,
            "smooth_k": 8
          },
          "totalTrades": 68,
          "source_row_index": 14
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 3,
            "smooth_k": 8
          },
          "totalTrades": 52,
          "source_row_index": 9
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 4,
            "smooth_k": 8
          },
          "totalTrades": 40,
          "source_row_index": 4
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 5,
            "smooth_k": 8
          },
          "totalTrades": 40,
          "source_row_index": 5
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 6,
            "smooth_k": 8
          },
          "totalTrades": 34,
          "source_row_index": 2
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 7,
            "smooth_k": 8
          },
          "totalTrades": 32,
          "source_row_index": 11
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 8,
            "smooth_k": 8
          },
          "totalTrades": 30,
          "source_row_index": 13
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 9,
            "smooth_k": 8
          },
          "totalTrades": 28,
          "source_row_index": 15
        }
      ],
      "D3": 52,
      "D5": 40,
      "D5_more_executions": false
    },
    {
      "market": {
        "symbol": "ETHUSDT",
        "exchange": "binance",
        "start": "2024-01-01",
        "end": "2025-12-31",
        "starting_amount": 10000,
        "starting_asset": "USDT Cash",
        "trading_fee_percent": 0.1,
        "timeframe": "2h"
      },
      "source": {
        "interface": "UI",
        "raw_result": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-ethusdt-later-2h/export.compact.json",
        "result_sha256": "a8a61b47eb9df6a4f4cb41a7d4efc43af34958e4519778c45bdcfa9d625b5a7d",
        "completion": "stochastic/raw-ui/UI-DIAG-stochastic-cross-frozen-ethusdt-later-2h/completion.json",
        "source_sha256": "cdc30bca8e8a943651f59c1647a4705f34d32d7baa9dd08edab15ceffb9ef3de"
      },
      "points": [
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 2,
            "smooth_k": 8
          },
          "totalTrades": 48,
          "source_row_index": 1
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 3,
            "smooth_k": 8
          },
          "totalTrades": 40,
          "source_row_index": 0
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 4,
            "smooth_k": 8
          },
          "totalTrades": 36,
          "source_row_index": 2
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 5,
            "smooth_k": 8
          },
          "totalTrades": 34,
          "source_row_index": 5
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 6,
            "smooth_k": 8
          },
          "totalTrades": 26,
          "source_row_index": 7
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 7,
            "smooth_k": 8
          },
          "totalTrades": 22,
          "source_row_index": 3
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 8,
            "smooth_k": 8
          },
          "totalTrades": 16,
          "source_row_index": 4
        },
        {
          "parameters": {
            "lower": 10,
            "length": 57,
            "smooth_d": 9,
            "smooth_k": 8
          },
          "totalTrades": 14,
          "source_row_index": 6
        }
      ],
      "D3": 40,
      "D5": 34,
      "D5_more_executions": false
    }
  ]
}
