help needed for coding ma slope New comment [Deleted] 2009.04.04 11:43 hi, i need some help. i use the following indicator on metastock but i am not able to code it at mt4. is there any talented one to help me, it would be awesome. i will be grateful honestly. pds:=Input("EMA periods",2,2520,13); x:=Input("use Open=1 High=2 Low=3 Close=4 Volume=5 P=6",1,6,4); x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=5,V,If(x=6,P,C))))); EMA:=Mov(x,pds,E); EMAprev:=Ref(EMA,-1); y:=Min(EMA,EMAprev)/Max(EMA,EMAprev); EMAratio:=(If(EMA>EMAprev,2-y,y)-1)*100; EMAper:=If(EMAratio<0,Atan(EMAratio,1)-360,Atan(EMAratio,1))*10/9; signal:=Mov(EMAper,pds,E); EMAper Better Bollinger Bands... Raw Ideas Lot size New comment
hi,
i need some help. i use the following indicator on metastock but i am not able to code it
at mt4. is there any talented one to help me, it would be awesome. i will be grateful honestly.
pds:=Input("EMA periods",2,2520,13);
x:=Input("use Open=1 High=2 Low=3 Close=4 Volume=5 P=6",1,6,4);
x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=5,V,If(x=6,P,C)))));
EMA:=Mov(x,pds,E);
EMAprev:=Ref(EMA,-1);
y:=Min(EMA,EMAprev)/Max(EMA,EMAprev);
EMAratio:=(If(EMA>EMAprev,2-y,y)-1)*100;
EMAper:=If(EMAratio<0,Atan(EMAratio,1)-360,Atan(EMAratio,1))*10/9;
signal:=Mov(EMAper,pds,E);
EMAper