← All scripts

Support-Resistance breakout

by pmk07 · Strategy · Pine Script v4 · 4,621 likes

Lookahead

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. The script was 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 that is handed the completed bar). Its trades differ between the two runs, so its results depend on data its bars could not have had, and its TradingView reference is a lookahead result too. With the future leaks restored on the PyneCore side as well, its trades match TradingView 100%. Kept out of 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

View on TradingView Permalink: Support-Resistance breakout

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