[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Hull Moving Averages



PureBytes Links

Trading Reference Links

I've only just become aware of the Hull Moving Average.
It seems to be on top of the normal MA lag and manages to maintain nice 
smoothing at the same time.

Has anyone done any AFL code for it and is willing to share?

MetaStock Formula
period:=Input("Period",1,200,20) ;
sqrtperiod:=Input("Square Root of Period",1,20,4);
Mov(2*(Mov(C,period/2,W))-Mov(C,period,W),sqrtperiod,W); 

Above is the Metastock code, but I have no idea how to convert it.

ijw


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.0/610 - Release Date: 12/30/2006 2:59 PM