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 abierto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Exención de responsabilidad
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 abierto
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Exención de responsabilidad
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.