PROTECTED SOURCE SCRIPT

[DEM] Double Hull Moving Average (DHMA)

45
[DEM] Double Hull Moving Average (DHMA) is designed to create an ultra-smooth and responsive trend-following indicator by applying the Hull Moving Average calculation twice to reduce lag while maintaining smoothness. The indicator first calculates a Hull Moving Average of the source price over the specified length (default 233), then applies another Hull Moving Average to the result, and finally uses the standard Hull formula (2 * HMA1 - HMA2) to create the Double Hull Moving Average. The resulting line changes color dynamically from green when trending upward to red when trending downward, with matching bar colors to provide clear visual confirmation of trend direction, offering traders a highly refined moving average that responds quickly to price changes while filtering out most market noise.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。