← All scripts

Divergence for Many [Dimkud - v5]

by dimkud · Strategy · Pine Script v5 · 1,066 likes

Lookahead

Divergence for Many [Dimkud - v5] by dimkud, a Pine Script v5 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.4%

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 compared591 TV / 591 Pyne
  • Whole-trade match94.75%
  • Entry timing match94.92%
  • Exit timing match96.45%
  • Extra Pyne entries30
  • Net profit (TV / Pyne)-46 / -71
  • Plots compared15
  • Plotted values compared232,762
  • Identical to the bit99.698%
  • Worst gap8.1 × 10⁻³ relative (~2 significant figures)
  • Bars plotted by one side only639
  • Match on values alone99.698%
  • Pearson correlation (min)0.999996
  • Worst-matching plotPrecio Entrada

Run

  • Bars executed29,739
  • Run time25.79 s CPU
  • Per-bar time0.87 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-09-12 13:00
  • Bars29,739

Source

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

SHA-256c45eb96e5fdaa220e90cfd7aded75a74fd314f9e6c6de4c7da1236c87c79e87b

View on TradingView Permalink: Divergence for Many [Dimkud - v5]

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