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
- On the sealed period (2024-12-17 to 2026-10-16, 669 daily candles the rules never saw), holding Bitcoin returned −23.25%, with a maximum drawdown of 52.97%.
- The judge opened that period for 19 of the 22 strategies. All 19 had a smaller maximum drawdown than holding: from 11.69% (Connors RSI(2) above SMA 200) to 46.08%.
- 17 of 19 did better than holding on that period, and 7 ended it with a gain after fees.
- 0 of 22 reached “survives” (4 of 4 steps). The furthest, EMA cross 12/26, EMA cross 9/21 and Close crosses EMA 50, passed 3 of 4 steps.
- Verdicts: 5 inconclusive, 6 no evidence of an edge, 11 not enough trades (of which 3 with too few training trades for the sealed period to open).
The 22 strategies, line by line
| # | Strategy | Verdict | Steps passed | Trades (training / sealed) | Sealed return | Max drawdown (sealed) | Try it |
|---|---|---|---|---|---|---|---|
| — | Holding BTC (reference) | same sealed candles, from the judge’s daily closes | −23.25% | 52.97% | |||
| 1 | RSI 30/70 mean reversion · 7 free strategies article Pine v5 scriptSHA-256 ee9c44efadf357ce… · Not enough trades to judge yet | Not enough tradesinsufficient_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 |
| 2 | EMA ribbon 8/21/55 trend · 7 free strategies article Pine v5 scriptSHA-256 6acb3d6f130a367e… · No evidence of an edge, for now | No evidence of an edgeno_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 |
| 3 | Bollinger mean reversion 20/2 mean reversion · 7 free strategies article Pine v5 scriptSHA-256 670a9918a5ae360f… · Not enough trades to judge yet | Not enough tradesinsufficient_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 |
| 4 | MACD 12/26/9 signal cross momentum · 7 free strategies article Pine v5 scriptSHA-256 1791aaa10eae25ff… · No evidence of an edge, for now | No evidence of an edgeno_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 |
| 5 | SuperTrend 3/10 trend · 7 free strategies article Pine v5 scriptSHA-256 e03e6336688b69b7… · Not enough trades to judge yet | Not enough tradesinsufficient_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 |
| 6 | Stochastic RSI 14/14/3/3 mean reversion · 7 free strategies article Pine v5 scriptSHA-256 de800e3c81700ea4… · No evidence of an edge, for now | No evidence of an edgeno_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 |
| 7 | ATR breakout 20, 2 ATR stop breakout · 7 free strategies article Pine v5 scriptSHA-256 bebef56f4e32209d… · Not enough trades to judge yet | Not enough tradesinsufficient_activity · 0/4sealed period not opened: 8 training trades, 10 needed | activity ✗, gain vs holding ·, trials counted ·, chance · | 8 / — | — | — | Test in 1 click — |
| 8 | EMA cross 12/26 trend · Pine vs ArenaScript article Pine v5 scriptSHA-256 e874c7643099bf78… · No evidence of an edge yet: 3 of 4 steps passed | Inconclusiveinconclusive · 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 |
| 9 | RSI pullback above EMA 200, 3% stop pullback in trend · Pine vs ArenaScript article Pine v5 scriptSHA-256 0feb96f41fbfe4fd… · Not enough trades to judge yet | Not enough tradesinsufficient_activity · 0/4sealed period not opened: 3 training trades, 10 needed | activity ✗, gain vs holding ·, trials counted ·, chance · | 3 / — | — | — | Test in 1 click — |
| 10 | Donchian 20 breakout, ATR stop and target breakout · Pine vs ArenaScript article Pine v5 scriptSHA-256 84c4df50f09089a1… · No evidence of an edge yet: 2 of 4 steps passed | Inconclusiveinconclusive · 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 |
| 11 | Golden cross SMA 50/200 trend · classic Pine v5 scriptSHA-256 a4281e8c0bb16f39… · Not enough trades to judge yet | Not enough tradesinsufficient_activity · 0/4sealed period not opened: 6 training trades, 10 needed | activity ✗, gain vs holding ·, trials counted ·, chance · | 6 / — | — | — | Test in 1 click — |
| 12 | SMA cross 20/50 trend · classic Pine v5 scriptSHA-256 d215a9c01ddcc617… · Not enough trades to judge yet | Not enough tradesinsufficient_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 |
| 13 | EMA cross 9/21 trend · classic Pine v5 scriptSHA-256 255326f5b419b4cb… · No evidence of an edge yet: 3 of 4 steps passed | Inconclusiveinconclusive · 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 |
| 14 | 200-day SMA trend filter trend · classic Pine v5 scriptSHA-256 4202a403d76ab3e0… · Not enough trades to judge yet | Not enough tradesinsufficient_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 |
| 15 | Turtle breakout 20/10 breakout · classic Pine v5 scriptSHA-256 7c4f2b6bac533796… · No evidence of an edge, for now | No evidence of an edgeno_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 |
| 16 | Turtle breakout 55/20 breakout · classic Pine v5 scriptSHA-256 c9c9255cdb447a1f… · Not enough trades to judge yet | Not enough tradesinsufficient_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 |
| 17 | Bollinger breakout 20/2 breakout · classic Pine v5 scriptSHA-256 4d7ea28260846d87… · No evidence of an edge, for now | No evidence of an edgeno_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 |
| 18 | Connors RSI(2) above SMA 200 pullback in trend · classic Pine v5 scriptSHA-256 3a51eeb2000812d3… · No evidence of an edge yet: 2 of 4 steps passed | Inconclusiveinconclusive · 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 |
| 19 | Close crosses EMA 50 trend · classic Pine v5 scriptSHA-256 db1738f82ad28015… · No evidence of an edge yet: 3 of 4 steps passed | Inconclusiveinconclusive · 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 |
| 20 | Stochastic 14/3, 20/80 mean reversion · classic Pine v5 scriptSHA-256 34364854cf9f565a… · Not enough trades to judge yet | Not enough tradesinsufficient_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 |
| 21 | Parabolic SAR 0.02/0.2 trend · classic Pine v5 scriptSHA-256 fab09277178141fe… · No evidence of an edge, for now | No evidence of an edgeno_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 |
| 22 | Keltner breakout (EMA 20, 2 ATR 10) breakout · classic Pine v5 scriptSHA-256 b8137360d4086d36… · Not enough trades to judge yet | Not enough tradesinsufficient_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
- Fast crosses carry over better than slow ones on daily candles. EMA 9/21 and EMA 12/26 reach 3 of 4 steps with 16 and 12 sealed trades. SMA 20/50 makes only 7 trades on the sealed period, and the golden cross 50/200 only 6 in seven years of training: too few for any judgment, in either direction.
- The same idea, two exits. Turtle 20/10 trades often enough to be judged (11 sealed trades); Turtle 55/20 waits for rarer breakouts and stops at 6 trades. With Bollinger bands, buying below the lower band makes 8 sealed trades, buying the breakout 15.
- Where they stop. Of the 11 strategies judged to the end, 6 do not beat holding with a gain on the sealed period, and 11 do not pass the test against chance (SPA against holding, 5% threshold). The step that separates a sound setting from a lucky one is that last test.
- What protection costs. These rules are out of the market part of the time: that is where the smaller drawdown comes from, and also why they can miss a strong rally. On this sealed period the market fell, which favours rules that step aside; another period may not.
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
| # | Strategy | Verdict | Steps passed | Trades (training / sealed) | Sealed return | Max drawdown (sealed) | Try it |
|---|---|---|---|---|---|---|---|
| 1 | GLM 1 AI · written by GLM Pine v5 scriptSHA-256 94447a6dc3468766… · Not enough trades to judge yet | Not enough tradesinsufficient_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 |
| 2 | GLM 2 AI · written by GLM Pine v5 scriptSHA-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 — | |
| 3 | GLM 3 AI · written by GLM Pine v5 scriptSHA-256 d210ec8adfcc05a8… · Not enough trades to judge yet | Not enough tradesinsufficient_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
- 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…).
- Split: first 80% for training, last 20% sealed; the sealed period opens only if the rule made at least 10 trades in training.
- 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.
- 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.
- 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.