OPEN-SOURCE SCRIPT

6 Simple Blue & 5 Exponential Yellow Moving Averages

Updated
6 simple and 5 exponential Moving Averages in one indicator.
I made this because its not always easy to tell what average the price might be bouncing off from when you only have a couple at a time.

For some reason, the defaults aren't working.
To fix this, just open the configuration for the indicator after the first time that you load it.
Then check/uncheck the box and set the time period.
If anyone knows how I can fix this in the code, please let me know.

Blue indicators are simple and the Yellow are exponential.
Thinner more transparent lines are shorter term averages and Thicker lines are longer term averages.

I modeled it after the source of several other scripts which had less averages
Release Notes
I fixed a bug where the 200 SMA was not showing up.
Release Notes
Marketwatch starting to mention a "worst case scenario" being a drop to test the 200 week SMA in the major indexes. I updated the script to hold the weekly 200EMA and 200SMA (just in case).
Release Notes
Updating Version Number only
exponentialexponentialmamovingMoving Averagessimplesma

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

Want to use this script on a chart?

Disclaimer