← All scripts

Top 40 High Low Strategy for SPY, 5min

by PtGambler · Strategy · Pine Script v5 · 966 likes

Verifiedbit-exact

Top 40 High Low Strategy for SPY, 5min by PtGambler, a Pine Script v5 strategy, converted with PyneComp and run with PyneCore on AMEX:SPY 5m: 146,152 plotted values compared with TradingView, every one bit-identical; all 247 trades match TradingView's entry and exit timing.

Plot match vs TradingView100%

Accuracy

  • Trades compared247 TV / 247 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-28,164 / -28,164
  • Plots compared8
  • Plotted values compared146,152
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed20,207
  • Secondary-feed bars788,651
  • Total bars processed808,858
  • Run time33.46 s CPU
  • Per-bar time1.66 ms/bar CPU (per chart bar)

Data window

  • SymbolAMEX:SPY
  • Timeframe5 min
  • From2025-09-02 13:30
  • To2026-09-14 19:50
  • Bars20,207
  • Security AAPL @ 5 min20,207 bars
  • Security MSFT @ 5 min20,207 bars
  • Security AMZN @ 5 min20,207 bars
  • Security GOOG @ 5 min20,207 bars
  • Security FB @ 5 min582 bars
  • Security TSLA @ 5 min20,207 bars
  • Security NVDA @ 5 min20,207 bars
  • Security BRK.B @ 5 min20,207 bars
  • Security JPM @ 5 min20,207 bars
  • Security UNH @ 5 min20,207 bars
  • Security JNJ @ 5 min20,207 bars
  • Security HD @ 5 min20,207 bars
  • Security PG @ 5 min20,207 bars
  • Security V @ 5 min20,207 bars
  • Security PFE @ 5 min20,207 bars
  • Security BAC @ 5 min20,207 bars
  • Security MA @ 5 min20,207 bars
  • Security ADBE @ 5 min20,207 bars
  • Security DIS @ 5 min20,207 bars
  • Security NFLX @ 5 min20,207 bars
  • Security TMO @ 5 min20,204 bars
  • Security XOM @ 5 min20,207 bars
  • Security CRM @ 5 min20,207 bars
  • Security CSCO @ 5 min20,207 bars
  • Security COST @ 5 min20,207 bars
  • Security ABT @ 5 min20,207 bars
  • Security PEP @ 5 min20,207 bars
  • Security ABBV @ 5 min20,207 bars
  • Security KO @ 5 min20,207 bars
  • Security PYPL @ 5 min20,207 bars
  • Security CVX @ 5 min20,207 bars
  • Security CMCSA @ 5 min20,207 bars
  • Security LLY @ 5 min20,207 bars
  • Security QCOM @ 5 min20,207 bars
  • Security NKE @ 5 min20,207 bars
  • Security VZ @ 5 min20,207 bars
  • Security WMT @ 5 min20,207 bars
  • Security INTC @ 5 min20,207 bars
  • Security ACN @ 5 min20,206 bars
  • Security AVGO @ 5 min20,207 bars

Source

  • Pine versionv5, converted to v6 by PyneComp
  • Script revisionv1
  • LicenseMPL-2.0

SHA-2561e9c51cee5122aced921717f31709b5a8fbd0ad4b5cdb7b5c05c4be596f7d2f6

View on TradingView Permalink: Top 40 High Low Strategy for SPY, 5min

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