OPEN-SOURCE SCRIPT
Moving Average Ribbon w/ crosses

I took the MA Ribbon customizable MA types and and length and added X's that will appear when 9MA crosses up or down 21MA and 50MA.
Green x when MA #1 (9MA) crosses above MA #2 (21MA) because it's in the most bullish momentum
Yellow x when MA #1 (9MA) crosses below MA #2 (21MA) because it enters neutral momentum
Red when MA #1 (9MA) crosses below MA #3 (50MA) because it's in the most bearish momentum
Orange when MA #1 (9MA) crosses above MA #3 (50MA) because we're back in neutral momentum but still below 21
Keep in mind the color code is designed for uptrends.
Green x when MA #1 (9MA) crosses above MA #2 (21MA) because it's in the most bullish momentum
Yellow x when MA #1 (9MA) crosses below MA #2 (21MA) because it enters neutral momentum
Red when MA #1 (9MA) crosses below MA #3 (50MA) because it's in the most bearish momentum
Orange when MA #1 (9MA) crosses above MA #3 (50MA) because we're back in neutral momentum but still below 21
Keep in mind the color code is designed for uptrends.
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.