PROTECTED SOURCE SCRIPT

[DEM] Double Hull Moving Average (DHMA)

10
[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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.