← All scripts

Momentum Strategy (BTC/USDT; 1h) - MACD (with source code)

by Drun30 · Strategy · Pine Script v4 · 766 likes

Verifiedbit-exact

Momentum Strategy (BTC/USDT; 1h) - MACD (with source code) by Drun30, a Pine Script v4 strategy, converted with PyneComp and run with PyneCore on BINANCE:BTCUSDT 30m: 30,531 plotted values compared with TradingView, every one bit-identical; all 1,503 trades match TradingView's entry and exit timing.

Plot match vs TradingView100%

Accuracy

  • Trades compared1,503 TV / 1,503 Pyne
  • Whole-trade match100%
  • Entry timing match100%
  • Exit timing match100%
  • Net profit (TV / Pyne)-94 / -94
  • Plots compared2
  • Plotted values compared30,531
  • Identical to the bit100%
  • Worst gapsame double
  • Transcendentals on the pathpow
  • Pearson correlation (min)1.000000

Run

  • Bars executed30,685
  • Run time2.29 s CPU
  • Per-bar time0.07 ms/bar CPU (per chart bar)

Data window

  • SymbolBINANCE:BTCUSDT
  • Timeframe30 min
  • From2025-01-01 00:00
  • To2026-10-02 06:00
  • Bars30,685

Source

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

SHA-2568e0e4bbdffb935f897c29ebb125e9fca670e09f3aff7029a6948445b4698faa3

View on TradingView Permalink: Momentum Strategy (BTC/USDT; 1h) - MACD (with source code)

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