OPEN-SOURCE SCRIPT
已更新 Correlated ATR Bands | Adulari

How do I use it?
Features:
How does it work?
1 — ATR value is calculated, then the correlation between the source and ATR is calculated.
2 — Final value is calculated using the following formula:
correlation * atr + (1 - correlation) * nz(atr[1], atr)
3 — Moving average is calculated with the following formula:
ta.hma((1-(correlation/100*(1+weight/10)))*(ta.sma(source+value, smoothing)+ta.sma(source-value,smoothing))/2,flength)
4 — Bands calculation using multipliers.
- Never use this indicator as standalone trading signal, it should be used as confluence.
- It is highly recommended to use this indicator on the 15m timeframe and above, try experimenting with the inverse feature and multipliers as well.
- 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.
- When price is above the upper band this may indicate a bearish reversal.
- When price is below the lower band this may indicate a bullish reversal.
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 and bands by taking the average of 2 types of MA's combined with custom ATR's, then multiplying these by correlation factors.
- Bands to indicate possible trend reversals when price crosses them.
How does it work?
1 — ATR value is calculated, then the correlation between the source and ATR is calculated.
2 — Final value is calculated using the following formula:
correlation * atr + (1 - correlation) * nz(atr[1], atr)
3 — Moving average is calculated with the following formula:
ta.hma((1-(correlation/100*(1+weight/10)))*(ta.sma(source+value, smoothing)+ta.sma(source-value,smoothing))/2,flength)
4 — Bands calculation using multipliers.
版本注释
- Fixed time adaptive calculations for higher timeframes.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Adulari - Software Company
Site: adulari.dev
Discord: discord.gg/adulari
Site: adulari.dev
Discord: discord.gg/adulari
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Adulari - Software Company
Site: adulari.dev
Discord: discord.gg/adulari
Site: adulari.dev
Discord: discord.gg/adulari
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。