Adulari

Correlated ATR MA | Adulari

Adulari 已更新   
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:
cor * target + (1 - cor) * nz(atr[1], target)
4 — Moving average is calculated by getting the average of 3 values: a normal HMA, HMA plus final value, and HMA minus final value.
版本注释:
  • Removed unnecessary old code.
  • Fixed some minor issues with the calculations.
版本注释:
  • Fixed correlation calculations.
  • Added weight option.
版本注释:
  • Changed weight default value.
版本注释:
  • Added a time adaptive option which will make sure the MA is useable on lower timeframes.
版本注释:
  • Fixed time adaptive calculations for higher timeframes.

Adulari - Software Company
Site: adulari.dev
Discord: discord.gg/adulari
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?