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

[EquisMetaStock Group] Code Transtation



PureBytes Links

Trading Reference Links

 

Can anyone translate this code into plain English statements???

EO oscillator - Metastock:

 

Lg:=Input("Long Average:",5,240,35);

St:=Input("Short Average:",1,200,5);

A:=Input("Style AlphOmega=1 Aget=0",0,1,1);

eoa:=Input("Display MA 8 bars:",0,1,0);

B:=If(Outside() AND Ref(H,-1)>Ref(H,-2),H,If(Outside() AND Ref(L,-1)<Ref(L,-2),L,If((Outside() OR Inside()) AND C>O,H,If((Outside() OR Inside()) AND O>C,L,If(H>Ref(H,-1),H,If(L<Ref(L,-1),L,If(Ref(H,-1)>Ref(H,-2),H,If(Ref(L,-1)<Ref(L,-2),L,C))))))));

Eo:=Mov(B,St,E)-Mov(B,Lg,E);

Eot:=Mov(If(Eo>0,Eo,PREV),Lg,E);

Eob:=Mov(If(Eo<0,Eo,PREV),Lg,E);

Eo;If(A=0,Eot,0);If(A=0,Eob,0);If(eoa=1,Mov(EO,8,E),0);

 

-Stan



Yahoo! Groups Links