OPEN-SOURCE SCRIPT

Moving Average Converging [LuxAlgo]

Atualizado
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]


snapshot

Notice on the chart above how the moving average converges at an increasing rate with the occurrence of new high-highs/lower-lows.
Notas de Lançamento
Minor fix
Notas de Lançamento
Minor changes.
LUXluxalgomoving_averageMoving AveragesmovingaveragecrossovermovingaveragepriceactionTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


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.
Também em:

Aviso legal