OPEN-SOURCE SCRIPT
已更新 Correlated ATR MA | 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 — Signal value is calculated from the difference between the previous source and ATR values.
3 — Final value is being calculated using the following formula:
Pine Script®
4 — Moving average is calculated by getting the average of 3 values: a normal HMA, HMA plus final value, and HMA minus final value.
- 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.
開源腳本
本著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提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。