OPEN-SOURCE SCRIPT

ALMA Cross & Trend

已更新
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.
版本注释
Let the Trend ALMA has different color for up and down trend.
版本注释
Add more checking on the POS
版本注释
add in Albert conditions
Moving AveragesTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明