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

Conversion Metastock in AFL



PureBytes Links

Trading Reference Links


Can someone please 
convert this Metastock's formula into AFL - Thanks<FONT 
face="Courier New" size=3>altbar:=If(C>O AND 
Ref(C,-1)<Ref(O,-1),1,If(C<O AND 
Ref(C,-1)>Ref(O,-1),1,0));conbar:=If(C>Ref(L,-1) AND 
C<Ref(H,-1),1,0);dojibar:=If(Abs((C/O)-1)*100<0.05,1,0);Sum(altbar,3)>=3 
OR Sum(conbar,4)>=4 OR Sum(dojibar,4)>=4
Thanks 
Peter