ATR Trend Strategy with Moving Average | Fixed TP/SL version
Verifiedbit-exact
ATR Trend Strategy with Moving Average | Fixed TP/SL version by lahonglam, a Pine Script v6 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 355,501 plotted values compared with TradingView, every one bit-identical; all 110 trades match TradingView's entry and exit timing.
Accuracy
- Trades compared110 TV / 110 Pyne
- Whole-trade match100%
- Entry timing match100%
- Exit timing match100%
- Net profit (TV / Pyne)192 / 192
- Plots compared13
- Plotted values compared355,501
- Identical to the bit100%
- Worst gapsame double
- Transcendentals on the pathasin, exp, log, pow
- Pearson correlation (min)1.000000
Run
- Bars executed27,615
- Run time5.17 s CPU
- Per-bar time0.19 ms/bar CPU (per chart bar)
Data window
- SymbolBINANCE:BTCUSDT
- Timeframe30 min
- From2025-01-01 00:00
- To2026-07-30 07:00
- Bars27,615
Source
- Pine versionv6
- Script revisionv3
- LicenseMPL-2.0
SHA-256e648053886d85db61c396532ac6d8286a4d4ce2561e9382832d6fef96dce3690
Measured 2026-09-27 · How this is measured · All scripts