OPEN-SOURCE SCRIPT

Three ma cross alert

This indicator displays three moving averages and can set alarms.
The default values for the three moving averages are set to 20,35,60, which can be changed by the user.

It is based on the idea of considering the moving average as an up-trend when it is in a positive arrangement and a down-trend when it is in a reverse arrangement.
If the candle reaches each moving average when the moving average is in a positive arrangement, it is considered a price adjustment

Therefore when the candles touch each line with the ma in the same arrangement, an alarm occurs.
The alarm reference time zone is set by 1D default, , and can be modified from the settings.
You can use it when you want to see the simple 3 moving averages without an alarm.
The alarm occurs before the closing price of the candle is closed in real time.

If there is any improvement, please contact us
Thanks
Chart patterns

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