Can someone tell me why this coding is wrong? whats wrong with it? what is wrong with this loop?
thanks..
thanks..
Inserted Code
if ((O4>C4 && O3>C3 && O2<C2 && O1<C1)){
int s=2; int l=0;
while(s<10){
if ((MathAbs(Close[i+s]-Open[i+s])/Poin)==1) l++; s++;}
if (l>=4)
Ext1Buffer[i+1]=0.45;}
if ((O4<C4 && O3<C3 && O2>C2 && O1>C1)){
int p=2; int e=0;
while(p<10){
if ((MathAbs(Close[i+p]-Open[i+p])/Poin)==1) e++; p++;}
if (e>=4)
Ext2Buffer[i+1]=0.45;} Attached File(s)