OPEN-SOURCE SCRIPT

ALMA Cross & Trend

Aggiornato
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.
Note di rilascio
Let the Trend ALMA has different color for up and down trend.
Note di rilascio
Add more checking on the POS
Note di rilascio
add in Albert conditions
Moving AveragesTrend Analysis

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità