Stepped trailing strategy example
Verifiedbit-exact
Stepped trailing strategy example by adolgov, a Pine Script v4 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 52,886 plotted values compared with TradingView, every one bit-identical; all 64 trades match TradingView's entry and exit timing.
Accuracy
- Trades compared64 TV / 64 Pyne
- Whole-trade match100%
- Entry timing match100%
- Exit timing match100%
- Net profit (TV / Pyne)-44,004 / -44,004
- Plots compared3
- Plotted values compared52,886
- Identical to the bit100%
- Worst gapsame double
- Pearson correlation (min)1.000000
Run
- Bars executed28,498
- Run time2.05 s CPU
- Per-bar time0.07 ms/bar CPU (per chart bar)
Data window
- SymbolBINANCE:BTCUSDT
- Timeframe30 min
- From2025-01-01 00:00
- To2026-08-17 16:30
- Bars28,498
Source
- Pine versionv4, converted to v6 by PyneComp
- Script revisionv3
- LicenseMPL-2.0
SHA-25696205d105e0d2069e6b564c01a9ab5641811f905ac71113c9855af59f84f1e2f
Measured 2026-09-27 · How this is measured · All scripts