← All scripts

Template Trailing Strategy (Backtester)

by jason5480 · Strategy · Pine Script v6 · 3,320 likes

Verifiedbit-exact

Template Trailing Strategy (Backtester) by jason5480, a Pine Script v6 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 190,368 plotted values compared with TradingView, every one bit-identical; all 208 trades match TradingView's entry and exit timing.

Plot match vs TradingView100%

Accuracy

  • Trades compared208 TV / 208 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-32,892 / -32,892
  • Plots compared30
  • Plotted values compared190,368
  • Identical to the bit100%
  • Worst gapsame double
  • Transcendentals on the pathexp, log, log10, pow, ta.alma (Gaussian weights via exp)
  • Pearson correlation (min)1.000000

Run

  • Bars executed27,612
  • Run time38.62 s CPU
  • Per-bar time1.40 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-07-30 05:30
  • Bars27,612

Source

  • Pine versionv6
  • Script revisionv53
  • LicenseCC

SHA-25603955a2d4857c5c43f2ccd9ed4e1b088215c9b80c365e1df76e2ccfbb220c85f

View on TradingView Permalink: Template Trailing Strategy (Backtester)

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