Hi,
I want to use a For Loop to check if price breakouts after a certain time. But I want to check it forwards instead of backwards. How do I do that?
The Time1 is the Time I am using, but what should the CurrentBar be? Should it be set to 0 or what?
I want to measure from Time1 all the way to the latest bar on the chart.
for (int d=iBarShift(Symbol(),0,Time1,false);d>iBarShift(Symbol(),0,CurrentBar,false);d--)
{
}
I want to use a For Loop to check if price breakouts after a certain time. But I want to check it forwards instead of backwards. How do I do that?
The Time1 is the Time I am using, but what should the CurrentBar be? Should it be set to 0 or what?
I want to measure from Time1 all the way to the latest bar on the chart.
for (int d=iBarShift(Symbol(),0,Time1,false);d>iBarShift(Symbol(),0,CurrentBar,false);d--)
{
}