kangho

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
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?