BreakPoint (Reserved Word)

image\trumpet2.gif Disclaimer

 

  Important Use of this keyword is no longer necessary. See About the Debugger for up-to-date information on setting breakpoints and performing other debugging tasks.

 

Used with the legacy EasyLanguage Debugger, when placed in your EasyLanguage code it automatically opens the EasyLanguage Debugger window when encountered as the study calculates.

BreakPoint is a compiler directive that opens the EasyLanguage Debugger when encountered.

 

See About EasyLanguage Debugger for more information

Usage

BreakPoint("BreakPointNameID");

Parameters

NameDescription
BreakPointNameIDA string expression or string variable. This is a required parameter.

Remarks

Each occurrence of BreakPoint must be named. The name parameter may specified as a string expression, following the keyword, using the form: BreakPoint ("MyBreakName"). A string variable can also be used as the name or in combination with a literal string value such as: BreakPoint( "Break ID" + GetSymbolName ).

  Important While the EasyLanguage Debugger is open, activity in all TradeStation windows is halted. No data, alerts, or strategy orders will be generated. Any window, including Chart Analysis, in open workspaces will not update until the EasyLanguage Debugger is closed. The EasyLanguage Debugger is intended for use in a development environment.  Debugging should not take place while trading or using strategy automation.

Examples

Open the EasyLanguage Debugger from within a loop.

For Counter = 0 to Length -1 Begin

    Sum = Sum + Close[Counter];

    BreakPoint("BreakID");

End;