Skip to main content

Strategy judge › Pine Script strategies benchmark · updated 2026-11-23

22 Pine Script Strategies Benchmarked on Sealed Data

The best-known free Pine Script strategies, each replayed by the engine of our free online judge on Bitcoin daily candles, then judged once on a sealed period it never saw, 0.1% fees per side. What they really bring, step by step, with the raw engine output for every line.

Key figures

The 22 strategies, line by line

#StrategyVerdictSteps passedTrades (training / sealed)Sealed returnMax drawdown (sealed)Try it
—Holding BTC (reference)same sealed candles, from the judge’s daily closes−23.25%52.97%
1RSI 30/70
mean reversion · 7 free strategies article
Pine v5 script
//@version=5
strategy("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)
rsiValue = ta.rsi(close, 14)
if ta.crossover(rsiValue, 30)
    strategy.entry("Long", strategy.long)
if ta.crossunder(rsiValue, 70)
    strategy.close("Long")

SHA-256 ee9c44efadf357ce… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·11 / 3+25.32%
holding −23.25%
28.69%
holding 52.97%
Test in 1 click
dossier on these trades
2EMA ribbon 8/21/55
trend · 7 free strategies article
Pine v5 script
//@version=5
strategy("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)
fast = ta.ema(close, 8)
middle = ta.ema(close, 21)
slow = ta.ema(close, 55)
if fast > middle and middle > slow
    strategy.entry("Long", strategy.long)
if fast < middle
    strategy.close("Long")

SHA-256 6acb3d6f130a367e… · No evidence of an edge, for now

No evidence of an edge
no_edge_evidence · 2/4
activity ✓, gain vs holding ✗, trials counted ✓, chance ✗32 / 11−7.77%
holding −23.25%
20.56%
holding 52.97%
Test in 1 click
dossier on these trades
3Bollinger mean reversion 20/2
mean reversion · 7 free strategies article
Pine v5 script
//@version=5
strategy("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)
[basis, upper, lower] = ta.bb(close, 20, 2.0)
if close < lower
    strategy.entry("Long", strategy.long)
if close > upper
    strategy.close("Long")

SHA-256 670a9918a5ae360f… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·25 / 8−4.26%
holding −23.25%
39.44%
holding 52.97%
Test in 1 click
dossier on these trades
4MACD 12/26/9 signal cross
momentum · 7 free strategies article
Pine v5 script
//@version=5
strategy("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)
[macdLine, signalLine, histogram] = ta.macd(close, 12, 26, 9)
if ta.crossover(macdLine, signalLine)
    strategy.entry("Long", strategy.long)
if ta.crossunder(macdLine, signalLine)
    strategy.close("Long")

SHA-256 1791aaa10eae25ff… · No evidence of an edge, for now

No evidence of an edge
no_edge_evidence · 2/4
activity ✓, gain vs holding ✗, trials counted ✓, chance ✗91 / 28−10.94%
holding −23.25%
28.09%
holding 52.97%
Test in 1 click
dossier on these trades
5SuperTrend 3/10
trend · 7 free strategies article
Pine v5 script
//@version=5
strategy("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)
[trendLine, direction] = ta.supertrend(3, 10)
if direction < 0
    strategy.entry("Long", strategy.long)
if direction > 0
    strategy.close("Long")

SHA-256 e03e6336688b69b7… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·30 / 9−29.95%
holding −23.25%
46.08%
holding 52.97%
Test in 1 click
dossier on these trades
6Stochastic RSI 14/14/3/3
mean reversion · 7 free strategies article
Pine v5 script
//@version=5
strategy("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)
rsiValue = ta.rsi(close, 14)
k = ta.sma(ta.stoch(rsiValue, rsiValue, rsiValue, 14), 3)
d = ta.sma(k, 3)
if ta.crossover(k, d) and k < 20
    strategy.entry("Long", strategy.long)
if ta.crossunder(k, d) and k > 80
    strategy.close("Long")

SHA-256 de800e3c81700ea4… · No evidence of an edge, for now

No evidence of an edge
no_edge_evidence · 1/4
activity ✓, gain vs holding ✗, trials counted ✗, chance ✗52 / 14−13.58%
holding −23.25%
41.10%
holding 52.97%
Test in 1 click
dossier on these trades
7ATR breakout 20, 2 ATR stop
breakout · 7 free strategies article
Pine v5 script
//@version=5
strategy("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)
atrValue = ta.atr(14)
priorHigh = ta.highest(high, 20)[1]
atrAverage = ta.sma(atrValue, 20)
var float stopPrice = na
if strategy.position_size == 0
    stopPrice := na
    if close > priorHigh and atrValue > atrAverage
        stopPrice := close - 2 * atrValue
        strategy.entry("Long", strategy.long)
if not na(stopPrice)
    strategy.exit("ATR stop", "Long", stop=stopPrice)

SHA-256 bebef56f4e32209d… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
sealed period not opened: 8 training trades, 10 needed
activity ✗, gain vs holding ·, trials counted ·, chance ·8 / ———Test in 1 click
—
8EMA cross 12/26
trend · Pine vs ArenaScript article
Pine v5 script
//@version=5
strategy("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)
fast = ta.ema(close, 12)
slow = ta.ema(close, 26)
if ta.crossover(fast, slow)
    strategy.entry("Long", strategy.long)
if ta.crossunder(fast, slow)
    strategy.close("Long")

SHA-256 e874c7643099bf78… · No evidence of an edge yet: 3 of 4 steps passed

Inconclusive
inconclusive · 3/4
activity ✓, gain vs holding ✓, trials counted ✓, chance ✗36 / 12+1.46%
holding −23.25%
31.87%
holding 52.97%
Test in 1 click
dossier on these trades
9RSI pullback above EMA 200, 3% stop
pullback in trend · Pine vs ArenaScript article
Pine v5 script
//@version=5
strategy("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)
trend = ta.ema(close, 200)
rsi = ta.rsi(close, 14)
if close > trend and ta.crossover(rsi, 30) and strategy.position_size == 0
    strategy.entry("Long", strategy.long)
    strategy.exit("Stop", "Long", stop=close * 0.97)
if rsi > 70
    strategy.close("Long")

SHA-256 0feb96f41fbfe4fd… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
sealed period not opened: 3 training trades, 10 needed
activity ✗, gain vs holding ·, trials counted ·, chance ·3 / ———Test in 1 click
—
10Donchian 20 breakout, ATR stop and target
breakout · Pine vs ArenaScript article
Pine v5 script
//@version=5
strategy("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)
upper = ta.highest(high, 20)[1]
atr = ta.atr(14)
if close > upper and strategy.position_size == 0
    strategy.entry("Long", strategy.long)
    strategy.exit("ATR exit", "Long", stop=close - 2 * atr, limit=close + 3 * atr)

SHA-256 84c4df50f09089a1… · No evidence of an edge yet: 2 of 4 steps passed

Inconclusive
inconclusive · 2/4
activity ✓, gain vs holding ✓, trials counted ✗, chance ✗92 / 13+33.79%
holding −23.25%
20.60%
holding 52.97%
Test in 1 click
dossier on these trades
11Golden cross SMA 50/200
trend · classic
Pine v5 script
//@version=5
strategy("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)
fast = ta.sma(close, 50)
slow = ta.sma(close, 200)
if ta.crossover(fast, slow)
    strategy.entry("Long", strategy.long)
if ta.crossunder(fast, slow)
    strategy.close("Long")

SHA-256 a4281e8c0bb16f39… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
sealed period not opened: 6 training trades, 10 needed
activity ✗, gain vs holding ·, trials counted ·, chance ·6 / ———Test in 1 click
—
12SMA cross 20/50
trend · classic
Pine v5 script
//@version=5
strategy("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)
fast = ta.sma(close, 20)
slow = ta.sma(close, 50)
if ta.crossover(fast, slow)
    strategy.entry("Long", strategy.long)
if ta.crossunder(fast, slow)
    strategy.close("Long")

SHA-256 d215a9c01ddcc617… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·28 / 7+11.47%
holding −23.25%
28.83%
holding 52.97%
Test in 1 click
dossier on these trades
13EMA cross 9/21
trend · classic
Pine v5 script
//@version=5
strategy("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)
fast = ta.ema(close, 9)
slow = ta.ema(close, 21)
if ta.crossover(fast, slow)
    strategy.entry("Long", strategy.long)
if ta.crossunder(fast, slow)
    strategy.close("Long")

SHA-256 255326f5b419b4cb… · No evidence of an edge yet: 3 of 4 steps passed

Inconclusive
inconclusive · 3/4
activity ✓, gain vs holding ✓, trials counted ✓, chance ✗49 / 16+2.87%
holding −23.25%
24.65%
holding 52.97%
Test in 1 click
dossier on these trades
14200-day SMA trend filter
trend · classic
Pine v5 script
//@version=5
strategy("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)
trend = ta.sma(close, 200)
if close > trend
    strategy.entry("Long", strategy.long)
if close < trend
    strategy.close("Long")

SHA-256 4202a403d76ab3e0… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·23 / 9−14.06%
holding −23.25%
31.73%
holding 52.97%
Test in 1 click
dossier on these trades
15Turtle breakout 20/10
breakout · classic
Pine v5 script
//@version=5
strategy("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)
entryHigh = ta.highest(high, 20)[1]
exitLow = ta.lowest(low, 10)[1]
if close > entryHigh and strategy.position_size == 0
    strategy.entry("Long", strategy.long)
if close < exitLow
    strategy.close("Long")

SHA-256 7c4f2b6bac533796… · No evidence of an edge, for now

No evidence of an edge
no_edge_evidence · 2/4
activity ✓, gain vs holding ✗, trials counted ✓, chance ✗33 / 11−18.21%
holding −23.25%
38.02%
holding 52.97%
Test in 1 click
dossier on these trades
16Turtle breakout 55/20
breakout · classic
Pine v5 script
//@version=5
strategy("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)
entryHigh = ta.highest(high, 55)[1]
exitLow = ta.lowest(low, 20)[1]
if close > entryHigh and strategy.position_size == 0
    strategy.entry("Long", strategy.long)
if close < exitLow
    strategy.close("Long")

SHA-256 c9c9255cdb447a1f… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·15 / 6−17.12%
holding −23.25%
31.61%
holding 52.97%
Test in 1 click
dossier on these trades
17Bollinger breakout 20/2
breakout · classic
Pine v5 script
//@version=5
strategy("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)
[basis, upper, lower] = ta.bb(close, 20, 2.0)
if close > upper
    strategy.entry("Long", strategy.long)
if close < basis
    strategy.close("Long")

SHA-256 4d7ea28260846d87… · No evidence of an edge, for now

No evidence of an edge
no_edge_evidence · 2/4
activity ✓, gain vs holding ✗, trials counted ✓, chance ✗54 / 15−31.14%
holding −23.25%
36.36%
holding 52.97%
Test in 1 click
dossier on these trades
18Connors RSI(2) above SMA 200
pullback in trend · classic
Pine v5 script
//@version=5
strategy("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)
rsi2 = ta.rsi(close, 2)
trend = ta.sma(close, 200)
exitMa = ta.sma(close, 5)
if close > trend and rsi2 < 10 and close < exitMa and strategy.position_size == 0
    strategy.entry("Long", strategy.long)
if close > exitMa
    strategy.close("Long")

SHA-256 3a51eeb2000812d3… · No evidence of an edge yet: 2 of 4 steps passed

Inconclusive
inconclusive · 2/4
activity ✓, gain vs holding ✓, trials counted ✗, chance ✗56 / 14+5.04%
holding −23.25%
11.69%
holding 52.97%
Test in 1 click
dossier on these trades
19Close crosses EMA 50
trend · classic
Pine v5 script
//@version=5
strategy("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)
ema50 = ta.ema(close, 50)
if ta.crossover(close, ema50)
    strategy.entry("Long", strategy.long)
if ta.crossunder(close, ema50)
    strategy.close("Long")

SHA-256 db1738f82ad28015… · No evidence of an edge yet: 3 of 4 steps passed

Inconclusive
inconclusive · 3/4
activity ✓, gain vs holding ✓, trials counted ✓, chance ✗83 / 20+16.98%
holding −23.25%
27.64%
holding 52.97%
Test in 1 click
dossier on these trades
20Stochastic 14/3, 20/80
mean reversion · classic
Pine v5 script
//@version=5
strategy("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)
k = ta.sma(ta.stoch(close, high, low, 14), 3)
d = ta.sma(k, 3)
if ta.crossover(k, d) and k < 20
    strategy.entry("Long", strategy.long)
if ta.crossunder(k, d) and k > 80
    strategy.close("Long")

SHA-256 34364854cf9f565a… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·25 / 6−20.90%
holding −23.25%
44.42%
holding 52.97%
Test in 1 click
dossier on these trades
21Parabolic SAR 0.02/0.2
trend · classic
Pine v5 script
//@version=5
strategy("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)
sar = ta.sar(0.02, 0.02, 0.2)
if ta.crossover(close, sar)
    strategy.entry("Long", strategy.long)
if ta.crossunder(close, sar)
    strategy.close("Long")

SHA-256 fab09277178141fe… · No evidence of an edge, for now

No evidence of an edge
no_edge_evidence · 2/4
activity ✓, gain vs holding ✗, trials counted ✓, chance ✗110 / 27−8.79%
holding −23.25%
30.35%
holding 52.97%
Test in 1 click
dossier on these trades
22Keltner breakout (EMA 20, 2 ATR 10)
breakout · classic
Pine v5 script
//@version=5
strategy("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)
middle = ta.ema(close, 20)
upper = middle + 2 * ta.atr(10)
if close > upper and strategy.position_size == 0
    strategy.entry("Long", strategy.long)
if close < middle
    strategy.close("Long")

SHA-256 b8137360d4086d36… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·31 / 7−5.53%
holding −23.25%
25.23%
holding 52.97%
Test in 1 click
dossier on these trades

✓ passed · ✗ not yet · · not judged (the judge stopped before). Hover a step to read the judge’s sentence. “Test in 1 click” opens the free judge with that exact script, nothing runs until you click; after the verdict, “Open the free preview on these trades” builds the audit dossier on the judge’s trades.

What these rules bring, and what separates solid settings from fragile ones

The same test on strategies written by an AI

We asked GLM (opencode, model glm-5.3) the same prompt 3 times, on 2026-11-23: a long-only daily BTC strategy with the best chance of beating holding on data it never saw. The answers were judged exactly like the classics, without editing: GLM 1: not enough trades (0/4), GLM 2: not supported, GLM 3: not enough trades (0/4). All 3 answers are variants of the same idea, a 200-day simple moving average regime filter, close to the classic trend filter of row 14. prompt

#StrategyVerdictSteps passedTrades (training / sealed)Sealed returnMax drawdown (sealed)Try it
1GLM 1
AI · written by GLM
Pine v5 script
//@version=5
strategy("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)

smaLen = input.int(200, "SMA length", minval=20)
bandPct = input.float(1.0, "Hysteresis band %", minval=0, step=0.25)

sm = ta.sma(close, smaLen)
upper = sm * (1 + bandPct / 100)
lower = sm * (1 - bandPct / 100)

var bool inRegime = false
if not inRegime and close > upper
    inRegime := true
else if inRegime and close < lower
    inRegime := false

if inRegime and strategy.position_size == 0
    strategy.entry("Long", strategy.long)
if not inRegime and strategy.position_size > 0
    strategy.close("Long")

plot(sm, "SMA", color=color.orange)
bgcolor(inRegime ? color.new(color.green, 92) : color.new(color.red, 92))

SHA-256 94447a6dc3468766… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·19 / 4−9.01%
holding −23.25%
28.41%
holding 52.97%
Test in 1 click
dossier on these trades
2GLM 2
AI · written by GLM
Pine v5 script
//@version=5
strategy("BTC Daily Regime Trend (Long Only)", overlay=true,
     initial_capital=100000,
     default_qty_type=strategy.percent_of_equity,
     default_qty_value=100,
     commission_type=strategy.commission.percent,
     commission_value=0.1,
     pyramiding=0,
     calc_on_every_tick=false,
     process_orders_on_close=true)

len    = input.int(200,  "Regime SMA length", minval=50)
bufIn  = input.float(2.0, "Entry buffer %",   minval=0.0)
bufOut = input.float(2.0, "Exit buffer %",    minval=0.0)

ma        = ta.sma(close, len)
enterLvl = ma * (1 + bufIn  / 100)
exitLvl  = ma * (1 - bufOut / 100)

inLong = strategy.position_size > 0

if not inLong and close > enterLvl
    strategy.entry("Long", strategy.long)

if inLong and close < exitLvl
    strategy.close("Long")

SHA-256 c5a6397f6eb11120… · This script is not read as written

Not supported
the judge’s reader does not carry this script as written (not edited here): PINE_AI_SHAPE_NOT_CARRIED
— / ———Test in 1 click
—
3GLM 3
AI · written by GLM
Pine v5 script
//@version=5
strategy("BTC Long-Only SMA200 Regime", 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)

len = 200
smaVal = ta.sma(close, len)

var int upRun = 0
var int dnRun = 0
upRun := close > smaVal ? upRun + 1 : 0
dnRun := close < smaVal ? dnRun + 1 : 0

if upRun >= 2 and strategy.position_size == 0
    strategy.entry("Long", strategy.long)

if dnRun >= 2 and strategy.position_size > 0
    strategy.close("Long")

plot(smaVal, "SMA200", color=color.orange)

SHA-256 d210ec8adfcc05a8… · Not enough trades to judge yet

Not enough trades
insufficient_activity · 0/4
activity ✗, gain vs holding ·, trials counted ·, chance ·16 / 5−19.09%
holding −23.25%
30.77%
holding 52.97%
Test in 1 click
dossier on these trades

Cite this page

Strategy Arena (2026-11-23). 22 Pine Script strategies benchmarked on sealed BTCUSDT 1D data. https://strategyarena.io/en/pine-script-strategies-benchmark. Raw results: https://strategyarena.io/static/benchmark/pine-strategies-2026-11-23/results.json

Method in 5 lines

  1. Engine: the online judge’s own engine (wasm v271r, SHA-256 f97e787660726ff7…, verdict schema sa.judge.verdict.v254), run outside the browser on 2026-11-23 with the same inputs as the page: BTCUSDT 1D, 3348 Binance candles (2017-08-17 to 2026-10-16, data SHA-256 48a5598c9380…).
  2. Split: first 80% for training, last 20% sealed; the sealed period opens only if the rule made at least 10 trades in training.
  3. Execution: TradingView’s default (fill at the next open), 100% of equity per trade so that the result compares with holding (the article versions trade 10%), long only, 0.1% fee per side declared in each script.
  4. Verdict and steps: the engine’s verdict and the four steps the judge page shows (activity, gain vs holding, trials counted, chance); free mode, no setting tuned on the sealed data.
  5. Holding: return from the engine (holdout.buyHoldPct); holding drawdown computed by the lot script on the same sealed closes (the engine does not output it).

Raw engine output (every run, scripts and fingerprints included): results.json · summary summary.csv · engine wasm v271r, SHA-256 f97e787660726ff7…, verdict schema sa.judge.verdict.v254 · run 2026-11-23T16:41:24.138Z

Your own strategy next to these

Paste your Pine v5 strategy into the free judge: same candles, same sealed period, same steps. The script stays in your browser.

Questions

Which free Pine Script strategy did best on the sealed data?

None reached “survives”. The furthest, EMA cross 12/26, EMA cross 9/21 and Close crosses EMA 50, passed 3 of the 4 steps: they stop at the test against chance. Research on past data, not a recommendation.

Do these strategies protect against drawdowns?

On this sealed period, all 19 strategies the judge could open had a smaller maximum drawdown than holding Bitcoin (52.97%). They are out of the market part of the time, which also means they can miss rallies; one period is not a guarantee.

What is the sealed period?

The last 20% of the judge’s BTCUSDT daily candles, 2024-12-17 to 2026-10-16 (669 candles). The rule is replayed on the first 80% (training) and then once on this part it never saw, with 0.1% fees per side.

Can I reproduce these results?

Yes. Each row has a “Test in 1 click” button that opens the free online judge with that exact script; the raw engine output of every run, with the script fingerprints, is in the JSON file linked in “Cite this”.

Is this investment advice?

No. It is research on past data, never advice or a promise of gain. Market data: Binance (CC BY-NC-SA 4.0).

Market data: Binance (CC BY-NC-SA 4.0). Research on past data, never investment advice or a promise of gain. Results describe one market, one timeframe and one period. Pine Script is a trademark of TradingView, Inc.