← All scripts

DCA Simulator

by lukescream · Strategy · Pine Script v5 · 756 likes

Verifiedbit-exact

DCA Simulator by lukescream, a Pine Script v5 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 30,000 plotted values compared with TradingView, every one bit-identical; all 21 trades match TradingView's entry and exit timing.

Plot match vs TradingView100%

Accuracy

  • Trades compared21 TV / 21 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-36 / -36
  • Plots compared1
  • Plotted values compared30,000
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed30,699
  • Secondary-feed bars3,334
  • Total bars processed34,033
  • Run time3.11 s CPU
  • Per-bar time0.10 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-02 13:00
  • Bars30,699
  • Security @ 1D3,334 bars

Source

  • Pine versionv5, converted to v6 by PyneComp
  • Script revisionv1
  • Licenseunspecified

SHA-2561356e84a4fbb8d88fe18d303b238050ec0e458bd881d6f7b11e58774b8c0ad2d

View on TradingView Permalink: DCA Simulator

Measured 2026-10-02 · How this is measured · All scripts