logo
Developers

Breakout Trend Follower Strategy

Script from: TradingViewIntraday

Audit verdict

RepaintsUpdated Jul 28, 2026

Repainting detected

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

1backtests1 market
1repaint error+2 warnings
27robust scoreranked median 52
—p-valueranked median 0.24

Audit details

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

✕
Repainting audit
5 of 8 checks passed.
✕
request.security uses barmerge.lookahead_on (potential repaint)
Found on line 91. Prefer lookahead_off or index the series with [1] or gate on barstate.isconfirmed.
!
strategy() with calc_on_every_tick=true or recalculate_on_every_tick=true
Found on line 13. Disable calc_on_every_tick/recalculate_on_every_tick for stable backtests unless truly required.
!
line.new() or array.new() created on every bar without var qualifier
Found on line 79. Create objects once (var) or gate creation with barstate.isfirst/na checks.
✓
Script availability
Open-source, still published on TradingView.
–
Statistical edge
Not meaningful: repainting inflates every backtest statistic of this script.
✕
Quality gate
No backtest has more than 15 trades, our minimum to evaluate a result.
✕
Robust score
27/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.

Does Breakout Trend Follower Strategy repaint?

Yes. request.security uses barmerge.lookahead_on (potential repaint) (line 91). 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