Break

From MultiCharts
Revision as of 13:01, 24 February 2012 by Admin (talk | contribs) (Created page with "Breaks the loop execution. == Usage == <syntaxhighlight>Break;</syntaxhighlight> == Examples == <syntaxhighlight>For Value1 = 0 to 10 Begin If (Close[Value1] = Open[value...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Breaks the loop execution.

Usage

Break;

Examples

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.");