please help transfer the code to mt4 code...

 
please help transfer the code to mt4 code...Tq so much... ma((h+ref(l,1))/2,3); ma((h+ref(h,1))/2,3); Var1:=((h+l+c)/3)*2-l; ma(Var1,3) ;
Reason: