Navigation: Realtest Script Language > Syntax Element Details >

HMA or HAvg

 

 

 

 

Category

Multi-Bar Functions

Description

Hull moving average

Syntax

HMA(expr, count) or HAvg(expr, count)

Parameters

expr - data series formula

count - lookback period

Notes

Either HMA or HAvg can be used as the name of this function.

The Hull moving average is calculated using nested weighted moving averages (WMA).

HMA(expr, count) could be calculated as WMA((2 * WMA(expr, count/2) - WMA(expr, count)), SQR(count)).

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC