← All scripts

Turtle trading strategy (Donchian/ATR)

by jeanobrega · Strategy · Pine Script v4 · 1,814 likes

Verifiedbit-exact

Turtle trading strategy (Donchian/ATR) by jeanobrega, a Pine Script v4 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 86,438 plotted values compared with TradingView, every one bit-identical; all 438 trades match TradingView's entry and exit timing.

Plot match vs TradingView100%

Accuracy

  • Trades compared438 TV / 438 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)785 / 785
  • Plots compared3
  • Plotted values compared86,438
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed28,829
  • Run time1.54 s CPU
  • Per-bar time0.05 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-08-24 14:00
  • Bars28,829

Source

  • Pine versionv4, converted to v6 by PyneComp
  • Script revisionv4
  • Licenseunspecified

SHA-2562a62fab29323ca0b0a40241dd7632d8b7aa4886921d7ad1c1723c121bf773d47

View on TradingView Permalink: Turtle trading strategy (Donchian/ATR)

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