OPEN-SOURCE SCRIPT
已更新 Hull Weighted Exponential Moving Average

Open source version of the Hull Weighted Exponential Moving Average as described by Vincent Charles in [Hull-WEMA: A Novel Zero-Lag Approach in the Moving Average Family]
█ OVERVIEW
The study takes into considerations two variants of MA.
Namely:
- Weighted Exponential Moving Average (WEMA)
- Hull Moving Average (HMA)
WEMA, which was introduced in 2013, has been widely used in different scenarios but still suffers from lags.
To address this shortcoming, a novel zero-lag Hull-WEMA method is proposed that combines HMA and WEMA.
Results show that the new approach achieves a better accuracy level than both HMA and WEMA.
█ SIGNALS
The indicator generates:
- a LONG signal when switching color from RED to GREEN
- a SHORT signal when switching color from GREEN to RED
Additionally is available an option to color the candles on your chart to confirm the signals and filter ranges.
版本注释
█ ADDED ALERTSIs now possible to create alerts to trigger when "Long", "Short" or "Both" conditions are satisfied.
To do so:
- go into the indicator settings
- change the "Alerts" option to "Long", "Short" or "Both" as you prefer
- click on the Alert button from the toolbox on top of the chart
- under the "Condition" section choose "HWEMA"
- under the "Alert actions" section choose where you want to receive the alerts
- under the "Alert name" section you can delete everything except for HWEMA
- click "Create" to start receiving alerts
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。