correct the error
A1= Open;
B1= High;
C1 =Close;
D1 = B1-A1;
E1 = A1-C1;
f1=A1+(B1-A1)+10;
g1=A1-(B1-A1)-10;
h1=F1-12;
i1=F1+21;
j1=G1+12;
k1=G1-21;
//if D is LESS than E : then Plot lines as follows
for(i=0;i<BarCount;i++)
{
if (D1<E1)
{
Plot (f1,"1",colorWhite); // ( ie., " F " )
Plot (g1,"2",colorGreen); // ( ie ., " G " )
Plot (h1,"",colorRed); // ( ie ., " H " )
Plot (i1,"",colorOrange); // ( ie ., " I " )
Plot (j1,"",colorBlue); // (ie ., " J " )
Plot (k1,"",colorLightGrey); // (ie., "K" )
}
else
{
//if D is GREATER OR EQUAL to E : then Plot lines as follows
Plot (L1=I1-( I1*0.45/100 ),"",colorWhite); // ( ie., " L " )
Plot (m1=K1+( k1*0.25/100 ),"",colorGreen); // ( ie ., "M" )
Plot (L1-12,"",colorRed);
Plot (M1+20,"",colorOrange);
Plot (M1+12,"",colorBlue);
Plot (M1-20,"",colorLightGrey);
}
}
A1= Open;
B1= High;
C1 =Close;
D1 = B1-A1;
E1 = A1-C1;
f1=A1+(B1-A1)+10;
g1=A1-(B1-A1)-10;
h1=F1-12;
i1=F1+21;
j1=G1+12;
k1=G1-21;
//if D is LESS than E : then Plot lines as follows
for(i=0;i<BarCount;i++)
{
if (D1<E1)
{
Plot (f1,"1",colorWhite); // ( ie., " F " )
Plot (g1,"2",colorGreen); // ( ie ., " G " )
Plot (h1,"",colorRed); // ( ie ., " H " )
Plot (i1,"",colorOrange); // ( ie ., " I " )
Plot (j1,"",colorBlue); // (ie ., " J " )
Plot (k1,"",colorLightGrey); // (ie., "K" )
}
else
{
//if D is GREATER OR EQUAL to E : then Plot lines as follows
Plot (L1=I1-( I1*0.45/100 ),"",colorWhite); // ( ie., " L " )
Plot (m1=K1+( k1*0.25/100 ),"",colorGreen); // ( ie ., "M" )
Plot (L1-12,"",colorRed);
Plot (M1+20,"",colorOrange);
Plot (M1+12,"",colorBlue);
Plot (M1-20,"",colorLightGrey);
}
}