← All scripts

Linear Regression Candles

by ugurvu · Indicator · Pine Script v4 · 12,392 likes

Verifiedbit-exact

Linear Regression Candles by ugurvu, a Pine Script v4 indicator, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 141,615 plotted values compared with TradingView, every one bit-identical.

Plot match vs TradingView100%

Accuracy

  • Plots compared9
  • Plotted values compared141,615
  • Identical to the bit100%
  • Worst gapsame double
  • Pearson correlation (min)1.000000

Run

  • Bars executed28,335
  • Run time1.17 s CPU
  • Per-bar time0.04 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-08-14 07:00
  • Bars28,335

Source

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

SHA-2562885750bea5b989df7fd7e1beab7322071f918ad5f9629fb5e031d8eab32268b

View on TradingView Permalink: Linear Regression Candles

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