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.

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.



TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。