Hi guys, I'm a new learner in mql4, can anyone of you here explain me what does this mean ? can i come out an ea based on the following setting ? i understand that ea doesnt allow setindexbuffer, anyone could help me out here ?
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 guys, I'm a new learner in mql4, can anyone of you here explain me what does this mean ? can i come out an ea based on the following setting ? i understand that ea doesnt allow setindexbuffer, anyone could help me out here ?
Thanks =^_^=
for(i=0; i<limit; i++)
{
if(Buffer1[i] > Buffer2[i] && Buffer1[i-1] < Buffer2[i-1]); <-----meaning = ????
b2[i] = High[i]+10*Point;
if(Buffer1[i] < Buffer2[i] && Buffer1[i-1] > Buffer2[i-1]); <-----meaning = ????
b3[i] = Low[i]-10*Point;
}
for(i=0; i<limit; i++)
{
MA5=iMA(NULL,0,Fast.MA.Period,0,MODE_SMA,PRICE_MEDIAN,i);
MA34=iMA(NULL,0,Slow.MA.Period,0,MODE_SMA,PRICE_MEDIAN,i);
Buffer1[i]=MA5-MA34;
}
for(i=0; i<limit; i++)
{
Buffer2[i]=iMAOnArray(Buffer1,Bars,Signal.period,0,MODE_LWMA,i);
}