AFL masters, please help thax in adwanced a error comes at 
Buy1=ValueWhen(LB3bar,H); after (LB3bar....

for( x = BarCount-20; x < BarCount; x++ ) 
{ 
HB1=0;
LB1=0;
HB2=0;
LB2=0;
HB3=0;
LB3=0;
if(L[x]< L[x-1])
{ 
LB1=L[x]; HB1=H[x]; LB1bar=x;
for( y = LB1bar-20; y > LB1bar; y++ ) 
{
if(L[y]>LB1 AND H[y]>HB1)
{ 
LB2=L[y]; HB2=H[y]; LB2bar=y;
for( z = LB2bar-20; z > LB2bar; z++ ) 
{
if(L[z]>LB2 AND H[z]>HB2)
{
LB3=L[z];HB3=H[z] ; LB3bar=z;
}
}
}
}
}
}

Buy1=ValueWhen(LB3bar,H);
Barx1=BarCount  -20  ;
Barx2=BarCount - (20 - x);
PER2=Param("PER2",20,1,100,1);
Plot(LineArray(Barx1,HB3,Barx2,HB3,extend=PER2),"",colorGreen,styleDashed);

_SECTION_END();

waiting ur good responce  nifty46

Reply via email to