All Strategies
Trend FollowingUS500

SMA Crossover for US500 (S&P 500)

The classic golden-cross / death-cross signal — slower than EMAs, fewer false positives.

Indicators

SMA 50, SMA 200

Recommended Timeframes

4h, 1d

Symbol Volatility

medium

Trading Sessions

New York (Mon–Fri, with extended hours)

Why SMA Crossover Works on US500

The SMA crossover uses simple moving averages instead of exponential. The signal is slower to fire (good — fewer whipsaws) but slower to exit (bad — bigger giveback). The 50/200 SMA cross is the textbook "golden cross" signal used by every CNBC anchor for a reason: on daily charts of major indices, it actually works.

The S&P 500 (US500) is the global benchmark equity index. Strong long-term uptrend with regime shifts; momentum and trend bots dominate, mean-reversion works in QE periods only.

Equity indices reflect aggregate corporate earnings, sentiment, and Fed policy. They trend more cleanly than individual stocks and gap less than commodities.

Best For

  • • Daily / 4h timeframes
  • • Indices and large caps

Avoid In

  • • Sub-hourly intraday
  • • Choppy crypto altcoins

Pine Script Source

Copy this into PineForge — backtest on US500 or any supported symbol, then deploy as a live bot.

sma-crossover.pinePine Script v5
//@version=5
strategy("SMA Crossover 50/200", overlay=true)

fast_sma = ta.sma(close, 50)
slow_sma = ta.sma(close, 200)

if ta.crossover(fast_sma, slow_sma)
    strategy.entry("Long", strategy.long)

if ta.crossunder(fast_sma, slow_sma)
    strategy.close("Long")

Backtest SMA Crossover on US500 in 30 seconds

Sign up for PineForge, paste this Pine Script, and run a 1-year backtest on real US500 data — no credit card required.

Related Strategies

We use cookies for analytics and ads measurement. See our privacy policy.