← All scripts

Backtesting Module

by dg_factor · Strategy · Pine Script v5 · 1,257 likes

Verifiedbit-exact

Backtesting Module by dg_factor, a Pine Script v5 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 29,032 plotted values compared with TradingView, every one bit-identical; all 195 trades match TradingView's entry and exit timing.

Plot match vs TradingView100%

Accuracy

  • Trades compared195 TV / 195 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-643 / -643
  • Plots compared3
  • Plotted values compared29,032
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed29,032
  • Run time1.85 s CPU
  • Per-bar time0.06 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-08-28 19:30
  • Bars29,032

Source

  • Pine versionv5, converted to v6 by PyneComp
  • Script revisionv4
  • LicenseMPL-2.0

SHA-256682d476428390f93260b0db9d0c3203f19c23994165530a79f5528d5b146b018

View on TradingView Permalink: Backtesting Module

Measured 2026-09-27 · How this is measured · All scripts