OPEN-SOURCE SCRIPT

Correlated ATR MA | Adulari

Atualizado
How do I use it?
  • Never use this indicator as standalone trading signal, it should be used as confluence.
  • When the price is above the moving average this shows the bullish trend is strong.
  • When the price is below the moving average this shows the bearish trend is strong.
  • When the moving average is purple, the trend is bullish, when it is gray, the trend is bearish.


Features:
  • Purple line for bullish trend and gray line for bearish trend.
  • Custom formula combining an ATR and Hull MA to clearly indicate trend strength and direction.
  • Unique approach to moving averages by taking the average of 3 types of MA's combined with custom ATR's.


How does it work?
1 — ATR value is calculated, then the correlation between the source and ATR is calculated.
2 — Signal value is calculated from the difference between the previous source and ATR values.
3 — Final value is being calculated using the following formula:

4 — Moving average is calculated by getting the average of 3 values: a normal HMA, HMA plus final value, and HMA minus final value.
Notas de Lançamento
  • Removed unnecessary old code.
  • Fixed some minor issues with the calculations.
Notas de Lançamento
  • Fixed correlation calculations.
  • Added weight option.
Notas de Lançamento
  • Changed weight default value.
Notas de Lançamento
  • Added a time adaptive option which will make sure the MA is useable on lower timeframes.
Notas de Lançamento
  • Fixed time adaptive calculations for higher timeframes.
adulariATRATSaveragecorrelationmovingMoving AveragesregressionsTrend 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?


Adulari - Software Company
Site: adulari.dev
Discord: discord.gg/adulari
Também em:

Aviso legal