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)Parameters
Section titled “Parameters”| Parameter | Type | Default | Range / Values |
|---|---|---|---|
Fast Period | int | 9 | 1-100 |
Slow Period | int | 21 | 1-200 |
Triggers
Section titled “Triggers”| Trigger | Direction | Condition | Description |
|---|---|---|---|
| MA Golden Cross | 🟢 Buy | The 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 | 🔴 Sell | The 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. |
