Pine-to-Python verification report

Pyne in the Wild

Real TradingView Pine scripts, run as Python.

PyneComp converts open-source Pine Script™ into Python. PyneCore runs the converted scripts on real market data, and this report compares plots and trades against TradingView's own output.

PyneCore is validated against TradingView on 930 published Pine scripts; last run . How it is measured

  1. Pine Script
  2. PyneComp
  3. PyneCore (Python)
  4. TradingView reference
930 published scripts open-source Pine Script corpus
1,256 TV-comparable outputs 822 plot + 434 trade outputs
100% TV fidelity 1256/1256 comparable outputs verified
99.748% bit-exact values All remaining values matched within published tolerance

The Proof Ladder

Every script in the corpus climbs the same four rungs. No cherry-picking — failures are published right next to the successes.

T0

Compiles

PyneComp converts the original Pine source into runnable Python, untouched by human hands.

930 / 930 scripts
T1

Runs

PyneCore executes the converted script over 25,000+ bars of real exchange data without errors.

930 / 930 compiled
T2

Has measurable output

The run emitted numeric plot or trade data that can be checked. Drawing-only scripts are reported separately.

903 / 930 with plot/trade output
T3

Matches TradingView

Plot and trade outputs are compared bar by bar and trade by trade against TradingView's own reference.

1256 / 1256 outputs
822 plot + 434 trade outputs

Results at a Glance

Indicators compared plot by plot, strategies trade by trade, against TradingView's own output. The headline counts are over the scripts that produce a comparable numeric reference; a plot PyneCore fails to reproduce counts as a divergence, never as "no reference". Corpus coverage and each script's full detail are in The Corpus below.

Corpus outcome

930 scripts
  • 877Matches TradingView
  • 0Diverges from TradingView
  • 25Depends on lookahead
  • 1Data-limited (unavailable feed)
  • 27Runs (no reference output)
  • 0Run failed

Indicators — plot verification

440 / 439

indicators clearing the ≥99% plot-match threshold

  • Comparable plot references439 / 467
  • Compared plots >=99%440 / 439
  • Exact plot matches439 / 439
  • Mean on compared plots100%
  • Worst per-script plot match100%

Strategies — trade timing

434 / 434

trade-producing strategies clearing the ≥99% whole-trade timing threshold

  • Trade-producing strategies compared434 / 463
  • Whole-trade timing >=99%434 / 434
  • Plot-verified, no trades produced3
  • Verified strategies (trades or plots)437 / 463
  • TradingView trades checked322,325
  • Exact trade-count matches434 / 434
  • Net profit within tolerance434 / 434
  • Mean entry/exit timing match100% / 100%

How closely — the numbers themselves

99.748%

of the compared plotted values were the identical IEEE-754 double

  • Plotted values compared119,870,378
  • Identical to the bit119,568,981 (99.748%)
  • Scripts bit-exact throughout802 / 821
  • Explained by libm last bits4 / 821
  • Rest, within the published band15 / 821
  • Worst relative gap from TradingView1.2 × 10⁻¹⁰ (~9 sig. figures)

Methodology

Reproducible by design. The manifest pins the exact source of every script with a SHA-256 hash — and TradingView keeps every published version forever, so anyone can re-run the comparison.

run parameters
symbol      = BINANCE:BTCUSDTtimeframe   = 30 minexceptions  = 40 scripts on their own marketbars        = 25,000+ per scriptulp_limit   = 64 (libm tier)rel_tol     = 1e-9scale_floor = 1e-9 x series mediannet_tol     = 2.0% of the larger netreference   = TradingView exportsources     = SHA-256 pinned manifest
1

Open-source scripts only

A script enters the corpus only if it is published open source, written in a supported Pine version, and its header does not forbid reuse. The detected license is recorded in the manifest.

2

No source redistribution

Only the manifest (name, author, link, license, version, SHA-256) is published. Pine sources are fetched locally, used for measurement, never re-hosted.

3

TradingView is the reference

Reference plots and trade lists come from running the original script on TradingView itself, on the same symbol, timeframe and bar range.

4

Failures stay on the board

Scripts that time out or hit harness limits are reported as-is. A proof you can't falsify is not a proof.

“Matches” is a weak word. Here is what it means.

A percentage only says the outputs landed inside a band, and a band is something we chose. So each compared value is also placed on the one scale that is not ours to choose — the IEEE-754 double both engines store it in. Consecutive representable doubles are one step apart; that step is the finest distinction the type can make.

  • bit-exact Every compared bar produced the identical double. Not “close enough”: the same 64 bits, from the first bar to the last.
  • libm The values differ only in the last bits of the mantissa, and the script reaches a transcendental function — log, exp, pow, the trig family. IEEE-754 requires + − × ÷ and sqrt to be correctly rounded, and requires nothing of those, so CPython's C library and TradingView's Java runtime can both be right and still land a few representable values apart — which a long accumulation then carries forward. The tier is capped at 64 representable values, chosen from measurement: across our own reference corpus the widest such gap is 23. A script whose numbers sit inside that cap but reaches no transcendental is not labelled this way; an explanation has to explain something.

The two tiers sit under the Verified badge in the table, because that is what they are: the rung a verified script reached, never a verdict of their own. Anything else carries no tier line — it agreed within the published band, which is what the Verified badge above already says. The band itself is one number, not two — a relative tolerance. Near zero a relative test has nothing to be relative to, so it falls back on a floor taken from the series' own median magnitude; a fixed absolute floor would be unreachable for a series living at 100,000 and larger than the whole signal for one living at 0.000001.

The band itself, script by script

Agreement “within the band” is a range, not a verdict, so here is the whole tier — worst relative gap first. The worst case is one number; the shape underneath it — a single outlier over a floor of near-exact agreement — is what a bare worst-case or a mean would throw away.

scriptmax_relsig. figures
Machine Learning Moving Average [LuxAlgo]1.2 × 10⁻¹⁰~9
TSI CCI Hull with profit$$$2.8 × 10⁻¹²~11
Reaction Path [BullByte]9.0 × 10⁻¹³~12
the other 12 scripts< 10⁻¹²12+

Don't take our word for it. Every script is pinned by SHA-256, and TradingView keeps every published version. Pull the same script, run it on your own TradingView subscription, and compare it with PyneSys. The numbers are the numbers.

The Corpus

The most-liked open-source Pine scripts on TradingView, in order of community popularity (or whatever you sort the table by — the choice is remembered). Every name links to the original publication.

STRATEGY SCRIPT Sweep Return v1 by everevolving365 278STRv6Verifiedbit-exact
100%2 plots
100%1,278 / 1,278
✓100.000%30,657
Plot match vs TradingView100%

Accuracy

  • Trades compared1,278 TV / 1,278 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)3,643 / 3,643
  • Plots compared2
  • Plotted values compared58,700
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed30,657
  • Run time1.52 s CPU
  • Per-bar time0.05 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-01 16:00
  • Bars30,657

Source

  • Pine versionv6
  • Script revisionv1
  • Licenseunspecified

SHA-2562b6e6a68a0b660f31608ef8a3e3546f03ddcfc36fe96d0e6835f5628d8be5e03

View on TradingView Permalink: STRATEGY SCRIPT Sweep Return v1
Harmonic Pulse | XABCD Fibonacci Pattern Strategyby blitz_locked · MPL-2.0 266STRv6Verifiedbit-exact
100%2 plots
100%455 / 455
✓100.000%30,656
Plot match vs TradingView100%

Accuracy

  • Trades compared455 TV / 455 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-550 / -550
  • Plots compared2
  • Plotted values compared61,312
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed30,656
  • Run time1.14 s CPU
  • Per-bar time0.04 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-01 15:30
  • Bars30,656

Source

  • Pine versionv6
  • Script revisionv1
  • LicenseMPL-2.0

SHA-256bf46b598d83605002589cc04c9f1adedcf5012e64b8d720ff01950bc53ac7be6

View on TradingView Permalink: Harmonic Pulse | XABCD Fibonacci Pattern Strategy
FlyTV - a real fruit fly connectome trading on your chartby gsoloviev · MPL-2.0 258STRv6Verifiedbit-exact
100%7 plots
100%108 / 108
✓100.000%30,656
Plot match vs TradingView100%

Accuracy

  • Trades compared108 TV / 108 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-814 / -814
  • Plots compared7
  • Plotted values compared8,337
  • Identical to the bit100%
  • Worst gapsame double
  • Transcendentals on the pathatan, cos, exp, log, pow, sin
  • Pearson correlation (min)1.000000

Run

  • Bars executed30,656
  • Run time20.34 s CPU
  • Per-bar time16.95 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-01 15:30
  • Bars30,656

Source

  • Pine versionv6
  • Script revisionv5
  • LicenseMPL-2.0

SHA-256e558db7c5b23756fbf5850b4fe0c6ba5263c363bba22612eb2c2fed7b5f5dcf6

View on TradingView Permalink: FlyTV - a real fruit fly connectome trading on your chart
Breakout Pulse | Volume-Confirmed Support/Resistance Strategyby blitz_locked · MPL-2.0 255STRv6Verifiedbit-exact
100%14 plots
100%222 / 222
✓100.000%30,656
Plot match vs TradingView100%

Accuracy

  • Trades compared222 TV / 222 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-532 / -532
  • Plots compared14
  • Plotted values compared428,509
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed30,656
  • Run time1.92 s CPU
  • Per-bar time0.06 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-01 15:30
  • Bars30,656

Source

  • Pine versionv6
  • Script revisionv2
  • LicenseMPL-2.0

SHA-2560683a02fa46b18dfac01112b9b2242015aab46a263440d8cacd107d4bb362553

View on TradingView Permalink: Breakout Pulse | Volume-Confirmed Support/Resistance Strategy
QuantumForexTrader_SniperFusion_Strategy_v2by finnp17 179STRv6Verifiedbit-exact
100%8 plots
100%862 / 862
✓100.000%30,657
Plot match vs TradingView100%

Accuracy

  • Trades compared862 TV / 862 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-5,840 / -5,840
  • Plots compared8
  • Plotted values compared219,116
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed30,657
  • Secondary-feed bars99,999
  • Total bars processed130,656
  • Run time7.07 s CPU
  • Per-bar time0.23 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-01 16:00
  • Bars30,657
  • Security @ 5 min99,999 bars

Source

  • Pine versionv6
  • Script revisionv1
  • Licenseunspecified

SHA-256ec9fc607a88e74b1d6735739e413d65fbac2d0371a43e11398892dc9aa5fad00

View on TradingView Permalink: QuantumForexTrader_SniperFusion_Strategy_v2

Every script on this page was compiled by PyneComp and run by PyneCore. Both are live.

Try PyneComp Convert your first Pine script at pynesys.io