← All scripts

ATR Trailing Stop Strategy by ceyhun

by ceyhun · Strategy · Pine Script v4 · 2,414 likes

Verifiedbit-exact

ATR Trailing Stop Strategy by ceyhun by ceyhun, a Pine Script v4 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 57,353 plotted values compared with TradingView, every one bit-identical; all 734 trades match TradingView's entry and exit timing.

Plot match vs TradingView100%

Accuracy

  • Trades compared734 TV / 734 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)34,924 / 34,924
  • Plots compared2
  • Plotted values compared57,353
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed28,683
  • Run time1.42 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-21 13:00
  • Bars28,683

Source

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

SHA-256d1f6e104abef8bfecb436074b4811632a622d1fb8e8b13a8f9dd390418d71fc0

View on TradingView Permalink: ATR Trailing Stop Strategy by ceyhun

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