SMA Crossover Strategy

April 30, 2025

|

This project explains and demonstrates the Simple Moving Average (SMA) crossover strategy, focusing on the 50-day and 200-day SMAs to identify trading signals. The strategy generates a bullish "Golden Cross" buy signal when the faster 50-day SMA moves above the slower 200-day SMA, and a bearish "Death Cross" sell signal when the 50-day SMA crosses below the 200-day SMA. The group provided Python code using common libraries to calculate these moving averages, detect crossovers, and visualize the strategy with buy/sell signals on a stock chart, using NVDA as an example.