{
 "meta": {
  "lot": "pages-astra (remesure du benchmark-pine du 2026-11-23)",
  "run_at_utc": "2026-11-29T12:50:11.119Z",
  "engine": {
   "js": "/static/juge/pvm1/sa_pine_vm.js",
   "wasm": "/static/juge/pvm1/sa_pine_vm_bg.wasm",
   "wasm_sha256": "b9b7c8c7402db716e84c72a57eb75b61957a0b270503f4813391b2a664814687",
   "adapter": "/static/juge/pvm1/juge_adaptateur.js",
   "adapter_sha256": "4bcf4f5264ede87f90b0a4ca95a4fecc3c49f01fa1535e42f6b9d7e1518d32ef",
   "coach": "/static/juge/v254/juge_coach.js",
   "coach_sha256": "4c731b24fd111a6092004e40c06c5e2f99f3bd4019cfcab57967eecb6c1f790e",
   "verdict_schema": "sa.judge.verdict.v254",
   "previous_run": "/static/benchmark/pine-strategies-2026-11-23/results.json (moteur v271r)"
  },
  "data": {
   "file": "/static/juge/data/v3/btcusdt-1d.bin",
   "sha256": "48a5598c9380a16af8534fee682d1b7e1a52838de1b13f157612ce7103052603",
   "candles": 3348,
   "first": "2017-08-17T00:00:00.000Z",
   "last": "2026-10-16T00:00:00.000Z"
  },
  "settings": {
   "unit": "1d",
   "undeclared_fee_bps": 10,
   "certified": false,
   "holdout_percent": 20
  },
  "node": "v22.22.2"
 },
 "runs": [
  {
   "group": "classic",
   "file": "01-rsi-30-70.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"RSI 30/70\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nrsiValue = ta.rsi(close, 14)\nif ta.crossover(rsiValue, 30)\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(rsiValue, 70)\n    strategy.close(\"Long\")",
   "pineSha256": "ee9c44efadf357ce3d5068d6d29a99df2e2bfb5c4b9d89a0760c55de4a26ac43",
   "ms": 36,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 3 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 3 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "ee9c44efadf357ce3d5068d6d29a99df2e2bfb5c4b9d89a0760c55de4a26ac43",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "RSI 30/70",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 1,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 11,
     "pnlPct": 217.4,
     "winRatePct": 72.73,
     "maxDrawdownPct": 50.42
    },
    "holdout": {
     "bars": 669,
     "trades": 3,
     "closedTrades": 3,
     "pnlPct": 25.34,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 48.59,
     "maxDrawdownPct": 28.71,
     "winRatePct": 100,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 94.38,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 13.5,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 135,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2754,
      "exit_index": 2817,
      "entry_price": 86064.54,
      "exit_price": 95856.42,
      "pnl_pct": 11.165991289792528,
      "reason": "Close",
      "mfe_pct": 13.746823023744739,
      "mae_pct": 13.427760143724692
     },
     {
      "side": "long",
      "entry_index": 3016,
      "exit_index": 3074,
      "entry_price": 92960.83,
      "exit_price": 95604.81,
      "pnl_pct": 2.641342982845566,
      "reason": "Close",
      "mfe_pct": 5.3395177302095975,
      "mae_pct": 13.296815443665896
     },
     {
      "side": "long",
      "entry_index": 3096,
      "exit_index": 3301,
      "entry_price": 70580.26,
      "exit_price": 77682,
      "pnl_pct": 9.85187322914368,
      "reason": "Close",
      "mfe_pct": 17.38409577975486,
      "mae_pct": 18.107144972262773
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "02-ema-ribbon-8-21-55.pine",
   "code": "mirage",
   "title": {
    "fr": "Pas de preuve d’avantage, pour l’instant",
    "en": "No evidence of an edge, for now"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✗, essais comptés ✓, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✗, trials counted ✓, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"EMA ribbon 8/21/55\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nfast = ta.ema(close, 8)\nmiddle = ta.ema(close, 21)\nslow = ta.ema(close, 55)\nif fast > middle and middle > slow\n    strategy.entry(\"Long\", strategy.long)\nif fast < middle\n    strategy.close(\"Long\")",
   "pineSha256": "6acb3d6f130a367e5318511c2605dc75e059169fe949ea75aec0bd64b928436a",
   "ms": 19,
   "marches": {
    "code": "mirage",
    "k": 2,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "11 trades sur la période jamais vue (il en faut 10).",
      "en": "11 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ko",
      "fr": "−7,8 % sur la période jamais vue : une perte, même si garder le BTC faisait −23,3 %.",
      "en": "−7.8% on the period it never saw: a loss, even though holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ok",
      "fr": "Sharpe déflaté de l’entraînement : 99,9 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 99.9% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 42 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 42 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "6acb3d6f130a367e5318511c2605dc75e059169fe949ea75aec0bd64b928436a",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "EMA ribbon 8/21/55",
    "verdict": {
     "code": "mirage",
     "reasons": [
      "holdout_not_profitable"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 2,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 32,
     "pnlPct": 3571.38,
     "winRatePct": 40.63,
     "maxDrawdownPct": 67.64
    },
    "holdout": {
     "bars": 669,
     "trades": 11,
     "closedTrades": 11,
     "pnlPct": -7.78,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 15.47,
     "maxDrawdownPct": 20.58,
     "winRatePct": 27.27,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.98,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 42.199999999999996,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 422,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2680,
      "exit_index": 2686,
      "entry_price": 106133.74,
      "exit_price": 94881.47,
      "pnl_pct": -10.791370595250863,
      "reason": "Close",
      "mfe_pct": 0.3686292408050358,
      "mae_pct": 13.097814135259918
     },
     {
      "side": "long",
      "entry_index": 2699,
      "exit_index": 2703,
      "entry_price": 98363.61,
      "exit_price": 92552.49,
      "pnl_pct": -6.101886764831013,
      "reason": "Close",
      "mfe_pct": 4.433316345343571,
      "mae_pct": 7.2790537069552474
     },
     {
      "side": "long",
      "entry_index": 2709,
      "exit_index": 2729,
      "entry_price": 100497.35,
      "exit_price": 97763.14,
      "pnl_pct": -2.917958025758894,
      "reason": "Close",
      "mfe_pct": 9.045661403012112,
      "mae_pct": 9.220491883616836
     },
     {
      "side": "long",
      "entry_index": 2809,
      "exit_index": 2850,
      "entry_price": 94638.68,
      "exit_price": 101508.69,
      "pnl_pct": 7.05193968259068,
      "reason": "Close",
      "mfe_pct": 18.323712883569392,
      "mae_pct": 1.942831408891162
     },
     {
      "side": "long",
      "entry_index": 2853,
      "exit_index": 2863,
      "entry_price": 105734.01,
      "exit_price": 104886.79,
      "pnl_pct": -1.0004735467802661,
      "reason": "Close",
      "mfe_pct": 4.536061764800184,
      "mae_pct": 2.903228582742674
     },
     {
      "side": "long",
      "entry_index": 2871,
      "exit_index": 2908,
      "entry_price": 106947.06,
      "exit_price": 112546.35,
      "pnl_pct": 5.030336121441775,
      "reason": "Close",
      "mfe_pct": 15.2140133632472,
      "mae_pct": 1.7269011415554534
     },
     {
      "side": "long",
      "entry_index": 2915,
      "exit_index": 2925,
      "entry_price": 116462.25,
      "exit_price": 112872.95,
      "pnl_pct": -3.2788609184521182,
      "reason": "Close",
      "mfe_pct": 6.879267745557037,
      "mae_pct": 3.2024711870155333
     },
     {
      "side": "long",
      "entry_index": 2952,
      "exit_index": 2961,
      "entry_price": 115349.71,
      "exit_price": 113307.01,
      "pnl_pct": -1.969104837801509,
      "reason": "Close",
      "mfe_pct": 2.210920166162527,
      "mae_pct": 3.733906223084568
     },
     {
      "side": "long",
      "entry_index": 2968,
      "exit_index": 2979,
      "entry_price": 118594.99,
      "exit_price": 114958.81,
      "pnl_pct": -3.262982525653072,
      "reason": "Close",
      "mfe_pct": 6.412277618135471,
      "mae_pct": 13.992994139128479
     },
     {
      "side": "long",
      "entry_index": 3166,
      "exit_index": 3198,
      "entry_price": 77072.01,
      "exit_price": 76834.36,
      "pnl_pct": -0.508039650192066,
      "reason": "Close",
      "mfe_pct": 7.496872081057709,
      "mae_pct": 4.343600225295795
     },
     {
      "side": "long",
      "entry_index": 3291,
      "exit_index": 3346,
      "entry_price": 73027.02,
      "exit_price": 81682.02,
      "pnl_pct": 11.639925824715291,
      "reason": "Close",
      "mfe_pct": 19.67579945066907,
      "mae_pct": 0
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "03-bollinger-reversion-20-2.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Bollinger mean reversion 20/2\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\n[basis, upper, lower] = ta.bb(close, 20, 2.0)\nif close < lower\n    strategy.entry(\"Long\", strategy.long)\nif close > upper\n    strategy.close(\"Long\")",
   "pineSha256": "670a9918a5ae360fd2e899c8d11f140c15a0576e516f05f8f0cf26cd017c54b5",
   "ms": 11,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 8 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 8 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "670a9918a5ae360fd2e899c8d11f140c15a0576e516f05f8f0cf26cd017c54b5",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Bollinger mean reversion 20/2",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 0,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 25,
     "pnlPct": -43.32,
     "winRatePct": 44,
     "maxDrawdownPct": 85.09
    },
    "holdout": {
     "bars": 669,
     "trades": 8,
     "closedTrades": 8,
     "pnlPct": -4.26,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 18.99,
     "maxDrawdownPct": 39.48,
     "winRatePct": 50,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 59.94,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 36,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 360,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2729,
      "exit_index": 2806,
      "entry_price": 97763.14,
      "exit_price": 93442.99,
      "pnl_pct": -4.614577774404539,
      "reason": "Close",
      "mfe_pct": 2.4291875240504814,
      "mae_pct": 23.78722696509134
     },
     {
      "side": "long",
      "entry_index": 2850,
      "exit_index": 2885,
      "entry_price": 101508.69,
      "exit_price": 116010.01,
      "pnl_pct": 14.071505897672397,
      "reason": "Close",
      "mfe_pct": 15.131029668494387,
      "mae_pct": 3.2595140376651517
     },
     {
      "side": "long",
      "entry_index": 2906,
      "exit_index": 2919,
      "entry_price": 115764.07,
      "exit_price": 123306.44,
      "pnl_pct": 6.308779131556099,
      "reason": "Close",
      "mfe_pct": 6.827437908843379,
      "mae_pct": 3.320607162481422
     },
     {
      "side": "long",
      "entry_index": 2931,
      "exit_index": 2948,
      "entry_price": 110111.98,
      "exit_price": 115482.69,
      "pnl_pct": 4.6726208447073665,
      "reason": "Close",
      "mfe_pct": 4.8824024415871925,
      "mae_pct": 2.594613229187229
     },
     {
      "side": "long",
      "entry_index": 2962,
      "exit_index": 2969,
      "entry_price": 108994.49,
      "exit_price": 120529.35,
      "pnl_pct": 10.37239236588932,
      "reason": "Close",
      "mfe_pct": 11.03503489029583,
      "mae_pct": 0.34352195234823174
     },
     {
      "side": "long",
      "entry_index": 3002,
      "exit_index": 3061,
      "entry_price": 101497.23,
      "exit_price": 89995.14,
      "pnl_pct": -11.521085225675613,
      "reason": "Close",
      "mfe_pct": 5.914220516165814,
      "mae_pct": 20.588965826949163
     },
     {
      "side": "long",
      "entry_index": 3090,
      "exit_index": 3122,
      "entry_price": 78741.1,
      "exit_price": 72666.77,
      "pnl_pct": -7.906592452988339,
      "reason": "Close",
      "mfe_pct": 0.8672726187467461,
      "mae_pct": 23.80091210308213
     },
     {
      "side": "long",
      "entry_index": 3201,
      "exit_index": 3261,
      "entry_price": 75539.5,
      "exit_price": 66556.15,
      "pnl_pct": -12.080362790328245,
      "reason": "Close",
      "mfe_pct": 3.3631411380800778,
      "mae_pct": 23.48348877077555
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "04-macd-12-26-9.pine",
   "code": "mirage",
   "title": {
    "fr": "Pas de preuve d’avantage, pour l’instant",
    "en": "No evidence of an edge, for now"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✗, essais comptés ✓, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✗, trials counted ✓, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"MACD 12/26/9 signal cross\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\n[macdLine, signalLine, histogram] = ta.macd(close, 12, 26, 9)\nif ta.crossover(macdLine, signalLine)\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(macdLine, signalLine)\n    strategy.close(\"Long\")",
   "pineSha256": "1791aaa10eae25ff4b1c3702fa1db6979ce59afa6302fe291f6b70c7d1438105",
   "ms": 14,
   "marches": {
    "code": "mirage",
    "k": 2,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "28 trades sur la période jamais vue (il en faut 10).",
      "en": "28 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ko",
      "fr": "−11,0 % sur la période jamais vue : une perte, même si garder le BTC faisait −23,3 %.",
      "en": "−11.0% on the period it never saw: a loss, even though holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ok",
      "fr": "Sharpe déflaté de l’entraînement : 99,9 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 99.9% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 45 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 45 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "1791aaa10eae25ff4b1c3702fa1db6979ce59afa6302fe291f6b70c7d1438105",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "MACD 12/26/9 signal cross",
    "verdict": {
     "code": "mirage",
     "reasons": [
      "holdout_not_profitable"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 2,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 91,
     "pnlPct": 2669.5,
     "winRatePct": 41.76,
     "maxDrawdownPct": 53.09
    },
    "holdout": {
     "bars": 669,
     "trades": 28,
     "closedTrades": 28,
     "pnlPct": -10.96,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 12.29,
     "maxDrawdownPct": 28.12,
     "winRatePct": 28.57,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.95,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 45,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 450,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2699,
      "exit_index": 2703,
      "entry_price": 98363.61,
      "exit_price": 92552.49,
      "pnl_pct": -6.101886764831014,
      "reason": "Close",
      "mfe_pct": 4.433316345343572,
      "mae_pct": 7.2790537069552474
     },
     {
      "side": "long",
      "entry_index": 2709,
      "exit_index": 2722,
      "entry_price": 100497.35,
      "exit_price": 101335.52,
      "pnl_pct": 0.6331879696330285,
      "reason": "Close",
      "mfe_pct": 9.045661403012113,
      "mae_pct": 3.1465705314617756
     },
     {
      "side": "long",
      "entry_index": 2745,
      "exit_index": 2749,
      "entry_price": 98305.01,
      "exit_price": 91552.88,
      "pnl_pct": -7.0616827056932205,
      "reason": "Close",
      "mfe_pct": 1.1901631463137081,
      "mae_pct": 7.075682104096221
     },
     {
      "side": "long",
      "entry_index": 2759,
      "exit_index": 2761,
      "entry_price": 89931.88,
      "exit_price": 86222.46,
      "pnl_pct": -4.320575017446537,
      "reason": "Close",
      "mfe_pct": 1.5024038194242124,
      "mae_pct": 5.8542643609807845
     },
     {
      "side": "long",
      "entry_index": 2768,
      "exit_index": 2790,
      "entry_price": 84338.44,
      "exit_price": 78430,
      "pnl_pct": -7.198625490345806,
      "reason": "Close",
      "mfe_pct": 5.2490774076447115,
      "mae_pct": 8.518784554231736
     },
     {
      "side": "long",
      "entry_index": 2795,
      "exit_index": 2831,
      "entry_price": 83423.83,
      "exit_price": 103126.65,
      "pnl_pct": 23.394118347239623,
      "reason": "Close",
      "mfe_pct": 26.845590762255817,
      "mae_pct": 0.7562347593007953
     },
     {
      "side": "long",
      "entry_index": 2832,
      "exit_index": 2833,
      "entry_price": 106454.27,
      "exit_price": 105573.73,
      "pnl_pct": -1.0263261398532986,
      "reason": "Close",
      "mfe_pct": 0.6146770815299294,
      "mae_pct": 4.1842098020117025
     },
     {
      "side": "long",
      "entry_index": 2835,
      "exit_index": 2838,
      "entry_price": 109643.99,
      "exit_price": 107761.9,
      "pnl_pct": -1.9148298871648244,
      "reason": "Close",
      "mfe_pct": 2.130540853173981,
      "mae_pct": 2.5938403007770927
     },
     {
      "side": "long",
      "entry_index": 2855,
      "exit_index": 2857,
      "entry_price": 110274.39,
      "exit_price": 105671.74,
      "pnl_pct": -4.369642062857925,
      "reason": "Close",
      "mfe_pct": 0.10666121118420635,
      "mae_pct": 4.17383401531398
     },
     {
      "side": "long",
      "entry_index": 2871,
      "exit_index": 2896,
      "entry_price": 106947.06,
      "exit_price": 117380.36,
      "pnl_pct": 9.545818819142857,
      "reason": "Close",
      "mfe_pct": 15.214013363247203,
      "mae_pct": 1.7269011415554534
     },
     {
      "side": "long",
      "entry_index": 2897,
      "exit_index": 2898,
      "entry_price": 119954.43,
      "exit_price": 118756,
      "pnl_pct": -1.198071992839275,
      "reason": "Close",
      "mfe_pct": 0.11301791855457693,
      "mae_pct": 2.2120316856993054
     },
     {
      "side": "long",
      "entry_index": 2917,
      "exit_index": 2923,
      "entry_price": 118686,
      "exit_price": 117405.01,
      "pnl_pct": -1.2782308022850253,
      "reason": "Close",
      "mfe_pct": 4.876733565879716,
      "mae_pct": 1.5857051379269627
     },
     {
      "side": "long",
      "entry_index": 2943,
      "exit_index": 2960,
      "entry_price": 110187.98,
      "exit_price": 111998.8,
      "pnl_pct": 1.4417482015733538,
      "reason": "Close",
      "mfe_pct": 6.998966674949486,
      "mae_pct": 0.007242169245679906
     },
     {
      "side": "long",
      "entry_index": 2968,
      "exit_index": 2977,
      "entry_price": 118594.99,
      "exit_price": 112774.49,
      "pnl_pct": -5.102972292505779,
      "reason": "Close",
      "mfe_pct": 6.41227761813547,
      "mae_pct": 13.992994139128477
     },
     {
      "side": "long",
      "entry_index": 2993,
      "exit_index": 3001,
      "entry_price": 114559.41,
      "exit_price": 106583.05,
      "pnl_pct": -7.155677966567741,
      "reason": "Close",
      "mfe_pct": 1.606668539930501,
      "mae_pct": 8.076900884877118
     },
     {
      "side": "long",
      "entry_index": 3025,
      "exit_index": 3045,
      "entry_price": 91333.94,
      "exit_price": 86243.23,
      "pnl_pct": -5.768159317335928,
      "reason": "Close",
      "mfe_pct": 3.563899685045891,
      "mae_pct": 8.22386508235603
     },
     {
      "side": "long",
      "entry_index": 3048,
      "exit_index": 3079,
      "entry_price": 88360.91,
      "exit_price": 88427.66,
      "pnl_pct": -0.12453308821740294,
      "reason": "Close",
      "mfe_pct": 10.823315423075659,
      "mae_pct": 2.196570859218181
     },
     {
      "side": "long",
      "entry_index": 3105,
      "exit_index": 3140,
      "entry_price": 68832.59,
      "exit_price": 67859,
      "pnl_pct": -1.6130173076445278,
      "reason": "Close",
      "mfe_pct": 10.412814627489686,
      "mae_pct": 9.185053184835843
     },
     {
      "side": "long",
      "entry_index": 3143,
      "exit_index": 3144,
      "entry_price": 71336.53,
      "exit_price": 68820.31,
      "pnl_pct": -3.723725894713411,
      "reason": "Close",
      "mfe_pct": 0.1405871577998091,
      "mae_pct": 4.462692536348486
     },
     {
      "side": "long",
      "entry_index": 3155,
      "exit_index": 3177,
      "entry_price": 68853.66,
      "exit_price": 76342.78,
      "pnl_pct": 10.665988648969416,
      "reason": "Close",
      "mfe_pct": 15.441444942796068,
      "mae_pct": 1.6290346802189
     },
     {
      "side": "long",
      "entry_index": 3183,
      "exit_index": 3191,
      "entry_price": 79861.01,
      "exit_price": 80504.47,
      "pnl_pct": 0.6049191213584783,
      "reason": "Close",
      "mfe_pct": 3.742740042982183,
      "mae_pct": 0.8508908164321974
     },
     {
      "side": "long",
      "entry_index": 3223,
      "exit_index": 3237,
      "entry_price": 64458.01,
      "exit_price": 60029.01,
      "pnl_pct": -7.0642686921299624,
      "reason": "Close",
      "mfe_pct": 4.396877905476747,
      "mae_pct": 9.84051477853567
     },
     {
      "side": "long",
      "entry_index": 3239,
      "exit_index": 3240,
      "entry_price": 60260.2,
      "exit_price": 58624.71,
      "pnl_pct": -2.9113327038410057,
      "reason": "Close",
      "mfe_pct": 0.027115741401461963,
      "mae_pct": 3.4171808258186944
     },
     {
      "side": "long",
      "entry_index": 3241,
      "exit_index": 3267,
      "entry_price": 60024,
      "exit_price": 63755.86,
      "pnl_pct": 6.0110624750099975,
      "reason": "Close",
      "mfe_pct": 11.54896374783419,
      "mae_pct": 0.7263761162201786
     },
     {
      "side": "long",
      "entry_index": 3278,
      "exit_index": 3282,
      "entry_price": 64923.2,
      "exit_price": 63600.01,
      "pnl_pct": -2.2360469138920993,
      "reason": "Close",
      "mfe_pct": 0.8490955467383032,
      "mae_pct": 2.595682283066757
     },
     {
      "side": "long",
      "entry_index": 3289,
      "exit_index": 3304,
      "entry_price": 64725.42,
      "exit_price": 77340.01,
      "pnl_pct": 19.2699013308836,
      "reason": "Close",
      "mfe_pct": 25.883879934653184,
      "mae_pct": 0.8642972112038799
     },
     {
      "side": "long",
      "entry_index": 3305,
      "exit_index": 3306,
      "entry_price": 81270.37,
      "exit_price": 79660.77,
      "pnl_pct": -2.1785690652078875,
      "reason": "Close",
      "mfe_pct": 0.19364991201591017,
      "mae_pct": 3.2119578143916354
     },
     {
      "side": "long",
      "entry_index": 3323,
      "exit_index": 3331,
      "entry_price": 86620.01,
      "exit_price": 83663.66,
      "pnl_pct": -3.6095974475181785,
      "reason": "Close",
      "mfe_pct": 0.7602515862096977,
      "mae_pct": 4.68368682940581
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "05-supertrend-3-10.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"SuperTrend 3/10\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\n[trendLine, direction] = ta.supertrend(3, 10)\nif direction < 0\n    strategy.entry(\"Long\", strategy.long)\nif direction > 0\n    strategy.close(\"Long\")",
   "pineSha256": "e03e6336688b69b7e66d97384e819d6e9be9ffbfa000357a1373f297591f2323",
   "ms": 10,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 9 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 9 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "e03e6336688b69b7e66d97384e819d6e9be9ffbfa000357a1373f297591f2323",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "SuperTrend 3/10",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 1,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 30,
     "pnlPct": 1748.49,
     "winRatePct": 43.33,
     "maxDrawdownPct": 61.73
    },
    "holdout": {
     "bars": 669,
     "trades": 9,
     "closedTrades": 9,
     "pnlPct": -29.98,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": -6.73,
     "maxDrawdownPct": 46.11,
     "winRatePct": 33.33,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.87,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 100,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 1000,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2680,
      "exit_index": 2686,
      "entry_price": 106133.74,
      "exit_price": 94881.47,
      "pnl_pct": -10.791370595250863,
      "reason": "Close",
      "mfe_pct": 0.3686292408050358,
      "mae_pct": 13.097814135259918
     },
     {
      "side": "long",
      "entry_index": 2711,
      "exit_index": 2749,
      "entry_price": 104077.47,
      "exit_price": 91552.88,
      "pnl_pct": -12.221876982597673,
      "reason": "Close",
      "mfe_pct": 5.294642538870324,
      "mae_pct": 12.34318051735885
     },
     {
      "side": "long",
      "entry_index": 2755,
      "exit_index": 2763,
      "entry_price": 94269.99,
      "exit_price": 78595.86,
      "pnl_pct": -16.810223327699518,
      "reason": "Close",
      "mfe_pct": 0.15537288165618893,
      "mae_pct": 17.831846592961345
     },
     {
      "side": "long",
      "entry_index": 2806,
      "exit_index": 2867,
      "entry_price": 93442.99,
      "exit_price": 100963.87,
      "pnl_pct": 7.8405808076132715,
      "reason": "Close",
      "mfe_pct": 19.83777488284567,
      "mae_pct": 1.9080939083820094
     },
     {
      "side": "long",
      "entry_index": 2884,
      "exit_index": 2927,
      "entry_price": 111234,
      "exit_price": 112500,
      "pnl_pct": 0.937003074599493,
      "reason": "Close",
      "mfe_pct": 11.902835463976842,
      "mae_pct": 0.6598701835769639
     },
     {
      "side": "long",
      "entry_index": 2968,
      "exit_index": 2977,
      "entry_price": 118594.99,
      "exit_price": 112774.49,
      "pnl_pct": -5.102972292505779,
      "reason": "Close",
      "mfe_pct": 6.41227761813547,
      "mae_pct": 13.992994139128479
     },
     {
      "side": "long",
      "entry_index": 3072,
      "exit_index": 3079,
      "entry_price": 95413.99,
      "exit_price": 88427.66,
      "pnl_pct": -7.514801183767707,
      "reason": "Close",
      "mfe_pct": 2.6311655135688174,
      "mae_pct": 7.8793581528243495
     },
     {
      "side": "long",
      "entry_index": 3122,
      "exit_index": 3147,
      "entry_price": 72666.77,
      "exit_price": 66010.93,
      "pnl_pct": -9.350240419382905,
      "reason": "Close",
      "mfe_pct": 4.587007238659425,
      "mae_pct": 10.550585914304436
     },
     {
      "side": "long",
      "entry_index": 3162,
      "exit_index": 3201,
      "entry_price": 74418,
      "exit_price": 75539.5,
      "pnl_pct": 1.305520841731839,
      "reason": "Close",
      "mfe_pct": 11.330592061060495,
      "mae_pct": 1.4890886613453658
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "06-stoch-rsi.pine",
   "code": "mirage",
   "title": {
    "fr": "Pas de preuve d’avantage, pour l’instant",
    "en": "No evidence of an edge, for now"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✗, essais comptés ✗, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✗, trials counted ✗, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Stochastic RSI 14/14/3/3\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nrsiValue = ta.rsi(close, 14)\nk = ta.sma(ta.stoch(rsiValue, rsiValue, rsiValue, 14), 3)\nd = ta.sma(k, 3)\nif ta.crossover(k, d) and k < 20\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(k, d) and k > 80\n    strategy.close(\"Long\")",
   "pineSha256": "de800e3c81700ea424aef9506d84f56d681e392aa002edea5e2c23ad0ea47402",
   "ms": 21,
   "marches": {
    "code": "mirage",
    "k": 1,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "14 trades sur la période jamais vue (il en faut 10).",
      "en": "14 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ko",
      "fr": "−13,6 % sur la période jamais vue : une perte, même si garder le BTC faisait −23,3 %.",
      "en": "−13.6% on the period it never saw: a loss, even though holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ko",
      "fr": "Sharpe déflaté de l’entraînement : 84,2 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 84.2% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 42 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 42 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "de800e3c81700ea424aef9506d84f56d681e392aa002edea5e2c23ad0ea47402",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Stochastic RSI 14/14/3/3",
    "verdict": {
     "code": "mirage",
     "reasons": [
      "holdout_not_profitable"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 1,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 52,
     "pnlPct": 49.94,
     "winRatePct": 55.77,
     "maxDrawdownPct": 78.83
    },
    "holdout": {
     "bars": 669,
     "trades": 14,
     "closedTrades": 14,
     "pnlPct": -13.6,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 9.65,
     "maxDrawdownPct": 41.13,
     "winRatePct": 57.14,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 84.23,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 42.199999999999996,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 422,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2687,
      "exit_index": 2713,
      "entry_price": 98663.58,
      "exit_price": 101331.57,
      "pnl_pct": 2.5014243857763985,
      "reason": "Close",
      "mfe_pct": 7.863945338289967,
      "mae_pct": 9.534308404377786
     },
     {
      "side": "long",
      "entry_index": 2728,
      "exit_index": 2780,
      "entry_price": 101328.51,
      "exit_price": 87232.01,
      "pnl_pct": -14.097770232681802,
      "reason": "Close",
      "mfe_pct": 0.3985058104574941,
      "mae_pct": 24.398375146343312
     },
     {
      "side": "long",
      "entry_index": 2841,
      "exit_index": 2875,
      "entry_price": 108938.17,
      "exit_price": 107146.51,
      "pnl_pct": -1.8430130412508339,
      "reason": "Close",
      "mfe_pct": 1.4613794228414154,
      "mae_pct": 9.857123540812186
     },
     {
      "side": "long",
      "entry_index": 2902,
      "exit_index": 2920,
      "entry_price": 119415.56,
      "exit_price": 118295.09,
      "pnl_pct": -1.1373565136737636,
      "reason": "Close",
      "mfe_pct": 4.235997385935303,
      "mae_pct": 6.276870451388411
     },
     {
      "side": "long",
      "entry_index": 2928,
      "exit_index": 2951,
      "entry_price": 116936,
      "exit_price": 115268.01,
      "pnl_pct": -1.624986325853463,
      "reason": "Close",
      "mfe_pct": 0.08038585209003216,
      "mae_pct": 8.278887596634057
     },
     {
      "side": "long",
      "entry_index": 2963,
      "exit_index": 2974,
      "entry_price": 109643.46,
      "exit_price": 121332.96,
      "pnl_pct": 10.450713229954617,
      "reason": "Close",
      "mfe_pct": 15.10000687683515,
      "mae_pct": 0.5281299951679855
     },
     {
      "side": "long",
      "entry_index": 2986,
      "exit_index": 2995,
      "entry_price": 108642.77,
      "exit_price": 112898.44,
      "pnl_pct": 3.7132050204537292,
      "reason": "Close",
      "mfe_pct": 7.140125385241921,
      "mae_pct": 1.8188785134988752
     },
     {
      "side": "long",
      "entry_index": 3021,
      "exit_index": 3028,
      "entry_price": 86830,
      "exit_price": 90360.01,
      "pnl_pct": 3.861361269146602,
      "reason": "Close",
      "mfe_pct": 7.211793159046413,
      "mae_pct": 1.7943107221006567
     },
     {
      "side": "long",
      "entry_index": 3081,
      "exit_index": 3107,
      "entry_price": 89559.68,
      "exit_price": 67503.52,
      "pnl_pct": -24.802704967235247,
      "reason": "Close",
      "mfe_pct": 1.859441659461057,
      "mae_pct": 33.005566790770125
     },
     {
      "side": "long",
      "entry_index": 3148,
      "exit_index": 3161,
      "entry_price": 66797.38,
      "exit_price": 70741.56,
      "pnl_pct": 5.698787976414632,
      "reason": "Close",
      "mfe_pct": 10.468404599102533,
      "mae_pct": 1.624704442000583
     },
     {
      "side": "long",
      "entry_index": 3199,
      "exit_index": 3227,
      "entry_price": 77552.24,
      "exit_price": 64509.4,
      "pnl_pct": -17.001316325614837,
      "reason": "Close",
      "mfe_pct": 0.8352563381792645,
      "mae_pct": 23.753446708953863
     },
     {
      "side": "long",
      "entry_index": 3238,
      "exit_index": 3247,
      "entry_price": 59577.01,
      "exit_price": 63364,
      "pnl_pct": 6.150105535675587,
      "reason": "Close",
      "mfe_pct": 8.598937744609872,
      "mae_pct": 2.982392033437059
     },
     {
      "side": "long",
      "entry_index": 3270,
      "exit_index": 3293,
      "entry_price": 64780.03,
      "exit_price": 77074.94,
      "pnl_pct": 18.760496143641802,
      "reason": "Close",
      "mfe_pct": 22.72300583991703,
      "mae_pct": 3.8669787587316624
     },
     {
      "side": "long",
      "entry_index": 3306,
      "exit_index": 3325,
      "entry_price": 79660.77,
      "exit_price": 84397.6,
      "pnl_pct": 5.740305585798382,
      "reason": "Close",
      "mfe_pct": 9.70979818548075,
      "mae_pct": 5.890979964165552
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "07-atr-breakout.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"ATR breakout 20 with 2 ATR stop\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\natrValue = ta.atr(14)\npriorHigh = ta.highest(high, 20)[1]\natrAverage = ta.sma(atrValue, 20)\nvar float stopPrice = na\nif strategy.position_size == 0\n    stopPrice := na\n    if close > priorHigh and atrValue > atrAverage\n        stopPrice := close - 2 * atrValue\n        strategy.entry(\"Long\", strategy.long)\nif not na(stopPrice)\n    strategy.exit(\"ATR stop\", \"Long\", stop=stopPrice)",
   "pineSha256": "bebef56f4e32209db045ad8b1f382210978dcdb4c1f973bbacc02c32aac93d60",
   "ms": 17,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 8 trades sur la période d’entraînement, il en faut 10 pour ouvrir la période scellée.",
      "en": "Only 8 trades on the training period, 10 are needed to open the sealed period."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : le juge s’est arrêté avant.",
      "en": "Not judged: the judge stopped before."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : le juge s’est arrêté avant.",
      "en": "Not judged: the judge stopped before."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : le juge s’est arrêté avant.",
      "en": "Not judged: the judge stopped before."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": null,
   "engine": {
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "bebef56f4e32209db045ad8b1f382210978dcdb4c1f973bbacc02c32aac93d60",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "ATR breakout 20 with 2 ATR stop",
    "error": {
     "code": "proof.training_activity_insufficient",
     "field": "script",
     "details": {
      "minTrainTrades": 10,
      "trainTrades": 8,
      "testPeriodOpened": false
     },
     "message": "The training part made 8 trades (at least 10 are needed to judge it): the test period was not opened."
    }
   }
  },
  {
   "group": "classic",
   "file": "08-ema-cross-12-26.pine",
   "code": "inconclusive",
   "title": {
    "fr": "Pas encore de preuve d’avantage : 3 marches sur 4 franchies",
    "en": "No evidence of an edge yet: 3 of 4 steps passed"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✓, essais comptés ✓, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✓, trials counted ✓, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"EMA cross 12/26\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nfast = ta.ema(close, 12)\nslow = ta.ema(close, 26)\nif ta.crossover(fast, slow)\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(fast, slow)\n    strategy.close(\"Long\")",
   "pineSha256": "e874c7643099bf783638eaa81eed71b7e684dc8bb5a07687361b0e10d7a349bd",
   "ms": 13,
   "marches": {
    "code": "inconclusive",
    "k": 3,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "12 trades sur la période jamais vue (il en faut 10).",
      "en": "12 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ok",
      "fr": "+1,5 % sur la période jamais vue, quand garder le BTC faisait −23,3 %.",
      "en": "+1.5% on the period it never saw, while holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ok",
      "fr": "Sharpe déflaté de l’entraînement : 99,9 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 99.9% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 34 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 34 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "e874c7643099bf783638eaa81eed71b7e684dc8bb5a07687361b0e10d7a349bd",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "EMA cross 12/26",
    "verdict": {
     "code": "inconclusive",
     "reasons": [
      "spa_test_not_significant"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 3,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 36,
     "pnlPct": 5719.77,
     "winRatePct": 36.11,
     "maxDrawdownPct": 62.11
    },
    "holdout": {
     "bars": 669,
     "trades": 12,
     "closedTrades": 12,
     "pnlPct": 1.46,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 24.71,
     "maxDrawdownPct": 31.89,
     "winRatePct": 25,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.99,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 33.900000000000006,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 339,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2699,
      "exit_index": 2703,
      "entry_price": 98363.61,
      "exit_price": 92552.49,
      "pnl_pct": -6.101886764831014,
      "reason": "Close",
      "mfe_pct": 4.433316345343572,
      "mae_pct": 7.2790537069552474
     },
     {
      "side": "long",
      "entry_index": 2710,
      "exit_index": 2730,
      "entry_price": 99987.3,
      "exit_price": 96612.44,
      "pnl_pct": -3.571913372998371,
      "reason": "Close",
      "mfe_pct": 9.601919443769354,
      "mae_pct": 8.757412191348303
     },
     {
      "side": "long",
      "entry_index": 2803,
      "exit_index": 2866,
      "entry_price": 85077,
      "exit_price": 102120.02,
      "pnl_pct": 19.81243224373215,
      "reason": "Close",
      "mfe_pct": 31.621942475639717,
      "mae_pct": 1.3252465413684027
     },
     {
      "side": "long",
      "entry_index": 2870,
      "exit_index": 2926,
      "entry_price": 107340.59,
      "exit_price": 114271.23,
      "pnl_pct": 6.250224803124336,
      "reason": "Close",
      "mfe_pct": 15.961725196405204,
      "mae_pct": 2.087188080482876
     },
     {
      "side": "long",
      "entry_index": 2950,
      "exit_index": 2962,
      "entry_price": 115918.29,
      "exit_price": 108994.49,
      "pnl_pct": -6.167027463914442,
      "reason": "Close",
      "mfe_pct": 1.7095749083255167,
      "mae_pct": 6.2861348282484135
     },
     {
      "side": "long",
      "entry_index": 2968,
      "exit_index": 2982,
      "entry_price": 118594.99,
      "exit_price": 110763.28,
      "pnl_pct": -6.7971406464978035,
      "reason": "Close",
      "mfe_pct": 6.4122776181354695,
      "mae_pct": 13.992994139128475
     },
     {
      "side": "long",
      "entry_index": 3064,
      "exit_index": 3083,
      "entry_price": 93859.71,
      "exit_price": 89225.34,
      "pnl_pct": -5.132612331744909,
      "reason": "Close",
      "mfe_pct": 4.330697378033662,
      "mae_pct": 7.027701236238645
     },
     {
      "side": "long",
      "entry_index": 3133,
      "exit_index": 3140,
      "entry_price": 72815.25,
      "exit_price": 67859,
      "pnl_pct": -6.99980326923275,
      "reason": "Close",
      "mfe_pct": 4.373740390920858,
      "mae_pct": 7.490999481564638
     },
     {
      "side": "long",
      "entry_index": 3141,
      "exit_index": 3144,
      "entry_price": 70906.45,
      "exit_price": 68820.31,
      "pnl_pct": -3.1391597802456617,
      "reason": "Close",
      "mfe_pct": 1.5790382962339808,
      "mae_pct": 3.8832151376919826
     },
     {
      "side": "long",
      "entry_index": 3158,
      "exit_index": 3201,
      "entry_price": 71787.98,
      "exit_price": 75539.5,
      "pnl_pct": 5.020607238147673,
      "reason": "Close",
      "mfe_pct": 15.409292753466534,
      "mae_pct": 1.7859535816441574
     },
     {
      "side": "long",
      "entry_index": 3255,
      "exit_index": 3272,
      "entry_price": 64756.28,
      "exit_price": 62823.65,
      "pnl_pct": -3.1814828306999687,
      "reason": "Close",
      "mfe_pct": 3.3971531409772084,
      "mae_pct": 3.831721031535473
     },
     {
      "side": "long",
      "entry_index": 3277,
      "exit_index": 3283,
      "entry_price": 64323.61,
      "exit_price": 63479.99,
      "pnl_pct": -1.5102131239213759,
      "reason": "Close",
      "mfe_pct": 1.7891564232791017,
      "mae_pct": 1.6877317675422767
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "09-rsi-pullback-ema200.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"RSI pullback above EMA 200, 3% stop\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\ntrend = ta.ema(close, 200)\nrsi = ta.rsi(close, 14)\nif close > trend and ta.crossover(rsi, 30) and strategy.position_size == 0\n    strategy.entry(\"Long\", strategy.long)\n    strategy.exit(\"Stop\", \"Long\", stop=close * 0.97)\nif rsi > 70\n    strategy.close(\"Long\")",
   "pineSha256": "0feb96f41fbfe4fd980f7c15fe7d10b4ea051fb82065e82730ae3f1af071aa0b",
   "ms": 14,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 3 trades sur la période d’entraînement, il en faut 10 pour ouvrir la période scellée.",
      "en": "Only 3 trades on the training period, 10 are needed to open the sealed period."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : le juge s’est arrêté avant.",
      "en": "Not judged: the judge stopped before."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : le juge s’est arrêté avant.",
      "en": "Not judged: the judge stopped before."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : le juge s’est arrêté avant.",
      "en": "Not judged: the judge stopped before."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": null,
   "engine": {
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "0feb96f41fbfe4fd980f7c15fe7d10b4ea051fb82065e82730ae3f1af071aa0b",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "RSI pullback above EMA 200, 3% stop",
    "error": {
     "code": "proof.training_activity_insufficient",
     "field": "script",
     "details": {
      "minTrainTrades": 10,
      "trainTrades": 3,
      "testPeriodOpened": false
     },
     "message": "The training part made 3 trades (at least 10 are needed to judge it): the test period was not opened."
    }
   }
  },
  {
   "group": "classic",
   "file": "10-donchian-20-atr-stop-target.pine",
   "code": "inconclusive",
   "title": {
    "fr": "Pas encore de preuve d’avantage : 2 marches sur 4 franchies",
    "en": "No evidence of an edge yet: 2 of 4 steps passed"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✓, essais comptés ✗, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✓, trials counted ✗, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Donchian 20 breakout, ATR stop and target\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nupper = ta.highest(high, 20)[1]\natr = ta.atr(14)\nif close > upper and strategy.position_size == 0\n    strategy.entry(\"Long\", strategy.long)\n    strategy.exit(\"ATR exit\", \"Long\", stop=close - 2 * atr, limit=close + 3 * atr)",
   "pineSha256": "84c4df50f09089a1205841c340ec5853532badd535e6eac594066b33dc67b1f8",
   "ms": 13,
   "marches": {
    "code": "inconclusive",
    "k": 2,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "13 trades sur la période jamais vue (il en faut 10).",
      "en": "13 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ok",
      "fr": "+33,8 % sur la période jamais vue, quand garder le BTC faisait −23,3 %.",
      "en": "+33.8% on the period it never saw, while holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ko",
      "fr": "Sharpe déflaté de l’entraînement : 83,5 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 83.5% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 17 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 17 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "84c4df50f09089a1205841c340ec5853532badd535e6eac594066b33dc67b1f8",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Donchian 20 breakout, ATR stop and target",
    "verdict": {
     "code": "inconclusive",
     "reasons": [
      "spa_test_not_significant",
      "dsr_below_95"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 2,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 92,
     "pnlPct": 60.42,
     "winRatePct": 50,
     "maxDrawdownPct": 58.57
    },
    "holdout": {
     "bars": 669,
     "trades": 13,
     "closedTrades": 13,
     "pnlPct": 33.83,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 57.08,
     "maxDrawdownPct": 20.62,
     "winRatePct": 61.54,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 83.52,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 16.5,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 165,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2711,
      "exit_index": 2726,
      "entry_price": 104077.47,
      "exit_price": 96400.68401879241,
      "pnl_pct": -7.568654517857117,
      "reason": "ATR exit",
      "mfe_pct": 5.294642538870323,
      "mae_pct": 7.616893454462336
     },
     {
      "side": "long",
      "entry_index": 2806,
      "exit_index": 2821,
      "entry_price": 93442.99,
      "exit_price": 103711.10737652403,
      "pnl_pct": 10.777655208964847,
      "reason": "ATR exit",
      "mfe_pct": 11.453796587630585,
      "mae_pct": 1.9080939083820094
     },
     {
      "side": "long",
      "entry_index": 2822,
      "exit_index": 2884,
      "entry_price": 103261.61,
      "exit_price": 112085.40763485177,
      "pnl_pct": 8.336545030836648,
      "reason": "ATR exit",
      "mfe_pct": 13.176620043015019,
      "mae_pct": 4.901734536194042
     },
     {
      "side": "long",
      "entry_index": 2885,
      "exit_index": 2919,
      "entry_price": 116010.01,
      "exit_price": 124358.91111095829,
      "pnl_pct": 6.989510810185548,
      "reason": "ATR exit",
      "mfe_pct": 7.295913516428459,
      "mae_pct": 3.52556645758413
     },
     {
      "side": "long",
      "entry_index": 2953,
      "exit_index": 2958,
      "entry_price": 116788.96,
      "exit_price": 111941.35792865303,
      "pnl_pct": -4.346585832492755,
      "reason": "ATR exit",
      "mfe_pct": 0.9513227962642989,
      "mae_pct": 4.271773633398231
     },
     {
      "side": "long",
      "entry_index": 2968,
      "exit_index": 2972,
      "entry_price": 118594.99,
      "exit_price": 126172.2656426676,
      "pnl_pct": 6.1828146256641405,
      "reason": "ATR exit",
      "mfe_pct": 6.4122776181354695,
      "mae_pct": 0.26618325108000557
     },
     {
      "side": "long",
      "entry_index": 3063,
      "exit_index": 3083,
      "entry_price": 91529.74,
      "exit_price": 86663.28567240693,
      "pnl_pct": -5.511484412897365,
      "reason": "ATR exit",
      "mfe_pct": 6.98652700204327,
      "mae_pct": 5.959833383116791
     },
     {
      "side": "long",
      "entry_index": 3122,
      "exit_index": 3146,
      "entry_price": 72666.77,
      "exit_price": 65348.54621741775,
      "pnl_pct": -10.260864902622851,
      "reason": "ATR exit",
      "mfe_pct": 4.587007238659425,
      "mae_pct": 10.55058591430444
     },
     {
      "side": "long",
      "entry_index": 3162,
      "exit_index": 3184,
      "entry_price": 74418,
      "exit_price": 82210.44071725894,
      "pnl_pct": 10.26070611484007,
      "reason": "ATR exit",
      "mfe_pct": 11.330592061060496,
      "mae_pct": 1.4890886613453655
     },
     {
      "side": "long",
      "entry_index": 3254,
      "exit_index": 3290,
      "entry_price": 65043.99,
      "exit_price": 71186.83000136616,
      "pnl_pct": 9.234687449777912,
      "reason": "ATR exit",
      "mfe_pct": 12.846705744835154,
      "mae_pct": 4.2571035386974225
     },
     {
      "side": "long",
      "entry_index": 3291,
      "exit_index": 3291,
      "entry_price": 73027.02,
      "exit_price": 78393.98728898677,
      "pnl_pct": 7.141940451216246,
      "reason": "ATR exit",
      "mfe_pct": 8.863815064615803,
      "mae_pct": 0
     },
     {
      "side": "long",
      "entry_index": 3292,
      "exit_index": 3322,
      "entry_price": 78338.03,
      "exit_price": 84710.84676834485,
      "pnl_pct": 7.9268879898773426,
      "reason": "ATR exit",
      "mfe_pct": 11.562251437775496,
      "mae_pct": 4.301946321601395
     },
     {
      "side": "long",
      "entry_index": 3323,
      "exit_index": 3339,
      "entry_price": 86620.01,
      "exit_price": 81599.48404998542,
      "pnl_pct": -5.990238795937061,
      "reason": "ATR exit",
      "mfe_pct": 0.7602515862096978,
      "mae_pct": 7.18823514335775
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "11-golden-cross-50-200.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Golden cross SMA 50/200\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nfast = ta.sma(close, 50)\nslow = ta.sma(close, 200)\nif ta.crossover(fast, slow)\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(fast, slow)\n    strategy.close(\"Long\")",
   "pineSha256": "a4281e8c0bb16f39831bfa8345b6873ed3ab5550b057956b65b04901abe03341",
   "ms": 11,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 6 trades sur la période d’entraînement, il en faut 10 pour ouvrir la période scellée.",
      "en": "Only 6 trades on the training period, 10 are needed to open the sealed period."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : le juge s’est arrêté avant.",
      "en": "Not judged: the judge stopped before."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : le juge s’est arrêté avant.",
      "en": "Not judged: the judge stopped before."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : le juge s’est arrêté avant.",
      "en": "Not judged: the judge stopped before."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": null,
   "engine": {
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "a4281e8c0bb16f39831bfa8345b6873ed3ab5550b057956b65b04901abe03341",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Golden cross SMA 50/200",
    "error": {
     "code": "proof.training_activity_insufficient",
     "field": "script",
     "details": {
      "minTrainTrades": 10,
      "trainTrades": 6,
      "testPeriodOpened": false
     },
     "message": "The training part made 6 trades (at least 10 are needed to judge it): the test period was not opened."
    }
   }
  },
  {
   "group": "classic",
   "file": "12-sma-cross-20-50.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"SMA cross 20/50\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nfast = ta.sma(close, 20)\nslow = ta.sma(close, 50)\nif ta.crossover(fast, slow)\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(fast, slow)\n    strategy.close(\"Long\")",
   "pineSha256": "d215a9c01ddcc61777f4d82017b00c47837fc3eed119dfddfdfca2e2c6562b90",
   "ms": 13,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 7 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 7 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "d215a9c01ddcc61777f4d82017b00c47837fc3eed119dfddfdfca2e2c6562b90",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "SMA cross 20/50",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 2,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 28,
     "pnlPct": 1478.81,
     "winRatePct": 32.14,
     "maxDrawdownPct": 74.91
    },
    "holdout": {
     "bars": 669,
     "trades": 7,
     "closedTrades": 7,
     "pnlPct": 11.47,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 34.72,
     "maxDrawdownPct": 28.86,
     "winRatePct": 57.14,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.67,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 23.7,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 237,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2715,
      "exit_index": 2741,
      "entry_price": 106143.82,
      "exit_price": 96118.12,
      "pnl_pct": -9.635946718329913,
      "reason": "Close",
      "mfe_pct": 0.9196767178720278,
      "mae_pct": 14.049635673560651
     },
     {
      "side": "long",
      "entry_index": 2808,
      "exit_index": 2874,
      "entry_price": 93980.47,
      "exit_price": 108356.93,
      "pnl_pct": 15.081987353329891,
      "reason": "Close",
      "mfe_pct": 19.15241539013371,
      "mae_pct": 1.2560694791162528
     },
     {
      "side": "long",
      "entry_index": 2883,
      "exit_index": 2931,
      "entry_price": 108922.99,
      "exit_price": 110111.98,
      "pnl_pct": 0.8904961477829342,
      "reason": "Close",
      "mfe_pct": 14.27706859681321,
      "mae_pct": 0.5494340542800068
     },
     {
      "side": "long",
      "entry_index": 2964,
      "exit_index": 2990,
      "entry_price": 109635.85,
      "exit_price": 110078.19,
      "pnl_pct": 0.2030594554609614,
      "reason": "Close",
      "mfe_pct": 15.107996152718293,
      "mae_pct": 6.964738267637826
     },
     {
      "side": "long",
      "entry_index": 3067,
      "exit_index": 3092,
      "entry_price": 91100,
      "exit_price": 78738.6,
      "pnl_pct": -13.755475960482977,
      "reason": "Close",
      "mfe_pct": 7.491207464324924,
      "mae_pct": 18.107574094401755
     },
     {
      "side": "long",
      "entry_index": 3138,
      "exit_index": 3155,
      "entry_price": 70510.73,
      "exit_price": 68853.66,
      "pnl_pct": -2.5477461231786886,
      "reason": "Close",
      "mfe_pct": 2.149119715538331,
      "mae_pct": 7.815448797651074
     },
     {
      "side": "long",
      "entry_index": 3160,
      "exit_index": 3209,
      "entry_price": 73043.16,
      "exit_price": 73884.38,
      "pnl_pct": 0.9505235808527469,
      "reason": "Close",
      "mfe_pct": 13.426089451770702,
      "mae_pct": 3.4736722781434963
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "13-ema-cross-9-21.pine",
   "code": "inconclusive",
   "title": {
    "fr": "Pas encore de preuve d’avantage : 3 marches sur 4 franchies",
    "en": "No evidence of an edge yet: 3 of 4 steps passed"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✓, essais comptés ✓, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✓, trials counted ✓, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"EMA cross 9/21\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nfast = ta.ema(close, 9)\nslow = ta.ema(close, 21)\nif ta.crossover(fast, slow)\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(fast, slow)\n    strategy.close(\"Long\")",
   "pineSha256": "255326f5b419b4cb4b35663030460678dbbad6ac002e700d8ff4a99bfe3bf94a",
   "ms": 12,
   "marches": {
    "code": "inconclusive",
    "k": 3,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "16 trades sur la période jamais vue (il en faut 10).",
      "en": "16 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ok",
      "fr": "+2,9 % sur la période jamais vue, quand garder le BTC faisait −23,3 %.",
      "en": "+2.9% on the period it never saw, while holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ok",
      "fr": "Sharpe déflaté de l’entraînement : 99,9 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 99.9% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 33 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 33 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "255326f5b419b4cb4b35663030460678dbbad6ac002e700d8ff4a99bfe3bf94a",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "EMA cross 9/21",
    "verdict": {
     "code": "inconclusive",
     "reasons": [
      "spa_test_not_significant"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 3,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 49,
     "pnlPct": 4212.26,
     "winRatePct": 36.73,
     "maxDrawdownPct": 72.43
    },
    "holdout": {
     "bars": 669,
     "trades": 16,
     "closedTrades": 16,
     "pnlPct": 2.87,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 26.12,
     "maxDrawdownPct": 24.67,
     "winRatePct": 25,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.98,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 33.1,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 331,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2688,
      "exit_index": 2689,
      "entry_price": 99429.61,
      "exit_price": 95791.6,
      "pnl_pct": -3.855221005090933,
      "reason": "Close",
      "mfe_pct": 0.537153871970328,
      "mae_pct": 4.2547386035206225
     },
     {
      "side": "long",
      "entry_index": 2700,
      "exit_index": 2703,
      "entry_price": 102235.6,
      "exit_price": 92552.49,
      "pnl_pct": -9.661896726776193,
      "reason": "Close",
      "mfe_pct": 0.47809178016268195,
      "mae_pct": 10.790693261447096
     },
     {
      "side": "long",
      "entry_index": 2709,
      "exit_index": 2729,
      "entry_price": 100497.35,
      "exit_price": 97763.14,
      "pnl_pct": -2.917958025758894,
      "reason": "Close",
      "mfe_pct": 9.045661403012112,
      "mae_pct": 9.220491883616836
     },
     {
      "side": "long",
      "entry_index": 2780,
      "exit_index": 2781,
      "entry_price": 87232.01,
      "exit_price": 84424.38,
      "pnl_pct": -3.4153590981108777,
      "reason": "Close",
      "mfe_pct": 0.3251787961781501,
      "mae_pct": 4.180816193505108
     },
     {
      "side": "long",
      "entry_index": 2800,
      "exit_index": 2851,
      "entry_price": 84030.38,
      "exit_price": 104288.43,
      "pnl_pct": 23.88389912077035,
      "reason": "Close",
      "mfe_pct": 33.261327629364516,
      "mae_pct": 0.35001626792596907
     },
     {
      "side": "long",
      "entry_index": 2852,
      "exit_index": 2863,
      "entry_price": 105552.15,
      "exit_price": 104886.79,
      "pnl_pct": -0.8297310286905578,
      "reason": "Close",
      "mfe_pct": 4.716171105941474,
      "mae_pct": 2.7359366910100804
     },
     {
      "side": "long",
      "entry_index": 2871,
      "exit_index": 2908,
      "entry_price": 106947.06,
      "exit_price": 112546.35,
      "pnl_pct": 5.030336121441774,
      "reason": "Close",
      "mfe_pct": 15.2140133632472,
      "mae_pct": 1.726901141555453
     },
     {
      "side": "long",
      "entry_index": 2915,
      "exit_index": 2925,
      "entry_price": 116462.25,
      "exit_price": 112872.95,
      "pnl_pct": -3.2788609184521187,
      "reason": "Close",
      "mfe_pct": 6.879267745557037,
      "mae_pct": 3.2024711870155333
     },
     {
      "side": "long",
      "entry_index": 2948,
      "exit_index": 2962,
      "entry_price": 115482.69,
      "exit_price": 108994.49,
      "pnl_pct": -5.812712866317885,
      "reason": "Close",
      "mfe_pct": 2.093222802482344,
      "mae_pct": 5.932646702289327
     },
     {
      "side": "long",
      "entry_index": 2968,
      "exit_index": 2980,
      "entry_price": 118594.99,
      "exit_price": 115166,
      "pnl_pct": -3.0884533908219938,
      "reason": "Close",
      "mfe_pct": 6.412277618135471,
      "mae_pct": 13.992994139128477
     },
     {
      "side": "long",
      "entry_index": 3062,
      "exit_index": 3081,
      "entry_price": 90628.01,
      "exit_price": 89559.68,
      "pnl_pct": -1.3776289361313372,
      "reason": "Close",
      "mfe_pct": 8.051020870920603,
      "mae_pct": 3.712406352075916
     },
     {
      "side": "long",
      "entry_index": 3130,
      "exit_index": 3145,
      "entry_price": 70541.34,
      "exit_price": 66407.28,
      "pnl_pct": -6.054617930422073,
      "reason": "Close",
      "mfe_pct": 7.7382425681167994,
      "mae_pct": 7.078246599795235
     },
     {
      "side": "long",
      "entry_index": 3156,
      "exit_index": 3198,
      "entry_price": 71924.22,
      "exit_price": 76834.36,
      "pnl_pct": 6.619997297155255,
      "reason": "Close",
      "mfe_pct": 15.190682637920855,
      "mae_pct": 2.0274394355614858
     },
     {
      "side": "long",
      "entry_index": 3250,
      "exit_index": 3271,
      "entry_price": 64161.72,
      "exit_price": 62887.88,
      "pnl_pct": -2.1833728896295233,
      "reason": "Close",
      "mfe_pct": 4.355291597544444,
      "mae_pct": 3.6419690743951385
     },
     {
      "side": "long",
      "entry_index": 3278,
      "exit_index": 3283,
      "entry_price": 64923.2,
      "exit_price": 63479.99,
      "pnl_pct": -2.420726627769425,
      "reason": "Close",
      "mfe_pct": 0.8490955467383031,
      "mae_pct": 2.5956822830667576
     },
     {
      "side": "long",
      "entry_index": 3290,
      "exit_index": 3346,
      "entry_price": 69334.78,
      "exit_price": 81682.02,
      "pnl_pct": 17.590339509262172,
      "reason": "Close",
      "mfe_pct": 26.048817058336383,
      "mae_pct": 0.6238715980637678
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "14-trend-filter-sma200.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"200-day SMA trend filter\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\ntrend = ta.sma(close, 200)\nif close > trend\n    strategy.entry(\"Long\", strategy.long)\nif close < trend\n    strategy.close(\"Long\")",
   "pineSha256": "4202a403d76ab3e015ff73cccd9fe8c7e14d5640565c8af1d018f6b547213b4e",
   "ms": 9,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 9 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 9 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "4202a403d76ab3e015ff73cccd9fe8c7e14d5640565c8af1d018f6b547213b4e",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "200-day SMA trend filter",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 1,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 23,
     "pnlPct": 787.86,
     "winRatePct": 21.74,
     "maxDrawdownPct": 64.05
    },
    "holdout": {
     "bars": 669,
     "trades": 9,
     "closedTrades": 9,
     "pnlPct": -14.07,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 9.18,
     "maxDrawdownPct": 31.76,
     "winRatePct": 11.11,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.25,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 46.2,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 462,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2680,
      "exit_index": 2762,
      "entry_price": 106133.74,
      "exit_price": 80734.48,
      "pnl_pct": -24.107440499128746,
      "reason": "Close",
      "mfe_pct": 3.254629489170922,
      "mae_pct": 26.264239816669043
     },
     {
      "side": "long",
      "entry_index": 2765,
      "exit_index": 2766,
      "entry_price": 83680.12,
      "exit_price": 81115.78,
      "pnl_pct": -3.2613909970492356,
      "reason": "Close",
      "mfe_pct": 0.7841886460009934,
      "mae_pct": 4.469663762432465
     },
     {
      "side": "long",
      "entry_index": 2767,
      "exit_index": 2769,
      "entry_price": 83983.19,
      "exit_price": 82574.52,
      "pnl_pct": -1.875646435911756,
      "reason": "Close",
      "mfe_pct": 1.3500916076181328,
      "mae_pct": 2.383893729209389
     },
     {
      "side": "long",
      "entry_index": 2772,
      "exit_index": 2773,
      "entry_price": 86845.93,
      "exit_price": 84223.38,
      "pnl_pct": -3.2167532894172344,
      "reason": "Close",
      "mfe_pct": 0.6997909976898229,
      "mae_pct": 3.6739775830600205
     },
     {
      "side": "long",
      "entry_index": 2776,
      "exit_index": 2781,
      "entry_price": 86082.5,
      "exit_price": 84424.38,
      "pnl_pct": -2.12427250602619,
      "reason": "Close",
      "mfe_pct": 3.1166961926059225,
      "mae_pct": 2.901286556501031
     },
     {
      "side": "long",
      "entry_index": 2806,
      "exit_index": 2984,
      "entry_price": 93442.99,
      "exit_price": 106431.68,
      "pnl_pct": 13.686222294470657,
      "reason": "Close",
      "mfe_pct": 35.05521387960723,
      "mae_pct": 1.9080939083820094
     },
     {
      "side": "long",
      "entry_index": 2986,
      "exit_index": 2989,
      "entry_price": 108642.77,
      "exit_price": 107567.45,
      "pnl_pct": -1.1887861658902907,
      "reason": "Close",
      "mfe_pct": 4.93105063503075,
      "mae_pct": 1.8188785134988752
     },
     {
      "side": "long",
      "entry_index": 2990,
      "exit_index": 2997,
      "entry_price": 110078.19,
      "exit_price": 108322.87,
      "pnl_pct": -1.793017363385069,
      "reason": "Close",
      "mfe_pct": 5.74301775855871,
      "mae_pct": 3.428335803849978
     },
     {
      "side": "long",
      "entry_index": 2998,
      "exit_index": 3001,
      "entry_price": 109608.01,
      "exit_price": 106583.05,
      "pnl_pct": -2.957038504758906,
      "reason": "Close",
      "mfe_pct": 1.4980656979357625,
      "mae_pct": 3.924393846763569
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "15-turtle-20-10.pine",
   "code": "mirage",
   "title": {
    "fr": "Pas de preuve d’avantage, pour l’instant",
    "en": "No evidence of an edge, for now"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✗, essais comptés ✓, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✗, trials counted ✓, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Turtle breakout 20/10 (Donchian)\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nentryHigh = ta.highest(high, 20)[1]\nexitLow = ta.lowest(low, 10)[1]\nif close > entryHigh and strategy.position_size == 0\n    strategy.entry(\"Long\", strategy.long)\nif close < exitLow\n    strategy.close(\"Long\")",
   "pineSha256": "7c4f2b6bac5337961dbd42a159c2d6a51b877c394dcc9d2814dd211f5b4bfa73",
   "ms": 10,
   "marches": {
    "code": "mirage",
    "k": 2,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "11 trades sur la période jamais vue (il en faut 10).",
      "en": "11 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ko",
      "fr": "−18,2 % sur la période jamais vue : une perte, même si garder le BTC faisait −23,3 %.",
      "en": "−18.2% on the period it never saw: a loss, even though holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ok",
      "fr": "Sharpe déflaté de l’entraînement : 99,9 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 99.9% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 100 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 100 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "7c4f2b6bac5337961dbd42a159c2d6a51b877c394dcc9d2814dd211f5b4bfa73",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Turtle breakout 20/10 (Donchian)",
    "verdict": {
     "code": "mirage",
     "reasons": [
      "holdout_not_profitable"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 2,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 33,
     "pnlPct": 3847.03,
     "winRatePct": 48.48,
     "maxDrawdownPct": 53.99
    },
    "holdout": {
     "bars": 669,
     "trades": 11,
     "closedTrades": 11,
     "pnlPct": -18.23,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 5.02,
     "maxDrawdownPct": 38.05,
     "winRatePct": 36.36,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.99,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 100,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 1000,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2711,
      "exit_index": 2727,
      "entry_price": 104077.47,
      "exit_price": 97700.59,
      "pnl_pct": -6.3209242692006296,
      "reason": "Close",
      "mfe_pct": 5.294642538870323,
      "mae_pct": 7.616893454462336
     },
     {
      "side": "long",
      "entry_index": 2806,
      "exit_index": 2844,
      "entry_price": 93442.99,
      "exit_price": 103985.47,
      "pnl_pct": 11.070976581549878,
      "reason": "Close",
      "mfe_pct": 19.83777488284567,
      "mae_pct": 1.9080939083820094
     },
     {
      "side": "long",
      "entry_index": 2884,
      "exit_index": 2907,
      "entry_price": 111234,
      "exit_price": 113297.92,
      "pnl_pct": 1.6536203678731305,
      "reason": "Close",
      "mfe_pct": 10.773684305158495,
      "mae_pct": 0.6598701835769639
     },
     {
      "side": "long",
      "entry_index": 2919,
      "exit_index": 2925,
      "entry_price": 123306.44,
      "exit_price": 112872.95,
      "pnl_pct": -8.652970104400067,
      "reason": "Close",
      "mfe_pct": 0.9468767405822418,
      "mae_pct": 8.575269872360275
     },
     {
      "side": "long",
      "entry_index": 2953,
      "exit_index": 2959,
      "entry_price": 116788.96,
      "exit_price": 112650.99,
      "pnl_pct": -3.7395743142160023,
      "reason": "Close",
      "mfe_pct": 0.9513227962642988,
      "mae_pct": 4.271773633398231
     },
     {
      "side": "long",
      "entry_index": 2968,
      "exit_index": 3002,
      "entry_price": 118594.99,
      "exit_price": 101497.23,
      "pnl_pct": -14.60251585669851,
      "reason": "Close",
      "mfe_pct": 6.4122776181354695,
      "mae_pct": 16.56952793705704
     },
     {
      "side": "long",
      "entry_index": 3063,
      "exit_index": 3079,
      "entry_price": 91529.74,
      "exit_price": 88427.66,
      "pnl_pct": -3.5857606500357164,
      "reason": "Close",
      "mfe_pct": 6.98652700204327,
      "mae_pct": 3.97003203548924
     },
     {
      "side": "long",
      "entry_index": 3122,
      "exit_index": 3140,
      "entry_price": 72666.77,
      "exit_price": 67859,
      "pnl_pct": -6.809571651526556,
      "reason": "Close",
      "mfe_pct": 4.587007238659425,
      "mae_pct": 9.699454097106557
     },
     {
      "side": "long",
      "entry_index": 3162,
      "exit_index": 3195,
      "entry_price": 74418,
      "exit_price": 78148.05,
      "pnl_pct": 4.807283116987828,
      "reason": "Close",
      "mfe_pct": 11.330592061060495,
      "mae_pct": 1.4890886613453658
     },
     {
      "side": "long",
      "entry_index": 3254,
      "exit_index": 3317,
      "entry_price": 65043.99,
      "exit_price": 75644.48,
      "pnl_pct": 16.081119147210984,
      "reason": "Close",
      "mfe_pct": 26.529753171661213,
      "mae_pct": 4.257103538697423
     },
     {
      "side": "long",
      "entry_index": 3323,
      "exit_index": 3340,
      "entry_price": 86620.01,
      "exit_price": 81754.46,
      "pnl_pct": -5.81150298874358,
      "reason": "Close",
      "mfe_pct": 0.7602515862096978,
      "mae_pct": 7.188235143357749
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "16-turtle-55-20.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Turtle breakout 55/20 (Donchian)\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nentryHigh = ta.highest(high, 55)[1]\nexitLow = ta.lowest(low, 20)[1]\nif close > entryHigh and strategy.position_size == 0\n    strategy.entry(\"Long\", strategy.long)\nif close < exitLow\n    strategy.close(\"Long\")",
   "pineSha256": "c9c9255cdb447a1fbd7b8042deae4903a2fb834640870900b03e1253c1279653",
   "ms": 11,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 6 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 6 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "c9c9255cdb447a1fbd7b8042deae4903a2fb834640870900b03e1253c1279653",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Turtle breakout 55/20 (Donchian)",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 1,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 15,
     "pnlPct": 2031.91,
     "winRatePct": 53.33,
     "maxDrawdownPct": 58.99
    },
    "holdout": {
     "bars": 669,
     "trades": 6,
     "closedTrades": 6,
     "pnlPct": -17.13,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 6.12,
     "maxDrawdownPct": 31.64,
     "winRatePct": 33.33,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.91,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 100,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 1000,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2815,
      "exit_index": 2850,
      "entry_price": 96489.9,
      "exit_price": 101508.69,
      "pnl_pct": 4.9961616811707845,
      "reason": "Close",
      "mfe_pct": 16.053597319512207,
      "mae_pct": 3.226140767064734
     },
     {
      "side": "long",
      "entry_index": 2885,
      "exit_index": 2907,
      "entry_price": 116010.01,
      "exit_price": 113297.92,
      "pnl_pct": -2.5354690771942843,
      "reason": "Close",
      "mfe_pct": 6.213248322278401,
      "mae_pct": 2.8337468465005675
     },
     {
      "side": "long",
      "entry_index": 2919,
      "exit_index": 2931,
      "entry_price": 123306.44,
      "exit_price": 110111.98,
      "pnl_pct": -10.889843563726279,
      "reason": "Close",
      "mfe_pct": 0.9468767405822418,
      "mae_pct": 11.380054439978963
     },
     {
      "side": "long",
      "entry_index": 3072,
      "exit_index": 3084,
      "entry_price": 95413.99,
      "exit_price": 86670.36,
      "pnl_pct": -9.35472287659284,
      "reason": "Close",
      "mfe_pct": 2.631165513568817,
      "mae_pct": 9.7881558039864
     },
     {
      "side": "long",
      "entry_index": 3166,
      "exit_index": 3201,
      "entry_price": 77072.01,
      "exit_price": 75539.5,
      "pnl_pct": -2.1864247604285847,
      "reason": "Close",
      "mfe_pct": 7.496872081057709,
      "mae_pct": 4.343600225295794
     },
     {
      "side": "long",
      "entry_index": 3290,
      "exit_index": 3317,
      "entry_price": 69334.78,
      "exit_price": 75644.48,
      "pnl_pct": 8.891238625117145,
      "reason": "Close",
      "mfe_pct": 18.69944636732099,
      "mae_pct": 0.6238715980637678
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "17-bollinger-breakout-20-2.pine",
   "code": "mirage",
   "title": {
    "fr": "Pas de preuve d’avantage, pour l’instant",
    "en": "No evidence of an edge, for now"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✗, essais comptés ✓, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✗, trials counted ✓, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Bollinger breakout 20/2\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\n[basis, upper, lower] = ta.bb(close, 20, 2.0)\nif close > upper\n    strategy.entry(\"Long\", strategy.long)\nif close < basis\n    strategy.close(\"Long\")",
   "pineSha256": "4d7ea28260846d8719f8b3ef9c0607e8a920e63175c3e03eb8583549b7010ccc",
   "ms": 8,
   "marches": {
    "code": "mirage",
    "k": 2,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "15 trades sur la période jamais vue (il en faut 10).",
      "en": "15 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ko",
      "fr": "−31,2 % sur la période jamais vue : une perte, même si garder le BTC faisait −23,3 %.",
      "en": "−31.2% on the period it never saw: a loss, even though holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ok",
      "fr": "Sharpe déflaté de l’entraînement : 99,8 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 99.8% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 100 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 100 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "4d7ea28260846d8719f8b3ef9c0607e8a920e63175c3e03eb8583549b7010ccc",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Bollinger breakout 20/2",
    "verdict": {
     "code": "mirage",
     "reasons": [
      "holdout_not_profitable"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 2,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 54,
     "pnlPct": 1216.75,
     "winRatePct": 44.44,
     "maxDrawdownPct": 62.55
    },
    "holdout": {
     "bars": 669,
     "trades": 15,
     "closedTrades": 15,
     "pnlPct": -31.17,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": -7.92,
     "maxDrawdownPct": 36.39,
     "winRatePct": 20,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.89,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 100,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 1000,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2680,
      "exit_index": 2682,
      "entry_price": 106133.74,
      "exit_price": 97461.86,
      "pnl_pct": -8.362539188763161,
      "reason": "Close",
      "mfe_pct": 0.3686292408050358,
      "mae_pct": 9.830747507814202
     },
     {
      "side": "long",
      "entry_index": 2700,
      "exit_index": 2702,
      "entry_price": 102235.6,
      "exit_price": 95060.61,
      "pnl_pct": -7.211075408174847,
      "reason": "Close",
      "mfe_pct": 0.4780917801626819,
      "mae_pct": 9.521829969208387
     },
     {
      "side": "long",
      "entry_index": 2711,
      "exit_index": 2726,
      "entry_price": 104077.47,
      "exit_price": 100635.66,
      "pnl_pct": -3.5036623488253484,
      "reason": "Close",
      "mfe_pct": 5.294642538870323,
      "mae_pct": 6.052895021372058
     },
     {
      "side": "long",
      "entry_index": 2806,
      "exit_index": 2843,
      "entry_price": 93442.99,
      "exit_price": 105589.75,
      "pnl_pct": 12.786114035948545,
      "reason": "Close",
      "mfe_pct": 19.837774882845675,
      "mae_pct": 1.9080939083820094
     },
     {
      "side": "long",
      "entry_index": 2885,
      "exit_index": 2904,
      "entry_price": 116010.01,
      "exit_price": 117950.75,
      "pnl_pct": 1.4712344564059647,
      "reason": "Close",
      "mfe_pct": 6.213248322278401,
      "mae_pct": 1.1092577269840693
     },
     {
      "side": "long",
      "entry_index": 2919,
      "exit_index": 2924,
      "entry_price": 123306.44,
      "exit_price": 116227.05,
      "pnl_pct": -5.9355565613604595,
      "reason": "Close",
      "mfe_pct": 0.9468767405822418,
      "mae_pct": 7.028262270810837
     },
     {
      "side": "long",
      "entry_index": 2948,
      "exit_index": 2959,
      "entry_price": 115482.69,
      "exit_price": 112650.99,
      "pnl_pct": -2.649603745808135,
      "reason": "Close",
      "mfe_pct": 2.093222802482344,
      "mae_pct": 3.1889541194442237
     },
     {
      "side": "long",
      "entry_index": 2969,
      "exit_index": 2977,
      "entry_price": 120529.35,
      "exit_price": 112774.49,
      "pnl_pct": -6.62756734355574,
      "reason": "Close",
      "mfe_pct": 4.704480692876879,
      "mae_pct": 15.373309488518773
     },
     {
      "side": "long",
      "entry_index": 3061,
      "exit_index": 3079,
      "entry_price": 89995.14,
      "exit_price": 88427.66,
      "pnl_pct": -1.9399967598250258,
      "reason": "Close",
      "mfe_pct": 8.810864675581378,
      "mae_pct": 2.3325259564016494
     },
     {
      "side": "long",
      "entry_index": 3122,
      "exit_index": 3125,
      "entry_price": 72666.77,
      "exit_price": 67262.91,
      "pnl_pct": -7.6290575183127025,
      "reason": "Close",
      "mfe_pct": 1.2266679804262528,
      "mae_pct": 7.914910763200303
     },
     {
      "side": "long",
      "entry_index": 3134,
      "exit_index": 3137,
      "entry_price": 74884.67,
      "exit_price": 69930.01,
      "pnl_pct": -6.8097711854776195,
      "reason": "Close",
      "mfe_pct": 1.4893969620217353,
      "mae_pct": 8.134268335561861
     },
     {
      "side": "long",
      "entry_index": 3184,
      "exit_index": 3194,
      "entry_price": 80905.53,
      "exit_price": 79113.2,
      "pnl_pct": -2.4131214887288936,
      "reason": "Close",
      "mfe_pct": 2.4033833039595702,
      "mae_pct": 2.776732319780859
     },
     {
      "side": "long",
      "entry_index": 3261,
      "exit_index": 3264,
      "entry_price": 66556.15,
      "exit_price": 64140,
      "pnl_pct": -3.8266127923565207,
      "reason": "Close",
      "mfe_pct": 0.27606765114869963,
      "mae_pct": 4.231614959699433
     },
     {
      "side": "long",
      "entry_index": 3290,
      "exit_index": 3311,
      "entry_price": 69334.78,
      "exit_price": 78306.43,
      "pnl_pct": 12.726670207938923,
      "reason": "Close",
      "mfe_pct": 18.69944636732099,
      "mae_pct": 0.6238715980637678
     },
     {
      "side": "long",
      "entry_index": 3323,
      "exit_index": 3339,
      "entry_price": 86620.01,
      "exit_price": 83321.81,
      "pnl_pct": -4.003857561318681,
      "reason": "Close",
      "mfe_pct": 0.7602515862096979,
      "mae_pct": 4.6836868294058105
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "18-rsi2-connors.pine",
   "code": "inconclusive",
   "title": {
    "fr": "Pas encore de preuve d’avantage : 2 marches sur 4 franchies",
    "en": "No evidence of an edge yet: 2 of 4 steps passed"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✓, essais comptés ✗, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✓, trials counted ✗, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"RSI(2) pullback above SMA 200 (Connors)\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nrsi2 = ta.rsi(close, 2)\ntrend = ta.sma(close, 200)\nexitMa = ta.sma(close, 5)\nif close > trend and rsi2 < 10 and close < exitMa and strategy.position_size == 0\n    strategy.entry(\"Long\", strategy.long)\nif close > exitMa\n    strategy.close(\"Long\")",
   "pineSha256": "3a51eeb2000812d37286a75b9c7c406d6c36baf337136ea4cf4495634229c544",
   "ms": 15,
   "marches": {
    "code": "inconclusive",
    "k": 2,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "14 trades sur la période jamais vue (il en faut 10).",
      "en": "14 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ok",
      "fr": "+5,0 % sur la période jamais vue, quand garder le BTC faisait −23,3 %.",
      "en": "+5.0% on the period it never saw, while holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ko",
      "fr": "Sharpe déflaté de l’entraînement : 83,7 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 83.7% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 38 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 38 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "3a51eeb2000812d37286a75b9c7c406d6c36baf337136ea4cf4495634229c544",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "RSI(2) pullback above SMA 200 (Connors)",
    "verdict": {
     "code": "inconclusive",
     "reasons": [
      "spa_test_not_significant",
      "dsr_below_95"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 2,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 56,
     "pnlPct": 49.5,
     "winRatePct": 73.21,
     "maxDrawdownPct": 33.66
    },
    "holdout": {
     "bars": 669,
     "trades": 14,
     "closedTrades": 14,
     "pnlPct": 5.05,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 28.3,
     "maxDrawdownPct": 11.7,
     "winRatePct": 64.29,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 83.75,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 37.8,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 378,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2682,
      "exit_index": 2687,
      "entry_price": 97461.86,
      "exit_price": 98663.58,
      "pnl_pct": 1.031782648104603,
      "reason": "Close",
      "mfe_pct": 2.1328856231555604,
      "mae_pct": 5.365504003309609
     },
     {
      "side": "long",
      "entry_index": 2722,
      "exit_index": 2723,
      "entry_price": 101335.52,
      "exit_price": 103733.25,
      "pnl_pct": 2.163763732598398,
      "reason": "Close",
      "mfe_pct": 3.40172922584301,
      "mae_pct": 0.007411024288432439
     },
     {
      "side": "long",
      "entry_index": 2727,
      "exit_index": 2735,
      "entry_price": 97700.59,
      "exit_price": 97430.82,
      "pnl_pct": -0.4758429913268585,
      "reason": "Close",
      "mfe_pct": 4.91237565709685,
      "mae_pct": 6.621853563013279
     },
     {
      "side": "long",
      "entry_index": 2749,
      "exit_index": 2754,
      "entry_price": 91552.88,
      "exit_price": 86064.54,
      "pnl_pct": -6.188726580747662,
      "reason": "Close",
      "mfe_pct": 1.0789502198073917,
      "mae_pct": 14.52096318542901
     },
     {
      "side": "long",
      "entry_index": 2843,
      "exit_index": 2846,
      "entry_price": 105589.75,
      "exit_price": 105642.93,
      "pnl_pct": -0.1496856276295824,
      "reason": "Close",
      "mfe_pct": 0.685075966180425,
      "mae_pct": 2.387731763736534
     },
     {
      "side": "long",
      "entry_index": 2850,
      "exit_index": 2852,
      "entry_price": 101508.69,
      "exit_price": 105552.15,
      "pnl_pct": 3.7793800314042,
      "reason": "Close",
      "mfe_pct": 4.326043415593283,
      "mae_pct": 0.4067533528410222
     },
     {
      "side": "long",
      "entry_index": 2865,
      "exit_index": 2868,
      "entry_price": 103297.98,
      "exit_price": 105333.94,
      "pnl_pct": 1.768987234793949,
      "reason": "Close",
      "mfe_pct": 2.687584016647761,
      "mae_pct": 4.9352175134499205
     },
     {
      "side": "long",
      "entry_index": 2906,
      "exit_index": 2910,
      "entry_price": 115764.07,
      "exit_price": 115055.03,
      "pnl_pct": -0.8118746170551953,
      "reason": "Close",
      "mfe_pct": 0.24872138652346362,
      "mae_pct": 3.3206071624814215
     },
     {
      "side": "long",
      "entry_index": 2924,
      "exit_index": 2928,
      "entry_price": 116227.05,
      "exit_price": 116936,
      "pnl_pct": 0.4093599123439829,
      "reason": "Close",
      "mfe_pct": 1.0341826622976322,
      "mae_pct": 3.908091963101541
     },
     {
      "side": "long",
      "entry_index": 2959,
      "exit_index": 2965,
      "entry_price": 112650.99,
      "exit_price": 112163.96,
      "pnl_pct": -0.6319029686290363,
      "reason": "Close",
      "mfe_pct": 1.14425092935268,
      "mae_pct": 3.5782375281388985
     },
     {
      "side": "long",
      "entry_index": 2977,
      "exit_index": 2980,
      "entry_price": 112774.49,
      "exit_price": 115166,
      "pnl_pct": 1.9184919479573743,
      "reason": "Close",
      "mfe_pct": 2.828050918252871,
      "mae_pct": 2.8489599021906535
     },
     {
      "side": "long",
      "entry_index": 2983,
      "exit_index": 2986,
      "entry_price": 108194.27,
      "exit_price": 108642.77,
      "pnl_pct": 0.2141175868185995,
      "reason": "Close",
      "mfe_pct": 1.1606899330251066,
      "mae_pct": 4.312649828868024
     },
     {
      "side": "long",
      "entry_index": 3312,
      "exit_index": 3316,
      "entry_price": 76568.73,
      "exit_price": 78189.2,
      "pnl_pct": 1.9142436736249921,
      "reason": "Close",
      "mfe_pct": 4.3376323467817794,
      "mae_pct": 0.6819363465999688
     },
     {
      "side": "long",
      "entry_index": 3339,
      "exit_index": 3343,
      "entry_price": 83321.81,
      "exit_price": 83773.12,
      "pnl_pct": 0.3411052520342485,
      "reason": "Close",
      "mfe_pct": 1.0527735775303038,
      "mae_pct": 3.5143859692918338
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "20-price-ema50.pine",
   "code": "inconclusive",
   "title": {
    "fr": "Pas encore de preuve d’avantage : 3 marches sur 4 franchies",
    "en": "No evidence of an edge yet: 3 of 4 steps passed"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✓, essais comptés ✓, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✓, trials counted ✓, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Close crosses EMA 50\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nema50 = ta.ema(close, 50)\nif ta.crossover(close, ema50)\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(close, ema50)\n    strategy.close(\"Long\")",
   "pineSha256": "db1738f82ad28015002fd77666c78118bbb2b8bcba8210e2ea6d4ad9367c4d50",
   "ms": 14,
   "marches": {
    "code": "inconclusive",
    "k": 3,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "20 trades sur la période jamais vue (il en faut 10).",
      "en": "20 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ok",
      "fr": "+17,0 % sur la période jamais vue, quand garder le BTC faisait −23,3 %.",
      "en": "+17.0% on the period it never saw, while holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ok",
      "fr": "Sharpe déflaté de l’entraînement : 99,7 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 99.7% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 21 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 21 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "db1738f82ad28015002fd77666c78118bbb2b8bcba8210e2ea6d4ad9367c4d50",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Close crosses EMA 50",
    "verdict": {
     "code": "inconclusive",
     "reasons": [
      "spa_test_not_significant"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 3,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 83,
     "pnlPct": 1228.44,
     "winRatePct": 18.07,
     "maxDrawdownPct": 57.44
    },
    "holdout": {
     "bars": 669,
     "trades": 20,
     "closedTrades": 20,
     "pnlPct": 16.99,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 40.24,
     "maxDrawdownPct": 27.66,
     "winRatePct": 20,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.71,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 21.099999999999998,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 211,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2694,
      "exit_index": 2703,
      "entry_price": 93576,
      "exit_price": 92552.49,
      "pnl_pct": -1.2926802705821951,
      "reason": "Close",
      "mfe_pct": 9.7764170300077,
      "mae_pct": 2.535190647174491
     },
     {
      "side": "long",
      "entry_index": 2704,
      "exit_index": 2727,
      "entry_price": 94726.1,
      "exit_price": 97700.59,
      "pnl_pct": 2.936955400887391,
      "reason": "Close",
      "mfe_pct": 15.689340107953345,
      "mae_pct": 5.7739208095762455
     },
     {
      "side": "long",
      "entry_index": 2728,
      "exit_index": 2729,
      "entry_price": 101328.51,
      "exit_price": 97763.14,
      "pnl_pct": -3.715106094030196,
      "reason": "Close",
      "mfe_pct": 0.3985058104574941,
      "mae_pct": 5.110614969074346
     },
     {
      "side": "long",
      "entry_index": 2745,
      "exit_index": 2746,
      "entry_price": 98305.01,
      "exit_price": 96181.99,
      "pnl_pct": -2.3574658097283034,
      "reason": "Close",
      "mfe_pct": 1.1901631463137081,
      "mae_pct": 3.4922533449719375
     },
     {
      "side": "long",
      "entry_index": 2805,
      "exit_index": 2866,
      "entry_price": 87516.22,
      "exit_price": 102120.02,
      "pnl_pct": 16.47027689267201,
      "reason": "Close",
      "mfe_pct": 27.95342394815498,
      "mae_pct": 0.5029810473989876
     },
     {
      "side": "long",
      "entry_index": 2868,
      "exit_index": 2908,
      "entry_price": 105333.94,
      "exit_price": 112546.35,
      "pnl_pct": 6.640338061976989,
      "reason": "Close",
      "mfe_pct": 16.978440187464738,
      "mae_pct": 0.6758695250552653
     },
     {
      "side": "long",
      "entry_index": 2909,
      "exit_index": 2925,
      "entry_price": 114208.81,
      "exit_price": 112872.95,
      "pnl_pct": -1.3684949173360623,
      "reason": "Close",
      "mfe_pct": 8.988089447740505,
      "mae_pct": 1.3648771929240815
     },
     {
      "side": "long",
      "entry_index": 2928,
      "exit_index": 2930,
      "entry_price": 116936,
      "exit_price": 113493.59,
      "pnl_pct": -3.140897234384624,
      "reason": "Close",
      "mfe_pct": 0.08038585209003216,
      "mae_pct": 5.349935007183417
     },
     {
      "side": "long",
      "entry_index": 2947,
      "exit_index": 2959,
      "entry_price": 113960,
      "exit_price": 112650.99,
      "pnl_pct": -1.3475087662337617,
      "reason": "Close",
      "mfe_pct": 3.4573534573534572,
      "mae_pct": 1.8954018954018954
     },
     {
      "side": "long",
      "entry_index": 2966,
      "exit_index": 2977,
      "entry_price": 114311.97,
      "exit_price": 112774.49,
      "pnl_pct": -1.543641020271102,
      "reason": "Close",
      "mfe_pct": 10.399313387740587,
      "mae_pct": 10.770499362402731
     },
     {
      "side": "long",
      "entry_index": 2993,
      "exit_index": 2995,
      "entry_price": 114559.41,
      "exit_price": 112898.44,
      "pnl_pct": -1.6484266547811317,
      "reason": "Close",
      "mfe_pct": 1.6066685399305012,
      "mae_pct": 2.0499494541740426
     },
     {
      "side": "long",
      "entry_index": 3064,
      "exit_index": 3066,
      "entry_price": 93859.71,
      "exit_price": 91364.16,
      "pnl_pct": -2.8561497473196997,
      "reason": "Close",
      "mfe_pct": 0.6229829604203933,
      "mae_pct": 3.3924992949584034
     },
     {
      "side": "long",
      "entry_index": 3072,
      "exit_index": 3079,
      "entry_price": 95413.99,
      "exit_price": 88427.66,
      "pnl_pct": -7.514801183767709,
      "reason": "Close",
      "mfe_pct": 2.631165513568817,
      "mae_pct": 7.8793581528243495
     },
     {
      "side": "long",
      "entry_index": 3133,
      "exit_index": 3136,
      "entry_price": 72815.25,
      "exit_price": 71246.55,
      "pnl_pct": -2.3522020455879735,
      "reason": "Close",
      "mfe_pct": 4.373740390920858,
      "mae_pct": 3.179622400527362
     },
     {
      "side": "long",
      "entry_index": 3156,
      "exit_index": 3201,
      "entry_price": 71924.22,
      "exit_price": 75539.5,
      "pnl_pct": 4.821486114135125,
      "reason": "Close",
      "mfe_pct": 15.190682637920855,
      "mae_pct": 2.0274394355614853
     },
     {
      "side": "long",
      "entry_index": 3203,
      "exit_index": 3205,
      "entry_price": 77064.96,
      "exit_price": 75930.01,
      "pnl_pct": -1.6712458813966964,
      "reason": "Close",
      "mfe_pct": 1.31712259371833,
      "mae_pct": 1.7997673650904444
     },
     {
      "side": "long",
      "entry_index": 3260,
      "exit_index": 3263,
      "entry_price": 65255.51,
      "exit_price": 65098.98,
      "pnl_pct": -0.43963259194510745,
      "reason": "Close",
      "mfe_pct": 2.60612475482912,
      "mae_pct": 0.927906317796002
     },
     {
      "side": "long",
      "entry_index": 3266,
      "exit_index": 3267,
      "entry_price": 65400,
      "exit_price": 63755.86,
      "pnl_pct": -2.7114615596330265,
      "reason": "Close",
      "mfe_pct": 0.5269113149847183,
      "mae_pct": 2.7437920489296674
     },
     {
      "side": "long",
      "entry_index": 3276,
      "exit_index": 3277,
      "entry_price": 64665.24,
      "exit_price": 64323.61,
      "pnl_pct": -0.7277771643621788,
      "reason": "Close",
      "mfe_pct": 0.516135098238253,
      "mae_pct": 0.7627590959223193
     },
     {
      "side": "long",
      "entry_index": 3278,
      "exit_index": 3281,
      "entry_price": 64923.2,
      "exit_price": 63970.01,
      "pnl_pct": -1.6667126851418215,
      "reason": "Close",
      "mfe_pct": 0.8490955467383031,
      "mae_pct": 1.7203865490302392
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "21-stochastic-14-3.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Stochastic 14/3 cross 20/80\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nk = ta.sma(ta.stoch(close, high, low, 14), 3)\nd = ta.sma(k, 3)\nif ta.crossover(k, d) and k < 20\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(k, d) and k > 80\n    strategy.close(\"Long\")",
   "pineSha256": "34364854cf9f565a3bb57ab5963e09495be00e8556223cb85b6357e235e9fdde",
   "ms": 13,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 6 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 6 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "34364854cf9f565a3bb57ab5963e09495be00e8556223cb85b6357e235e9fdde",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Stochastic 14/3 cross 20/80",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 0,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 25,
     "pnlPct": -37.51,
     "winRatePct": 60,
     "maxDrawdownPct": 78.6
    },
    "holdout": {
     "bars": 669,
     "trades": 6,
     "closedTrades": 6,
     "pnlPct": -20.93,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 2.32,
     "maxDrawdownPct": 44.46,
     "winRatePct": 66.67,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 60.78,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 100,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 1000,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2695,
      "exit_index": 2713,
      "entry_price": 94591.78,
      "exit_price": 101331.57,
      "pnl_pct": 6.918007727521364,
      "reason": "Close",
      "mfe_pct": 12.507059281472444,
      "mae_pct": 5.640120103459303
     },
     {
      "side": "long",
      "entry_index": 2753,
      "exit_index": 2780,
      "entry_price": 84349.95,
      "exit_price": 87232.01,
      "pnl_pct": 3.2133724323488013,
      "reason": "Close",
      "mfe_pct": 12.626030009502083,
      "mae_pct": 9.180740474653508
     },
     {
      "side": "long",
      "entry_index": 3016,
      "exit_index": 3065,
      "entry_price": 92960.83,
      "exit_price": 93747.97,
      "pnl_pct": 0.6458969869352494,
      "reason": "Close",
      "mfe_pct": 1.9666885504357048,
      "mae_pct": 13.296815443665897
     },
     {
      "side": "long",
      "entry_index": 3086,
      "exit_index": 3161,
      "entry_price": 89249.99,
      "exit_price": 70741.56,
      "pnl_pct": -20.917001279215835,
      "reason": "Close",
      "mfe_pct": 1.5126164159794244,
      "mae_pct": 32.773101711271906
     },
     {
      "side": "long",
      "entry_index": 3199,
      "exit_index": 3256,
      "entry_price": 77552.24,
      "exit_price": 63830.2,
      "pnl_pct": -17.876237282121064,
      "reason": "Close",
      "mfe_pct": 0.8352563381792643,
      "mae_pct": 25.46934814519864
     },
     {
      "side": "long",
      "entry_index": 3315,
      "exit_index": 3325,
      "entry_price": 76842.01,
      "exit_price": 84397.6,
      "pnl_pct": 9.622796683741107,
      "reason": "Close",
      "mfe_pct": 13.73423209517815,
      "mae_pct": 2.438822201553543
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "22-parabolic-sar.pine",
   "code": "mirage",
   "title": {
    "fr": "Pas de preuve d’avantage, pour l’instant",
    "en": "No evidence of an edge, for now"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✓, gain face à la détention ✗, essais comptés ✓, hasard ✗, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✓, gain vs holding ✗, trials counted ✓, chance ✗, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Parabolic SAR 0.02/0.2\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nsar = ta.sar(0.02, 0.02, 0.2)\nif ta.crossover(close, sar)\n    strategy.entry(\"Long\", strategy.long)\nif ta.crossunder(close, sar)\n    strategy.close(\"Long\")",
   "pineSha256": "fab09277178141fe2bde877d5f84a29f66656a94eef6293242d31e364f3c5063",
   "ms": 9,
   "marches": {
    "code": "mirage",
    "k": 2,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ok",
      "fr": "27 trades sur la période jamais vue (il en faut 10).",
      "en": "27 trades on the period it never saw (10 needed)."
     },
     {
      "key": "detention",
      "state": "ko",
      "fr": "−8,8 % sur la période jamais vue : une perte, même si garder le BTC faisait −23,3 %.",
      "en": "−8.8% on the period it never saw: a loss, even though holding BTC made −23.3%."
     },
     {
      "key": "essais",
      "state": "ok",
      "fr": "Sharpe déflaté de l’entraînement : 99,5 % (il faut 95 %).",
      "en": "Training Deflated Sharpe: 99.5% (95% needed)."
     },
     {
      "key": "hasard",
      "state": "ko",
      "fr": "Sur 100 marchés tirés au hasard, 42 font aussi bien face à la détention (il en faut 5 au plus).",
      "en": "Out of 100 random markets, 42 do as well against holding (5 at most)."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "fab09277178141fe2bde877d5f84a29f66656a94eef6293242d31e364f3c5063",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Parabolic SAR 0.02/0.2",
    "verdict": {
     "code": "mirage",
     "reasons": [
      "holdout_not_profitable"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 2,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 110,
     "pnlPct": 1150.62,
     "winRatePct": 42.73,
     "maxDrawdownPct": 70.52
    },
    "holdout": {
     "bars": 669,
     "trades": 27,
     "closedTrades": 27,
     "pnlPct": -8.81,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 14.44,
     "maxDrawdownPct": 30.38,
     "winRatePct": 40.74,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.57,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 42.1,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 421,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2700,
      "exit_index": 2703,
      "entry_price": 102235.6,
      "exit_price": 92552.49,
      "pnl_pct": -9.661896726776192,
      "reason": "Close",
      "mfe_pct": 0.4780917801626819,
      "mae_pct": 10.790693261447094
     },
     {
      "side": "long",
      "entry_index": 2710,
      "exit_index": 2721,
      "entry_price": 99987.3,
      "exit_price": 102082.83,
      "pnl_pct": 1.893700369946982,
      "reason": "Close",
      "mfe_pct": 9.601919443769354,
      "mae_pct": 2.2098106459520346
     },
     {
      "side": "long",
      "entry_index": 2745,
      "exit_index": 2749,
      "entry_price": 98305.01,
      "exit_price": 91552.88,
      "pnl_pct": -7.0616827056932205,
      "reason": "Close",
      "mfe_pct": 1.1901631463137081,
      "mae_pct": 7.075682104096222
     },
     {
      "side": "long",
      "entry_index": 2755,
      "exit_index": 2762,
      "entry_price": 94269.99,
      "exit_price": 80734.48,
      "pnl_pct": -14.543880263485768,
      "reason": "Close",
      "mfe_pct": 0.15537288165618893,
      "mae_pct": 15.137362377995377
     },
     {
      "side": "long",
      "entry_index": 2773,
      "exit_index": 2787,
      "entry_price": 84223.38,
      "exit_price": 83213.09,
      "pnl_pct": -1.3983367445001709,
      "reason": "Close",
      "mfe_pct": 5.39286122214519,
      "mae_pct": 3.576370361768905
     },
     {
      "side": "long",
      "entry_index": 2796,
      "exit_index": 2819,
      "entry_price": 85276.91,
      "exit_price": 94733.68,
      "pnl_pct": 10.878395347580007,
      "reason": "Close",
      "mfe_pct": 14.797405299980957,
      "mae_pct": 2.6298795301096245
     },
     {
      "side": "long",
      "entry_index": 2821,
      "exit_index": 2839,
      "entry_price": 97030.5,
      "exit_price": 109004.2,
      "pnl_pct": 12.12780033082381,
      "reason": "Close",
      "mfe_pct": 15.40701119751006,
      "mae_pct": 0.15892940879414866
     },
     {
      "side": "long",
      "entry_index": 2853,
      "exit_index": 2863,
      "entry_price": 105734.01,
      "exit_price": 104886.79,
      "pnl_pct": -1.0004735467802661,
      "reason": "Close",
      "mfe_pct": 4.536061764800184,
      "mae_pct": 2.903228582742674
     },
     {
      "side": "long",
      "entry_index": 2870,
      "exit_index": 2893,
      "entry_price": 107340.59,
      "exit_price": 117924.84,
      "pnl_pct": 9.650575397433537,
      "reason": "Close",
      "mfe_pct": 14.791617970424797,
      "mae_pct": 2.087188080482876
     },
     {
      "side": "long",
      "entry_index": 2913,
      "exit_index": 2921,
      "entry_price": 117472.02,
      "exit_price": 117342.04,
      "pnl_pct": -0.3105369772308422,
      "reason": "Close",
      "mfe_pct": 5.9605512870213655,
      "mae_pct": 1.356331490681779
     },
     {
      "side": "long",
      "entry_index": 2939,
      "exit_index": 2958,
      "entry_price": 111240.01,
      "exit_price": 115232.29,
      "pnl_pct": 3.3852996776968993,
      "reason": "Close",
      "mfe_pct": 5.987045488399369,
      "mae_pct": 1.7178081878992995
     },
     {
      "side": "long",
      "entry_index": 2966,
      "exit_index": 2977,
      "entry_price": 114311.97,
      "exit_price": 112774.49,
      "pnl_pct": -1.5436410202711017,
      "reason": "Close",
      "mfe_pct": 10.399313387740587,
      "mae_pct": 10.770499362402731
     },
     {
      "side": "long",
      "entry_index": 3023,
      "exit_index": 3029,
      "entry_price": 87369.97,
      "exit_price": 86286.01,
      "pnl_pct": -1.4394144578509143,
      "reason": "Close",
      "mfe_pct": 6.549195335651367,
      "mae_pct": 4.05998765937542
     },
     {
      "side": "long",
      "entry_index": 3031,
      "exit_index": 3043,
      "entry_price": 93429.95,
      "exit_price": 86432.08,
      "pnl_pct": -7.682474442082005,
      "reason": "Close",
      "mfe_pct": 1.2405443864628078,
      "mae_pct": 8.865797316599226
     },
     {
      "side": "long",
      "entry_index": 3061,
      "exit_index": 3078,
      "entry_price": 89995.14,
      "exit_price": 92630.99,
      "pnl_pct": 2.725951501381081,
      "reason": "Close",
      "mfe_pct": 8.810864675581374,
      "mae_pct": 0.7601966061722882
     },
     {
      "side": "long",
      "entry_index": 3098,
      "exit_index": 3114,
      "entry_price": 70330.38,
      "exit_price": 64058.15,
      "pnl_pct": -9.109318803623703,
      "reason": "Close",
      "mfe_pct": 1.59696279189732,
      "mae_pct": 11.119092488907365
     },
     {
      "side": "long",
      "entry_index": 3122,
      "exit_index": 3140,
      "entry_price": 72666.77,
      "exit_price": 67859,
      "pnl_pct": -6.809571651526557,
      "reason": "Close",
      "mfe_pct": 4.587007238659426,
      "mae_pct": 9.699454097106557
     },
     {
      "side": "long",
      "entry_index": 3156,
      "exit_index": 3169,
      "entry_price": 71924.22,
      "exit_price": 75840.97,
      "pnl_pct": 5.240216452816589,
      "reason": "Close",
      "mfe_pct": 8.910461594161186,
      "mae_pct": 2.0274394355614858
     },
     {
      "side": "long",
      "entry_index": 3171,
      "exit_index": 3192,
      "entry_price": 78178.22,
      "exit_price": 79313.61,
      "pnl_pct": 1.250857553420888,
      "reason": "Close",
      "mfe_pct": 5.975807584260679,
      "mae_pct": 4.145272174270528
     },
     {
      "side": "long",
      "entry_index": 3205,
      "exit_index": 3206,
      "entry_price": 75930.01,
      "exit_price": 74449.31,
      "pnl_pct": -2.1481352629875823,
      "reason": "Close",
      "mfe_pct": 0.3215329485667122,
      "mae_pct": 2.2204922664964615
     },
     {
      "side": "long",
      "entry_index": 3221,
      "exit_index": 3229,
      "entry_price": 63626,
      "exit_price": 63543.9,
      "pnl_pct": -0.3289062647345402,
      "reason": "Close",
      "mfe_pct": 5.762031245088476,
      "mae_pct": 2.1279508377078558
     },
     {
      "side": "long",
      "entry_index": 3243,
      "exit_index": 3257,
      "entry_price": 62583.26,
      "exit_price": 63931.67,
      "pnl_pct": 1.952431161304151,
      "reason": "Close",
      "mfe_pct": 4.820362505884157,
      "mae_pct": 2.039554986429287
     },
     {
      "side": "long",
      "entry_index": 3260,
      "exit_index": 3268,
      "entry_price": 65255.51,
      "exit_price": 63915,
      "pnl_pct": -2.2521937381226538,
      "reason": "Close",
      "mfe_pct": 2.6061247548291204,
      "mae_pct": 3.8510770967846253
     },
     {
      "side": "long",
      "entry_index": 3278,
      "exit_index": 3284,
      "entry_price": 64923.2,
      "exit_price": 63490.86,
      "pnl_pct": -2.404000511373433,
      "reason": "Close",
      "mfe_pct": 0.8490955467383032,
      "mae_pct": 3.266829115015897
     },
     {
      "side": "long",
      "entry_index": 3289,
      "exit_index": 3303,
      "entry_price": 64725.42,
      "exit_price": 77439.01,
      "pnl_pct": 19.42270219335772,
      "reason": "Close",
      "mfe_pct": 25.883879934653184,
      "mae_pct": 0.8642972112038798
     },
     {
      "side": "long",
      "entry_index": 3305,
      "exit_index": 3312,
      "entry_price": 81270.37,
      "exit_price": 76568.73,
      "pnl_pct": -5.979398272703815,
      "reason": "Close",
      "mfe_pct": 0.19364991201591017,
      "mae_pct": 5.914049609962396
     },
     {
      "side": "long",
      "entry_index": 3320,
      "exit_index": 3339,
      "entry_price": 80883.86,
      "exit_price": 83321.81,
      "pnl_pct": 2.811122429122444,
      "reason": "Close",
      "mfe_pct": 8.050815082267336,
      "mae_pct": 0.9369236334665618
     }
    ]
   }
  },
  {
   "group": "classic",
   "file": "23-keltner-breakout.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"Keltner breakout (EMA 20, 2 ATR 10)\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1)\nmiddle = ta.ema(close, 20)\nupper = middle + 2 * ta.atr(10)\nif close > upper and strategy.position_size == 0\n    strategy.entry(\"Long\", strategy.long)\nif close < middle\n    strategy.close(\"Long\")",
   "pineSha256": "b8137360d4086d362905d4760a437a2b437ea1a78606156c6432ae822d7abba3",
   "ms": 15,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 7 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 7 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "b8137360d4086d362905d4760a437a2b437ea1a78606156c6432ae822d7abba3",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "Keltner breakout (EMA 20, 2 ATR 10)",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 1,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 31,
     "pnlPct": 1743.31,
     "winRatePct": 64.52,
     "maxDrawdownPct": 34.37
    },
    "holdout": {
     "bars": 669,
     "trades": 7,
     "closedTrades": 7,
     "pnlPct": -5.54,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 17.71,
     "maxDrawdownPct": 25.25,
     "winRatePct": 28.57,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.98,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 41,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 410,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2806,
      "exit_index": 2844,
      "entry_price": 93442.99,
      "exit_price": 103985.47,
      "pnl_pct": 11.07097658154988,
      "reason": "Close",
      "mfe_pct": 19.837774882845675,
      "mae_pct": 1.9080939083820097
     },
     {
      "side": "long",
      "entry_index": 2885,
      "exit_index": 2906,
      "entry_price": 116010.01,
      "exit_price": 115764.07,
      "pnl_pct": -0.4117869483848745,
      "reason": "Close",
      "mfe_pct": 6.2132483222784005,
      "mae_pct": 1.109257726984069
     },
     {
      "side": "long",
      "entry_index": 2919,
      "exit_index": 2921,
      "entry_price": 123306.44,
      "exit_price": 117342.04,
      "pnl_pct": -5.032217684656218,
      "reason": "Close",
      "mfe_pct": 0.9468767405822417,
      "mae_pct": 5.273406644454252
     },
     {
      "side": "long",
      "entry_index": 2969,
      "exit_index": 2977,
      "entry_price": 120529.35,
      "exit_price": 112774.49,
      "pnl_pct": -6.627567343555739,
      "reason": "Close",
      "mfe_pct": 4.704480692876879,
      "mae_pct": 15.373309488518775
     },
     {
      "side": "long",
      "entry_index": 3073,
      "exit_index": 3079,
      "entry_price": 96951.78,
      "exit_price": 88427.66,
      "pnl_pct": -8.983331136364898,
      "reason": "Close",
      "mfe_pct": 0.24915478601836674,
      "mae_pct": 9.340519586128282
     },
     {
      "side": "long",
      "entry_index": 3290,
      "exit_index": 3312,
      "entry_price": 69334.78,
      "exit_price": 76568.73,
      "pnl_pct": 10.222930670581198,
      "reason": "Close",
      "mfe_pct": 18.69944636732099,
      "mae_pct": 0.6238715980637678
     },
     {
      "side": "long",
      "entry_index": 3323,
      "exit_index": 3339,
      "entry_price": 86620.01,
      "exit_price": 83321.81,
      "pnl_pct": -4.003857561318681,
      "reason": "Close",
      "mfe_pct": 0.7602515862096979,
      "mae_pct": 4.683686829405809
     }
    ]
   }
  },
  {
   "group": "ia",
   "file": "glm-1.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"BTC Long-Only Trend Regime (SMA200 + Band)\", shorttitle=\"BTC Trend\", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_type=strategy.commission.percent, commission_value=0.1, pyramiding=0)\n\nsmaLen = input.int(200, \"SMA length\", minval=20)\nbandPct = input.float(1.0, \"Hysteresis band %\", minval=0, step=0.25)\n\nsm = ta.sma(close, smaLen)\nupper = sm * (1 + bandPct / 100)\nlower = sm * (1 - bandPct / 100)\n\nvar bool inRegime = false\nif not inRegime and close > upper\n    inRegime := true\nelse if inRegime and close < lower\n    inRegime := false\n\nif inRegime and strategy.position_size == 0\n    strategy.entry(\"Long\", strategy.long)\nif not inRegime and strategy.position_size > 0\n    strategy.close(\"Long\")\n\nplot(sm, \"SMA\", color=color.orange)\nbgcolor(inRegime ? color.new(color.green, 92) : color.new(color.red, 92))",
   "pineSha256": "94447a6dc346876692570cf8ef78ebc7bd4e7d1f7063070fd43bdd2a636c17f9",
   "ms": 24,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 4 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 4 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "94447a6dc346876692570cf8ef78ebc7bd4e7d1f7063070fd43bdd2a636c17f9",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "BTC Long-Only Trend Regime (SMA200 + Band)",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 1,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 19,
     "pnlPct": 730.48,
     "winRatePct": 21.05,
     "maxDrawdownPct": 62.61
    },
    "holdout": {
     "bars": 669,
     "trades": 4,
     "closedTrades": 4,
     "pnlPct": -9.03,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 14.22,
     "maxDrawdownPct": 28.44,
     "winRatePct": 25,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.12,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 41.099999999999994,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 411,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2680,
      "exit_index": 2762,
      "entry_price": 106133.74,
      "exit_price": 80734.48,
      "pnl_pct": -24.107440499128746,
      "reason": "Close",
      "mfe_pct": 3.254629489170922,
      "mae_pct": 26.264239816669043
     },
     {
      "side": "long",
      "entry_index": 2772,
      "exit_index": 2775,
      "entry_price": 86845.93,
      "exit_price": 83840.59,
      "pnl_pct": -3.6570815926549436,
      "reason": "Close",
      "mfe_pct": 0.699790997689823,
      "mae_pct": 4.226657484121586
     },
     {
      "side": "long",
      "entry_index": 2776,
      "exit_index": 2781,
      "entry_price": 86082.5,
      "exit_price": 84424.38,
      "pnl_pct": -2.12427250602619,
      "reason": "Close",
      "mfe_pct": 3.1166961926059225,
      "mae_pct": 2.901286556501031
     },
     {
      "side": "long",
      "entry_index": 2806,
      "exit_index": 3001,
      "entry_price": 93442.99,
      "exit_price": 106583.05,
      "pnl_pct": 13.848052122475956,
      "reason": "Close",
      "mfe_pct": 35.05521387960723,
      "mae_pct": 1.9080939083820094
     }
    ]
   }
  },
  {
   "group": "ia",
   "file": "glm-2.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"BTC Daily Regime Trend (Long Only)\", overlay=true,\n     initial_capital=100000,\n     default_qty_type=strategy.percent_of_equity,\n     default_qty_value=100,\n     commission_type=strategy.commission.percent,\n     commission_value=0.1,\n     pyramiding=0,\n     calc_on_every_tick=false,\n     process_orders_on_close=true)\n\nlen    = input.int(200,  \"Regime SMA length\", minval=50)\nbufIn  = input.float(2.0, \"Entry buffer %\",   minval=0.0)\nbufOut = input.float(2.0, \"Exit buffer %\",    minval=0.0)\n\nma        = ta.sma(close, len)\nenterLvl = ma * (1 + bufIn  / 100)\nexitLvl  = ma * (1 - bufOut / 100)\n\ninLong = strategy.position_size > 0\n\nif not inLong and close > enterLvl\n    strategy.entry(\"Long\", strategy.long)\n\nif inLong and close < exitLvl\n    strategy.close(\"Long\")",
   "pineSha256": "c5a6397f6eb11120990f9f5db0814af09a5a2bef4a828d73f244165f20735f97",
   "ms": 20,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 3 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 3 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "c5a6397f6eb11120990f9f5db0814af09a5a2bef4a828d73f244165f20735f97",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "signal_close",
     "processOrdersOnClose": true,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "BTC Daily Regime Trend (Long Only)",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 1,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 13,
     "pnlPct": 1113.99,
     "winRatePct": 30.77,
     "maxDrawdownPct": 53.62
    },
    "holdout": {
     "bars": 669,
     "trades": 3,
     "closedTrades": 3,
     "pnlPct": -8.37,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 14.88,
     "maxDrawdownPct": 28,
     "winRatePct": 33.33,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.64,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 40.699999999999996,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 407,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2679,
      "exit_index": 2761,
      "entry_price": 106133.74,
      "exit_price": 80734.37,
      "pnl_pct": -24.107544038304884,
      "reason": "Close",
      "mfe_pct": 3.2546294891709215,
      "mae_pct": 26.264239816669043
     },
     {
      "side": "long",
      "entry_index": 2771,
      "exit_index": 2781,
      "entry_price": 86845.94,
      "exit_price": 82648.54,
      "pnl_pct": -5.028323120228774,
      "reason": "Close",
      "mfe_pct": 2.21022422003837,
      "mae_pct": 5.988915544008166
     },
     {
      "side": "long",
      "entry_index": 2805,
      "exit_index": 3000,
      "entry_price": 93442.99,
      "exit_price": 106583.04,
      "pnl_pct": 13.848041431465308,
      "reason": "Close",
      "mfe_pct": 35.05521387960723,
      "mae_pct": 1.9080939083820094
     }
    ]
   }
  },
  {
   "group": "ia",
   "file": "glm-3.pine",
   "code": "insufficient_activity",
   "title": {
    "fr": "Pas encore assez de trades pour juger",
    "en": "Not enough trades to judge yet"
   },
   "stepsLine": {
    "fr": "Marches franchies : activité ✗, gain face à la détention ·, essais comptés ·, hasard ·, autre marché —, période en avant —.",
    "en": "Steps passed: activity ✗, gain vs holding ·, trials counted ·, chance ·, other market —, forward period —."
   },
   "pine": "//@version=5\nstrategy(\"BTC Long-Only SMA200 Regime\", overlay=true, initial_capital=10000,\n     default_qty_type=strategy.percent_of_equity, default_qty_value=100,\n     commission_type=strategy.commission.percent, commission_value=0.1,\n     pyramiding=0)\n\nlen = 200\nsmaVal = ta.sma(close, len)\n\nvar int upRun = 0\nvar int dnRun = 0\nupRun := close > smaVal ? upRun + 1 : 0\ndnRun := close < smaVal ? dnRun + 1 : 0\n\nif upRun >= 2 and strategy.position_size == 0\n    strategy.entry(\"Long\", strategy.long)\n\nif dnRun >= 2 and strategy.position_size > 0\n    strategy.close(\"Long\")\n\nplot(smaVal, \"SMA200\", color=color.orange)",
   "pineSha256": "d210ec8adfcc05a83713a4549edb9889b4f7e16a4ae8de1edc086858b17138ae",
   "ms": 14,
   "marches": {
    "code": "insufficient_activity",
    "k": 0,
    "n": 4,
    "steps": [
     {
      "key": "activite",
      "state": "ko",
      "fr": "Seulement 5 trades sur la période jamais vue, il en faut 10.",
      "en": "Only 5 trades on the period it never saw, 10 are needed."
     },
     {
      "key": "detention",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "essais",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "hasard",
      "state": "na",
      "fr": "Non jugée : trop peu de trades pour mesurer.",
      "en": "Not judged: too few trades to measure."
     },
     {
      "key": "autre_marche",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : rejugez la même règle sur les bougies d’un autre marché (fichier CSV).",
      "en": "Not measured by the online judge: judge the same rule on another market’s candles (CSV file)."
     },
     {
      "key": "en_avant",
      "state": "off",
      "fr": "Non mesurée par le juge en ligne : il ne suit pas encore un script dans le temps.",
      "en": "Not measured by the online judge: it does not follow a script over time yet."
     }
    ]
   },
   "holdBenchmark": {
    "fromIndex": 2679,
    "toIndex": 3347,
    "firstClose": 106133.74,
    "lastClose": 81615.64,
    "maxDrawdownPct": 52.97
   },
   "engine": {
    "ok": true,
    "moteur": "pine-vm",
    "schema": "sa.judge.verdict.v254",
    "engineSchema": "sa.pine_vm.verdict.v1",
    "scriptSha256": "d210ec8adfcc05a83713a4549edb9889b4f7e16a4ae8de1edc086858b17138ae",
    "datasetFingerprintSha256": "3be459bb7df833d5236aee93b3fcaf19f3b6134b1d0cf5c0c05ca7d427734984",
    "feeBps": 10,
    "judgeMode": "free",
    "execution": {
     "engine": "sa-pine-vm",
     "feeBps": 10,
     "commissionDeclared": true,
     "fillModel": "next_open",
     "processOrdersOnClose": false,
     "quantityType": "percent_of_equity",
     "quantityValue": 100,
     "judgeGaps": [],
     "gaps": [],
     "inputs": [],
     "higherTimeframes": []
    },
    "pineVersion": "v5",
    "scriptTitle": "BTC Long-Only SMA200 Regime",
    "verdict": {
     "code": "insufficient_activity",
     "reasons": [
      "holdout_trades_below_10"
     ],
     "judgeMode": "free",
     "alphaPct": 5,
     "trials": 1,
     "regime": "fixed_rule_preregistered_v1",
     "stepsPassed": 1,
     "stepsTotal": 4
    },
    "window": {
     "startIndex": 0,
     "bars": 3348,
     "trainBars": 2679,
     "endIndexInclusive": 3347,
     "holdoutPercent": 20
    },
    "train": {
     "trades": 16,
     "pnlPct": 783.68,
     "winRatePct": 25,
     "maxDrawdownPct": 60
    },
    "holdout": {
     "bars": 669,
     "trades": 5,
     "closedTrades": 5,
     "pnlPct": -19.11,
     "buyHoldPct": -23.25,
     "excessVsBuyHoldPct": 4.14,
     "maxDrawdownPct": 30.8,
     "winRatePct": 20,
     "startIndex": 2679,
     "endIndexInclusive": 3347,
     "firstTimestamp": "2024-12-17T00:00:00.000Z",
     "lastTimestamp": "2026-10-16T00:00:00.000Z"
    },
    "statistics": {
     "fixedRule243b": {
      "alphaPct": 5,
      "trials": 1,
      "eligible": true,
      "regime": "fixed_rule_preregistered_v1",
      "deflatedSharpe": {
       "probabilitySharpeExceedsBenchmarkPct": 99.22,
       "status": "complete",
       "trials": 1
      }
     },
     "spaVsBuyHoldTest": {
      "status": "complete",
      "consistentPValuePct": 100,
      "simulationsCompleted": 1000,
      "consistentExceedanceCount": 1000,
      "spaResolution246d": {
       "alphaPct": 5,
       "decision": "not_significant"
      }
     }
    },
    "sealedTrades": [
     {
      "side": "long",
      "entry_index": 2680,
      "exit_index": 2763,
      "entry_price": 106133.74,
      "exit_price": 78595.86,
      "pnl_pct": -26.120449161595552,
      "reason": "Close",
      "mfe_pct": 3.254629489170922,
      "mae_pct": 27.016696104367945
     },
     {
      "side": "long",
      "entry_index": 2768,
      "exit_index": 2770,
      "entry_price": 84338.44,
      "exit_price": 84010.02,
      "pnl_pct": -0.5890178428721212,
      "reason": "Close",
      "mfe_pct": 0.9231852047535991,
      "mae_pct": 2.795071855727954
     },
     {
      "side": "long",
      "entry_index": 2777,
      "exit_index": 2782,
      "entry_price": 87498.16,
      "exit_price": 82648.53,
      "pnl_pct": -5.737008286802835,
      "reason": "Close",
      "mfe_pct": 1.1902764583849545,
      "mae_pct": 6.689683531630842
     },
     {
      "side": "long",
      "entry_index": 2807,
      "exit_index": 2985,
      "entry_price": 93691.07,
      "exit_price": 107185,
      "pnl_pct": 14.188176023606085,
      "reason": "Close",
      "mfe_pct": 34.69760778695344,
      "mae_pct": 2.167826666938495
     },
     {
      "side": "long",
      "entry_index": 2987,
      "exit_index": 3002,
      "entry_price": 110532.09,
      "exit_price": 101497.23,
      "pnl_pct": -8.365796141193023,
      "reason": "Close",
      "mfe_pct": 5.308784082523006,
      "mae_pct": 10.48358897402555
     }
    ]
   }
  }
 ]
}