HTF High/Low Repaint Strategy
HTF High/Low Repaint Strategy by Trendoscope, 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).
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 94.9%. Held apart from the accuracy score.
Accuracy
- Trades compared1 TV / 3 Pyne
- Whole-trade match0%
- Entry timing match0%
- Exit timing match0%
- Extra Pyne entries4
- Net profit (TV / Pyne)-1,281 / -14,618
- Plots compared2
- Plotted values compared59,102
- Identical to the bit60.656%
- Worst gap4.6 × 10⁻¹ relative (~0 significant figures)
- Pearson correlation (min)0.863081
- Worst-matching plotHTF Low
Run
- Bars executed29,551
- Secondary-feed bars36
- Total bars processed29,587
- Run time33.05 s CPU
- Per-bar time1.12 ms/bar CPU (per chart bar)
Data window
- SymbolBINANCE:BTCUSDT
- Timeframe30 min
- From2025-01-01 00:00
- To2026-09-08 15:00
- Bars29,551
- Security @ 3M36 bars
Source
- Pine versionv4, converted to v6 by PyneComp
- Script revisionv1
- LicenseMPL-2.0
SHA-2563ecf3bda0452841778216e63ec124bddf53b77b0b1cb16b05a82ea7b204ffef5
Measured 2026-09-27 · How this is measured · All scripts