Сalculation a position size based on risk
Verified
Сalculation a position size based on risk by adolgov, a Pine Script v4 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: all 135 trades match TradingView's entry and exit timing.
Accuracy
- Trades compared135 TV / 135 Pyne
- Whole-trade match100%
- Entry timing match100%
- Exit timing match100%
- Net profit (TV / Pyne)30,584 / 30,584
Run
- Bars executed29,848
- Run time1.18 s CPU
Data window
- SymbolBINANCE:BTCUSDT
- Timeframe30 min
- From2025-01-01 00:00
- To2026-09-14 19:30
- Bars29,848
Source
- Pine versionv4, converted to v6 by PyneComp
- Script revisionv1
- LicenseMPL-2.0
SHA-2567f6185176b7f03ce55ce758cc9763f8eecf7024670e1fed0d2f0029453f3c38b
Measured 2026-09-27 · How this is measured · All scripts