OPEN-SOURCE SCRIPT

MA 50/200

64
This MA 50/200 indicator is a classic TradingView overlay that plots the 50-period Simple Moving Average (SMA) in solid green and the 200-period SMA in solid red directly on the price chart.

It highlights major trend-reversal signals:
  • A Golden Cross occurs when the faster 50-period SMA crosses above the slower 200-period SMA, often interpreted as a bullish signal suggesting potential upward momentum. This is marked by a prominent green cross symbol (linewidth 5) plotted at the level of the 200 SMA on the bar where the crossover happens.
  • A Death Cross occurs when the 50-period SMA crosses below the 200-period SMA, often seen as a bearish signal indicating potential downward momentum. This is marked by a red cross symbol (slightly translucent for subtlety) at the 200 SMA level on the crossover bar.


The layout keeps the chart clean and focused: continuous thick lines for the moving averages with clear, oversized cross markers only at crossover points to make Golden and Death Cross events instantly visible without clutter.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.