Skip to content

Moving Average (crossover)

Signal on the crossover of a fast SMA with a slow SMA. The indicator builds two SMAs of different periods and generates signals on their crossovers. When the fast MA crosses the slow one from below to above it is a bullish signal (golden cross); from above to below it is bearish (death cross). One of the oldest and most widespread methods of technical analysis.

Formula:

Fast MA = SMA(Close, fast_period)
Slow MA = SMA(Close, slow_period)
ParameterTypeDefaultRange / Values
Fast Periodint91-100
Slow Periodint211-200
TriggerDirectionConditionDescription
MA Golden Cross🟢 BuyThe fast MA crossed the slow one from below to above (golden cross).Fires when the fast moving average crosses the slow one from below to above. A classic signal of the start of a bullish trend.
MA Death Cross🔴 SellThe fast MA crossed the slow one from above to below (death cross).Fires when the fast moving average crosses the slow one from above to below. A classic signal of the start of a bearish trend.