TradeStation Help
The EasyLanguage Debugger is a development tool designed to help you verify the calculations within an EasyLanguage study. This tool enables you to view the values of all variable elements (including inputs, arrays, and variables) on a bar by bar basis, allowing you to step through the code to evaluate the calculations.
The variable data shows the values for the current bar being evaluated and all historical values being stored at that point for that variable. If a study calls one or more functions, the return values, along with all variable values within the function are displayed as well.
These variable values are displayed in a pop-up window that is generated whenever the EasyLanguage calculation encounters the BreakPoint(" ") keyword, within the code of any EasyLanguage study. You can include BreakPoint anywhere within the EasyLanguage code and set it to execute on every bar, or you can call it conditionally to view values on a specific bar or under specific conditions. For more information on the BreakPoint keyword, see Using the BreakPoint Keyword.
The EasyLanguage Debugger opens automatically when the BreakPoint keyword is encountered in a study or function while the EasyLanguage code is being executed. Once the EasyLanguage Debugger is displayed, you can step through the code from that point, breakpoint by breakpoint, or close the EasyLanguage Debugger and return to the chart, continuing to run the study.
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.