RyanMartin

Multiple Moving Averages [clean]

RyanMartin Updated   
Very simple indicator script to display multiple simple moving averages. I know others have made this but they often are too feature-rich and can get cluttered.
Can optionally show a cross when MA 1 crosses MA 3. These are colors such that when MA 1 crosses BELOW MA 3 a red cross is shown, and green when crossing above.
Release Notes:
minor tweaks for better UI. I recommend changing the visual order and bringing this to the front on most layouts.
Release Notes:
- added ability to use custom resolutions for MAs (i.e. using 1 day for MA periods while viewing a chart that is set to 1 week resolution).
- cosmetic tweaks
- added comment lines to code for anyone interested

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?