Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi,
I have the below formula and would like to translate it to MQL4. Would you pls help me?
. hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Verdana } MACD MS Look Ahead I
a:=12;b:=26;x:=2/(1+a);y:=2/(1+b);
top:=Mov(C,b,E)*(1-y)-Mov(C,a,E)*(1-x);
{C required for trigger line crossover}
(Mov(MACD(),9,E)+top)/(x-y);
{C required for 0 value MACD}
top/(x-y)