OPEN-SOURCE SCRIPT

Simplified MA Crossover indicator

Mis à jour
This is my first script, it is really simple logic and you probably saw something similar before. Is a crossover indicator between 2 Moving Average, one fast MA and the second slow MA.
Inputs you can adjust:
- 8 different source of MA's
- lenght of the MA's
- 7 different types of MA's ("EMA", "SMA", "RMA", "WMA", "DEMA", "TEMA", "HMA")
- 3 smoothing level of the fast MA
- plotting fast MA into the chart
- plotting crossover triangle shapes
I really enjoed the creation of this simple concept indicator, maybe not the fastest because of his nature but I liked work on it. I am sure is a good base to improve, study and try new idea.
Notes de version
v2
- Added import function named "Cinnamon_Bear/Cinnamon_BearIndicatorsMALibrary/2 as cin", this is a library with coded MA functions so you import only the value to keep more clean the indicator code.
- Replaced "DEMA", "TEMA", "HMA" function with the equivalent code from the new library.
- Added 5 new type of MA : "DSMA", "VWEMA", "EHMA", "LSMA", "ZLMA".

Double Exponential Moving Average (DEMA)Moving AveragesSimple Moving Average (SMA)

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 ?

Clause de non-responsabilité