For Loop
for (Bars1=1 ; Bars1>=707;)
{
Bars1=Bars1+1;
Print(Bars1);
} its worked in the past? ????
for (Bars1=1 ; Bars1>=707;)
{
Bars1=Bars1+1;
Print(Bars1);
} its worked in the past? ????
You agree to website policy and terms of use
Why is this for loop not working its worked in the past? Please let me know.
Thank You
Ray
rminardi1@verizon.net
LT=iLow(NULL,PERIOD_M15,0);
HT=iHigh(NULL,PERIOD_M15,0);
//Hi and Low for last 2 days
for (Bars1=1 ; Bars1>=707;)
{
Bars1=Bars1+1;
if (iHigh(NULL,PERIOD_M15,Bars1) > HT)
{
HT=iHigh(NULL,PERIOD_M15,Bars1);
HT1 =HT -(50*Point);
}
if (iLow(NULL,PERIOD_M15,Bars1) < LT)
{
LT=iLow(NULL,PERIOD_M15,Bars1);
LT1=LT +(50*Point);
}
}