If I have a While loop under OnBarUpdate(), does it mean that on each update event, the script will only run the While loop until it is satisfied? What I mean is this:
protected override void OnBarUpdate()
{[INDENT] int x = 1;
[/INDENT][INDENT]while (x == 1)
[/INDENT][INDENT] {[INDENT] if (Close[0] > 10)
x = 0;
[/INDENT]}
// Other code here
[/INDENT]}
}
Thanks!

Comment