← All scripts

ATR Trailing Stoploss Strategy

by ceyhun · Strategy · Pine Script v4 · 775 likes

Verifiedbit-exact

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

Plot match vs TradingView100%

Accuracy

  • Trades compared2,788 TV / 2,788 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)31,162 / 31,162
  • Plots compared1
  • Plotted values compared30,651
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed30,651
  • Run time1.32 s CPU
  • Per-bar time0.04 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-01 13:00
  • Bars30,651

Source

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

SHA-256c076048ac26028c13ed9bde1c812847f9b6176dde8cb1936c0c5e18b26f29f11

View on TradingView Permalink: ATR Trailing Stoploss Strategy

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