logo
Developers

Swing Trades Validator - The One Trader

Script from: TradingViewLongTermPrice actionMarket structureBreakoutPullbackTrend followingMomentumBotCandlestickPattern

This swing strategy validates a strong bullish trend across Monthly, Weekly, and Daily timeframes using the 8 and 20 EMAs. On the Daily chart, wait for a pullback towards the moving averages that forms a "Ring Low" pattern. The entry trigger is a resumption candle closing above the previous day's high, signaling trend continuation. This method is designed for holding periods of up to several months, executing trades on the daily chart.

Audit verdict

RepaintsUpdated Jul 28, 2026

Repainting detected

Our audit flags: request.security uses barmerge.lookahead_on (potential repaint), lines 40, 41, 42, 43, 44, 45, 46, 47, 48, 49. Its backtests can show results that cannot be reproduced in live trading.

945backtests3 markets
1repaint error
49robust scoreranked median 52
31%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 40, 41, 42, 43, 44, 45, 46, 47, 48, 49. 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
None of the 128 backtests with more than 15 trades passes our quality gate.
✕
Robust score
49/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 945 backtests

Shown for transparency.

SymbolTimeframeNet profitProfit factorTradesMax drawdown
Coca-Cola Company (The)
NYSE:KO
1D+41,423%7.638331%
Johnson & Johnson
NYSE:JNJ
1D+16,283%2.878525%
Apple Inc.
NASDAQ:AAPL
1D+8,693%3.578344%
Advanced Micro Devices, Inc.
NASDAQ:AMD
4H+8,417%79.975114%
Apple Inc.
NASDAQ:AAPL
4H+4,424%2.586831%
⚠Repainting signature: these returns depend on information that was not available in real time, so they cannot be reproduced live.

Does Swing Trades Validator - The One Trader repaint?

Yes. request.security uses barmerge.lookahead_on (potential repaint) (lines 40, 41, 42, 43, 44, 45, 46, 47, 48, 49). 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