← All scripts

Order Flow Bar Statistics [QuantAlgo]

by QuantAlgo · Indicator · Pine Script v6 · 853 likes

Verifiedbit-exact

Order Flow Bar Statistics [QuantAlgo] by QuantAlgo, a Pine Script v6 indicator, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 490,464 plotted values compared with TradingView, every one bit-identical.

Plot match vs TradingView100%

Data-limited. This script calls request.footprint(), which needs tick-level order-flow data (buy/sell aggressor) that TradingView derives from bid/ask ticks. This comparison runs on frozen OHLCV bars without such a feed, so the footprint is na and the script falls back to price action. It runs, but it cannot match TradingView here, so it is excluded from the accuracy score.

Accuracy

  • Plots compared16
  • Plotted values compared490,464
  • Identical to the bit100%
  • Worst gapsame double
  • Transcendentals on the pathpow

Run

  • Bars executed30,655
  • Run time4.45 s CPU
  • Per-bar time0.14 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-01 15:00
  • Bars30,655

Source

  • Pine versionv6
  • Script revisionv1
  • LicenseCC

SHA-2569082825c69ebb7095f4db0eda66813d705349e45dbb8460044fad438b8654d60

View on TradingView Permalink: Order Flow Bar Statistics [QuantAlgo]

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