logo
Developers

Long-Only Opening Range Breakout (ORB) with Pivot Points

Script from: TradingViewIntradayBreakoutTrend followingMomentumVolumeORB

Capitalize on early market moves with this day-trading strategy. After identifying the asset's opening range, take a long position when prices break above this range, using Pivot Points to gauge key support or resistance levels. Customize settings in TradingView, including the opening session and stop-loss rules. The strategy includes a trailing stop mechanism, automatically adjusting stop losses to lock in profits while protecting against downturns, and implements an EOD exit feature.

Audit verdict

RepaintsUpdated Jul 28, 2026

Repainting detected

Our audit flags: request.security uses barmerge.lookahead_on (potential repaint), lines 16, 18, 19. Its backtests can show results that cannot be reproduced in live trading.

2,390backtests3 markets
1repaint error
35robust scoreranked median 52
98%max drawdownon best backtest

Audit details

How we decide whether a strategy enters our rankings. Read the methodology →

✕
Repainting audit
7 of 8 checks passed.
✕
request.security uses barmerge.lookahead_on (potential repaint)
Found on lines 16, 18, 19. Prefer lookahead_off or index the series with [1] or gate on barstate.isconfirmed.
✓
Script availability
Open-source, still published on TradingView.
–
Statistical edge
Not meaningful: repainting inflates every backtest statistic of this script.
✓
Quality gate
10 of 139 backtests with more than 15 trades pass our quality gate.
✕
Robust score
35/100, below the median of 52 for ranked strategies.

Why repainting matters

A repainting script uses values that were not known when the bar closed. Its backtest trades on that future information, so live results diverge from what the backtest shows, often by a wide margin.

Best 5 of 2,390 backtests

Shown for transparency.

SymbolTimeframeNet profitProfit factorTradesMax drawdown
United Airlines Holdings, Inc.
NASDAQ:UAL
4H+668%1.082,35198%
Plug Power, Inc.
NASDAQ:PLUG
2H+426%1.052,70396%
Lucid Group, Inc.
NASDAQ:LCID
2H+345%1.4341435%
Newmont Corporation
NYSE:NEM
4H+282%1.073,12848%
Riot Platforms, Inc.
NASDAQ:RIOT
2H+266%1.061,55086%
⚠Repainting signature: these returns depend on information that was not available in real time, so they cannot be reproduced live.

Does Long-Only Opening Range Breakout (ORB) with Pivot Points repaint?

Yes. request.security uses barmerge.lookahead_on (potential repaint) (lines 16, 18, 19). Backtests of this script can show returns that cannot be reproduced in live trading.

Strategies that passed our audit

Ranked strategies from the same family, ordered by robust score.

Explore the best Trading & TradingView strategies

Stop trading blindly. Explore quality-gated backtests and improve your trading skills with data.

Start for free