GordonR

GR-Multiple Moving Averages

GordonR Uppdaterad   
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.
Versionsinformation:
Minor change to how the color of the 200 MA is calcualted
Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?