OPEN-SOURCE SCRIPT

SMA 20, 50, 200

This Script provides the 50 and 200 day moving average to provide a way to keep track of the classic Death Cross and Golden Cross. The 20 day moving average is just used as an early prediction of what the 50 day may do so you can keep and eye on it. If you are the kind of person that freaks out at sudden changes in the graphs it is probably best to just turn the 20 day off.

A Golden Cross is when the 50 day MA raises above the 200 day MA. This indicates the start of a Bull Market. This is the best time to buy as the market commonly will increase over the next few months or even years.

A Death Cross is when the 50 day MA drops below the 200 day MA. This indicates the start of a Bear Market. This is the best time to sell as the market will commonly decrease at least 20 percent or more over the next couple months or more.

I am not a financial advisor and this is just a tool to help you make your own decisions with your investments. My information is just based on common knowledge.
Moving AveragesSimple Moving Average (SMA)

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal