Metastock to Amibroker code for ADI

#1
I got these two codes from Metastock for finding stocks ....

Rising ADI

A:=ADX(13);
B:=Mov(a,5,S);

X:=if(ref(b,-1)<b and ref(b,-2)<ref(b,-1), 1,0);
X=1

And this one:

RisingMF:=(C-Mov(C,20,S))/ Stdev(C,20);

RisingMF2:=Alert(H=HHV(H,60),1);

RisingMF>0 AND RisingMF2=1


Can someone help me code these for Amibroker?
 

Similar threads