OPEN-SOURCE SCRIPT

MA with options

Mis à jour
5 Types of Moving Averages have been combined into the script. The user has the liberty to select the length of the MA and the MA type (SMA, EMA, WMA, VWMA, RMA) of his/her choice.
Notes de version
I have just updated my first practice code by adding MA crossover for MA2 and MA3 with buy and sell signals.
Notes de version
The Default value for the first three moving averages have been modified into EMA. Since EMA provides the recent data and updates faster as compared to the SMA it can be used to identify trends better.
The EMA crossover is between EMA 21 (MA2_type) and EMA 34 (MA3_type). The values can be modified and backtested according to the users wish.
The Sell Signal triangle down arrow was green in color and it has been modified to red by default.
emacrossoverMoving Averagesmovingaveragetype

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité