PROTECTED SOURCE SCRIPT

GR-Multiple Moving Averages

Mis à jour
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.
Notes de version
Minor change to how the color of the 200 MA is calcualted
Double Exponential Moving Average (DEMA)Exponential Moving Average (EMA)GRHMASimple Moving Average (SMA)smaTriple Exponential Moving Average (TEMA)Weighted Moving Average (WMA)

Script protégé

Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité