dgmoon

Alma Moving Average Ribbon Reverse Length [DM]

Greetings Colleagues
Following some recommendations and ideas I share this moving average, put all of them together
  • The length calculation is automatic there is only one input.
  • The length is inverse so it will wrap from the longest reference point, hence using phi
  • Moving averages will wrap around the price.
  • I've also added gradient color to plots and fill plots
  • There is an alert selector in case you are interested in a particular crossing, "remember that the order is reversed".
  • There is an alert visual plotshapes with offset signal.
Finally, after spending a few hours with the Williams alligator moving averages I found nothing special, but I added the individual offset adjustment for each moving average in case someone comes up with something.
Enjoy”

Some references about alma by "tradingview pinecoders"

What to look for
The Arnaud Legoux Moving Average has three elements to it:

Window: This element is the period. By default, the window is set to 9 periods, but it can be customized to fit any trading style.

Offset: This element is the Gaussian that is applied to the combo line and can be aligned to the current price. It’s default is set to 0.85, but by setting it to 1, you can make it align fully to the current price (similar to how an Exponential Moving Average (EMA) with a setting of 0 is like a Simple Moving Average (SMA)). 0.85 is what is recommended, however, you can customize it like with the window element.

Sigma: This element is a standard deviation that is applied to the combo line in order for it to appear more sharp. The default is set to 6 and it is not recommended to change the setting. The value of 6 is inspired by the Six Sigma process.

https://www.tradingview.com/support/solutions/43000594683-arnaud-legoux-moving-average/



Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?