GordonR

GR-Moving Average Cross

GordonR 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 )

This indicator can also show basic buy & sell zones.
They work well after steep trends, but will give lots of poor signals in a sideways moving market.
I find that the sell signal is more reliable than the buy signal.
Use these indications with caution and definitely combine them with other data/indicators as they are only based on the moving averages.

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 update to how the 200 period MA colours are calculated.
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.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?