OPEN-SOURCE SCRIPT

Moving Average Converging [LuxAlgo]

已更新
This indicator returns a moving average converging toward the price the more a trend makes new higher-highs or lower-lows depending on the detected trend.

Settings

  • Length: Controls the initial moving average smoothing factor (2 / (Length + 1)), as well as the period of rolling maximums/minimums.
  • Increment: Smoothing factor increment (2 / (Increment+ 1)) for new higher-high/lower-low, lower values would return a faster converging moving average.
  • Fast: Fast moving average smoothing factor.


Usage

The proposed moving average can be used like most slow moving averages.

Having a moving average able to converge closer to the price the longer a trend lasts allows users to obtain more timely crosses. This practice can remind us of the Parabolic SAR or our TRAMA indicator:

Trend Regularity Adaptive Moving Average [LuxAlgo]


快照

Notice on the chart above how the moving average converges at an increasing rate with the occurrence of new high-highs/lower-lows.
版本注释
Minor fix
版本注释
Minor changes.
LUXluxalgomoving_averageMoving AveragesmovingaveragecrossovermovingaveragepriceactionTrend Analysis

开源脚本

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

想在图表上使用此脚本?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
更多:

免责声明