GordonR

GR-Multiple Moving Averages

GordonR מעודכן   
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.
הערות שחרור:
Minor change to how the color of the 200 MA is calcualted
סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?