OPEN-SOURCE SCRIPT

Moving Averages 50 & 200

Moving Average Indicator for trading 50MA and 200MA crossovers (golden cross and death cross).
A golden cross is considered a bullish sign; it occurs when the 50-day moving average rises above 200-day moving average. A death cross is considered a bearish sign; it occurs when the 50-day moving average drops below 200-day moving average.
Moving AveragesSimple Moving Average (SMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer