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)

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian