← All scripts

Trailing Take Profit Trailing Stop Loss

by jason5480 · Strategy · Pine Script v6 · 2,202 likes

Verifiedbit-exact

Trailing Take Profit Trailing Stop Loss by jason5480, a Pine Script v6 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 132,530 plotted values compared with TradingView, every one bit-identical; all 1,308 trades match TradingView's entry and exit timing.

Plot match vs TradingView100%

Accuracy

  • Trades compared1,308 TV / 1,308 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-22,222 / -22,222
  • Plots compared7
  • Plotted values compared132,530
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed27,612
  • Run time7.99 s CPU
  • Per-bar time0.29 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-07-30 05:30
  • Bars27,612

Source

  • Pine versionv6
  • Script revisionv37
  • LicenseMIT

SHA-256ee07dd6c24991c4b9f9539455eafa57e217e66775030ddec7cf7b15495124e13

View on TradingView Permalink: Trailing Take Profit Trailing Stop Loss

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