Hi FP

 

 

Here's another place where PREV can be substituted by alternative code using
the Wilders() or exponential Mov() functions.

HaOPEN does not need PREV because it is in reality simply an exponential
moving average of HaCLOSE. 

 

HaCLOSE:=(O+H+L+C)/4;

HaOPEN:=Wilders(Ref(HaCLOSE,-1),2);

HaHIGH:=Max(H,HaOPEN);

HaLOW:=Min(L,HaOPEN);

 

or.

 

HaOPEN:=Mov(Ref(HaCLOSE,-1),3,E);

 

 

Roy

 

 

 

  _____  

From: [email protected] [mailto:[email protected]]

Sent: Wednesday, 2 July 2014 8:58 p.m.
To: [email protected]
Subject: [EquisMetaStock Group] FP_MFI_HA

 

  

Attempts to measure the strength of money flowing in and out. It accounts
for volume action in relation to Heikin-Ashi.

 

{FP_MFI_HA}

{For personal use only}

{Not for distribution by FP}

x:= Input("Periods:",1,200,7);

haOpen:=(Ref((O+H+L+C)/4,-1) + PREV)/2;

haC:=((O+H+L+C)/4+haOpen+Max(H,haOpen)+Min(L,haOpen))/4;

 y:= haC;

 pm:= Sum(If(y>Ref(y,-1), V*y,0),x);

 nm:= Sum(If(y<Ref(y,-1), V*y,0),x);

 100-(100/(1+(pm/If(nm=0,0.001, nm))));

 

 

 



Reply via email to