GordonR

GR-Multiple Moving Averages

GordonR Updated   
A simple indicator that contains all the main Moving Averages you'll probably need.
This indicator can be used on any time frame you wish.

The default periods for the moving averages are 5, 10, 20, 50, 100 & 200.
However you can set these values to whatever works for you, for example 5, 8, 10, 21, etc.
Please let me know in the comments below which values you use the most, so that I can adjust the defaults accordingly.

The lines get darker and thinker the more periods the MA covers.
You can easily adjust the colours of the lines and their thickness too.
The current colours seem to work OK on both the light and dark TradingView themes, but please do make suggestions for better default value.

You can also choose between 7 different ways of calculating the moving averages:
!None = You don't want to see this line
SMA ( Simple Moving Average )
EMA ( Exponential Moving Average )
WMA ( Weighted Moving Average )
DEMA ( Double Exponential Moving Average )
TEMA (Triple Moving Average
HMA ( Hull Moving Average )


Comments and suggestions are most welcome.


I'm available for hire to create custom indicators or to work on more complex projects.
Release Notes:
Minor change to how the color of the 200 MA is calcualted
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
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?