Breaks the loop execution.
Break;
For Value1 = 0 to 10 Begin If (Close[Value1] = Open[value1]) then Break; End; If Value1 <= 10 then Print("Open = Close ", Value1:0:0, " bars ago.");