← All scripts

Multi-Oscillator Divergence Strategy

by Craig_Claussen · Strategy · Pine Script v4 · 1,049 likes

Lookahead

Multi-Oscillator Divergence Strategy by Craig_Claussen, 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 plots change, so its results depend on data its bars could not have had and it is held apart from the accuracy score (lookahead).

Plot match vs TradingView99.9%

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 plots 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 plots match TradingView 100%. Held apart from the accuracy score.

Accuracy

  • Trades compared240 TV / 236 Pyne
  • Whole-trade match97.51%
  • Entry timing match98.34%
  • Exit timing match98.33%
  • Net profit (TV / Pyne)36,458 / 48,149
  • Plots compared9
  • Plotted values compared37,507
  • Identical to the bit100%
  • Worst gapsame double
  • Bars plotted by one side only2
  • Match on values alone100%
  • Pearson correlation (min)1.000000
  • Worst-matching plotHidden Bearish Label

Run

  • Bars executed29,744
  • Run time2.58 s CPU
  • Per-bar time0.09 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-09-12 15:30
  • Bars29,744

Source

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

SHA-2561f4f5b8f47f52baa21726aaec03e2a1469004334c4d7b1a0a2eeb132cb565e7c

View on TradingView Permalink: Multi-Oscillator Divergence Strategy

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