Golden Cross
By LuxAlgoApr 8, 2026
Golden Cross is the definitive clean build of the golden cross regime event: it plots fast and slow moving averages (50/200 SMAs by default), marks where the fast one closes above the slow one, and grades each cross by the slow MA's slope over 20 bars. A flat or rising slow average prints the bullish color, a still-falling one the caution color. An x-cross marks the re-cross that ends a standing golden cross, and a fill between the averages shades the regime.
How to Trade the Golden Cross?
- Bullish-graded cross: the slow MA is flat or rising at the cross — the cleaner regime statement, covered by the Clean Golden Cross alert.
- Caution-graded cross: the slow MA is still falling; treat the read as weaker until the slope turns.
- Invalidation Mark: the fast MA closed back under the slow one, ending the standing cross; within the whipsaw window this is the classic failure mode.
- Dashboard separation: widening says the regime is strengthening; narrowing warns of braiding.
Each cross label's tooltip reports the slow MA slope and the advance from the preceding regime low — this is a lagging regime statement, not a timing entry.
Golden Cross Settings
- Fast Length (default 50): the shorter average of the pair.
- Slow Length (default 200): the long-term base.
- MA Type (default SMA): or EMA; exponential weighting can shift cross dates.
- Source (default close): price series both averages use.
- Slow MA Slope Lookback (default 20): bars used to grade the slope.
- Whipsaw Window (default 20): a re-cross within this many bars is flagged as a whipsaw.
- Show Dashboard (default enabled): pair, regime, slope, separation and last-cross context.
- Style toggles: cross markers, invalidation marks and the regime fill, all on by default.
Frequently Asked Questions
What is the difference between the Golden Cross and the Death Cross?
Mirror events on the same pair: this build fires when the fast average crosses above the slow one, while the Death Cross tracks the downward cross arguing the long-term regime has turned bearish. Grading and alerts here center on the bullish event.
Should I change the 50/200 defaults?
The defaults are the canonical pair, and the dashboard tags anything else as nonstandard. Shorter lengths or EMAs fire earlier but reverse more often — speed traded against the weight the widely watched pair carries.
Why does the signal arrive after price has already moved?
Both averages look far back, so a cross confirms a turn only after a substantial advance; the Advance at Cross row quantifies how much move preceded each signal. Treat the cross as regime context, not the entry itself.
The Library is free. Quant makes it yours.
Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.
