OPEN-SOURCE SCRIPT

Double ALMA

Includes fast and slow Arnaud Legoux Moving Averages (ALMA). ALMA is a moving average based on a Gaussian(normal) distribution that reduces lag while still retaining smoothness.

Input Options:
-Offset : Value in range {0,1} that adjusts the curve of the Gaussian Distribution. A higher value will result in higher responsiveness but lower smoothness. A lower value will mean higher smoothness but less responsiveness.
-Lengths : The lookback for each ALMA calculation.
-Sigma : Defines the sharpe of the curve coefficients.

The slow ALMA is the thickest red and green alternating line that indicates bullish or bearish movement. When slow ALMA is bullish, the graph's background changes to green. When the slow ALMA is bearish, the background is red.

The fast ALMA uses a smaller lookback and is more responsive than the slow ALMA as a result of the shorter length and higher default offset parameter.

The two dotted lines represent (slowALMA +/- 1.25 * stdev(slowALMA, slowALMA period *2)).

The indicator bases its buy and sell signals based on the trend identified by the slow ALMA and the fast ALMA's crossings of the standard deviation bands.

Comes with pre-set buy and sell alerts.
almaArnaud Legoux Moving Average (ALMA)BTCBTCUSDMoving Averages

开源脚本

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

想在图表上使用此脚本?


-Profit Programmers
profitprogrammer.com
更多:

免责声明