DYO: Hi-Lo Activator Indicator example


Q:  I need some help.  I think it's possible to build the Gann Hilo Activator in DYO, but I don't find the right way.

Here is the Metastock-Version of GANN - HiLo

HLd:=If(CLOSE>Ref(Mov(H,3,S),-1),
{then}1,
{else}If(CLOSE<Ref(Mov(L,3,S),-1),
{then}-1,
{else}0));
HLv:=ValueWhen(1,HLd<>0,HLd);
HiLo:=If(HLv=-1,
{then}Mov(H,3,S),
{else}Mov(L,3,S));
HiLo;

It's the three-period moving average of the highs or lows plotted one day forward (see page 55 of the February 1998 S&C).  If the market is in an uptrend and today is day 4, the hi-lo activator for day 4's trading is the low from days 1, 2 and 3 added together and divided by three. This value is the hi-lo activator for all of day 4. It does not change until the close of day 4. Then, for day 5, the hi-lo activator is the low from days 2, 3 and 4, added together and divided by three. The same concept applies for calculating the highs.

A:  This is my implementation of the Hi-Lo Activator indicator.

Template:  1317-HiLoActivator

You can uncheck the show boxes on Line A and B to remove the plots of the Average High and Average Low.

Template:  1317-HiLoActivator

Last modified 1/17/08 11:50 AM