← All scripts

High Gain Volume Strategy Only 2 Candles

by Dreadblitz · Strategy · Pine Script v4 · 744 likes

Lookahead

High Gain Volume Strategy Only 2 Candles by Dreadblitz, 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 compared4,016 TV / 3,915 Pyne
  • Whole-trade match63.05%
  • Entry timing match75.2%
  • Exit timing match83.42%
  • Extra Pyne entries895
  • Net profit (TV / Pyne)11,407 / -358

Run

  • Bars executed30,711
  • Run time3.19 s CPU

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-02 19:00
  • Bars30,711

Source

  • Pine versionv4, converted to v6 by PyneComp
  • Script revisionv1
  • Licenseunspecified

SHA-2565854294befd6b585d5574ae15490dd8522ec82bbc6b5797ca7fe2ff53107c78b

View on TradingView Permalink: High Gain Volume Strategy Only 2 Candles

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