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

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