OPEN-SOURCE SCRIPT

ALMA Cross & Trend

Mis à jour
Arnaud Legoux Moving Average (ALMA) is one of the least lagging moving average by nature.
This script builds two ALMA line, Fast and Slow, and to check their crossing over to generate Buy / Sell Signals.

The drawback of Moving average crossing strategy is the too many crossing during a range trading, therefore, a third ALMA is used to show the trend of the ticker's price as a reference.
The default value for the Trend ALMA is 70 bars, it is due to the quick response of the Arnaud Legoux MA.
The Trend ALMA is plotted in dotted line for reference only, it does not affect the Buy/Sell signal generate from the crossing of the Fast and Slow ALMA lines.
Notes de version
Let the Trend ALMA has different color for up and down trend.
Notes de version
Add more checking on the POS
Notes de version
add in Albert conditions
Moving AveragesTrend Analysis

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é