Support-Resistance breakout
Support-Resistance breakout by pmk07, a Pine Script v4 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: run with TradingView's future-leaks restored, its own trades change, so its results depend on data its bars could not have had and it is held apart from the accuracy score (lookahead).
Lookahead, measured — run once with PyneCore's own rules and once with TradingView's future-leaks restored (an open higher-timeframe period read as if it had closed, or a body re-running mid-bar handed the completed bar), the script's own trades differ. Its results depend on data its bars could not have had, so its TradingView reference is itself a lookahead result. With the future-leaks restored on the PyneCore side too, its trades match TradingView 100%. Held apart from the accuracy score.
Accuracy
- Trades compared693 TV / 693 Pyne
- Whole-trade match92.65%
- Entry timing match92.94%
- Exit timing match99.71%
- Extra Pyne entries49
- Net profit (TV / Pyne)41,814 / 18,008
Run
- Bars executed28,334
- Run time1.38 s CPU
- Per-bar time0.05 ms/bar CPU (per chart bar)
Data window
- SymbolBINANCE:BTCUSDT
- Timeframe30 min
- From2025-01-01 00:00
- To2026-08-14 06:30
- Bars28,334
Source
- Pine versionv4, converted to v6 by PyneComp
- Script revisionv1
- Licenseunspecified
SHA-25611a78cdc587e231f25b0e92bd75ef8002fd7ea885ab409acf5d3ee14ad0f074c
Measured 2026-09-27 · How this is measured · All scripts