logo
Developers

RSI SMA Crossover Strategy

Script from: TradingViewSwingTrend followingMomentum

The RSI SMA Crossover Strategy involves opening a long position when the Relative Strength Index (RSI) crosses above the Simple Moving Average (SMA) and closing it when the RSI crosses below the SMA. Optimal RSI and SMA lengths are critical and should be backtested to maximize effectiveness. Historical tests on Bitcoin showed remarkable gains, although backtest settings, such as slippage and commission, must be accurately defined for reliable results.

Audit verdict

Not rankedUpdated Jul 28, 2026

No reliable edge found

Its average result can't be told apart from chance, so it stays out of our rankings. The script itself passed our repainting audit.

794backtests3 markets
31robust scoreranked median 52
0.15p-valueranked median 0.24
1/126pass quality gatebacktests >15 trades

Audit details

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

!
Repainting audit
7 of 8 checks passed.
!
strategy() with calc_on_every_tick=true or recalculate_on_every_tick=true
Found on line 6. Disable calc_on_every_tick/recalculate_on_every_tick for stable backtests unless truly required.
✓
Script availability
Open-source, still published on TradingView.
✓
Statistical edge
Average t-statistic 2.19 (p = 0.15), above the median of 1.98 (p = 0.24) for ranked strategies.
✓
Quality gate
1 of 126 backtests with more than 15 trades pass our quality gate.
✕
Robust score
31/100, below the median of 52 for ranked strategies.

How its evidence compares

The t-statistic measures how far the average result sits from zero relative to its noise. Below about 2, it is within what random entries produce.

2.19
avg. t-statistic
1.98
median, ranked strategies

Best 5 of 794 backtests

Shown for transparency.

SymbolTimeframeNet profitProfit factorTradesMax drawdown
Tesla, Inc.
NASDAQ:TSLA
2H+46,703%1.3072841%
Marathon Digital Holdings, Inc.
NASDAQ:MARA
4H+5,630%1.1433488%
Ford Motor Company
NYSE:F
1D+3,209%1.4375951%
Marathon Digital Holdings, Inc.
NASDAQ:MARA
2H+2,581%1.1368196%
Citigroup, Inc.
NYSE:C
2H+2,135%1.2897446%
⚠Selected after the fact: these are the best 5 of 794 runs, not what to expect from this strategy.

Is RSI SMA Crossover Strategy profitable?

Not reliably, based on our tests. Across 794 backtests, 1 of 126 with more than 15 trades pass our quality gate. The best result is +46,703% on Tesla, Inc. (2H, 728 trades). On average, its results are statistically indistinguishable from chance (p = 0.15).

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