← All scripts

TRAILING STOP LOSS TO LONG AND SHORT

by exit490 · Strategy · Pine Script v4 · 972 likes

Verifiedbit-exact

TRAILING STOP LOSS TO LONG AND SHORT by exit490, a Pine Script v4 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 59,362 plotted values compared with TradingView, every one bit-identical; all 164 trades match TradingView's entry and exit timing.

Plot match vs TradingView100%

Accuracy

  • Trades compared164 TV / 164 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-12,327 / -12,327
  • Plots compared2
  • Plotted values compared59,362
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed29,845
  • Run time1.90 s CPU
  • Per-bar time0.06 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-09-14 18:00
  • Bars29,845

Source

  • Pine versionv4, converted to v6 by PyneComp
  • Script revisionv1
  • LicenseMIT

SHA-2562d5350ffa52f1dc4978083228f6a0fd56a236934c154d47efec2c3e857ecaaed

View on TradingView Permalink: TRAILING STOP LOSS TO LONG AND SHORT

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