OPEN-SOURCE SCRIPT
Moving Averages With Cross Alerts

A simple way to add up to 5 moving averages with optional crossover/crossunder alerts.
Available options for Moving Average Type are:
By default, 5 moving averages are enabled and set to the following:
Each moving average has the following options:
Available options for Moving Average Type are:
- SMA
- EMA (default)
- HMA
- RMA
- WMA
- VWMA
- VWAP
- ALMA
By default, 5 moving averages are enabled and set to the following:
- MA1 set to 5
- MA2 set to 13
- MA3 set to 50
- MA4 set to 200
- MA5 set to 800
Each moving average has the following options:
- Enable/Disable
- Source (default is close)
- Length
- Color
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
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.