I'm back again with another similar question. Is it possible to compare the loop value with a variable? I need the code to compare the close value of "i" what ever that may be within the loop. Then check that value against another variable? In this case the low of the bollinger bands.
for (int i=1;i < 4; i++)
if (iClose(NULL,0,i) < BB202LOW)
I don't know what you are asking, you are checking, so you know it is possible.
Whether your check is logical or not, only you can know.