for (Bars1=1 ; Bars1>=707;) { Bars1=Bars1+1; Print(Bars1); }its worked in the past? ????

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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);
}
}