4 bar rule expert and indicator
http://forum.mql4.com/c/forum/2008/10/image1002.jpg
but i want to know why it hangs the meta trader ,,
could any tell me or help me to make it a good indicator first then make it an expert
(it works nice with trending periods ,,, and nutral in trading ones (sum of winning = sum of loosing )) then equal is winning
double x1=0;
double x2=0;
double price=0;
double w=0;
double x=0;
double y=0;
double z=0;
double c=0;
double b=0;
double n=0;
double m=0;
double l=0;
double p=0;
double q=0;
double j=0;
price=Close[0];
w=High[1];
x=High[2];
y=High[3];
z=High[4];
n=Low[1];
m=Low[2];
l=Low[3];
p=Low[4];
if(w>=x)
c=w ;
else
c=x;
if(y>=z)
b=y ;
else
b=z;
if(c>=b)
x1=c;
else
x1=b;
if(n<=m)
q=n;
else
q=m;
if(l<=p)
j=l;
else
j=p;
if(q<=j)
x2=q;
else
x2=j;
for(;;)
{
for(;;)
{
if(price>=x1)
break;
}
print("www\n");
for(;;)
{
if(price<=x2)
break;
}
print("mmm\n");
continue;
}
رد: 4 bar rule expert and indicator
معلش مطلوب مساعده عشان انا مبتدئ فى البرمجة لتعديل ال indicator و تحويله ل expert
شكرا فى انتظار الرد
رد: 4 bar rule expert and indicator
ياأخي قل ما تريد بطريقة أدبية وليس علمية نقدر نساءدك باذن الله