EasyLanguage Documents
An EasyLanguage document includes the EasyLanguage statements that make up the logic for all analysis techniques, strategies, and functions.
To create a new document file
- Use the File > New menu sequence from the TradeStation Development Environment menu bar or click on the toolbar to create a new EasyLanguage document.
- From the New list select the type of new document to create (Indicator, PaintBar, Function, Strategy, Pricing Model, etc.).
- The New [Document Type] dialog appears where you specify information about your document. The type of document you selected to create is displayed in the title bar.
The general steps for setting up each document type are the same, however, specific settings for a given type may be slightly different and will be indicated in the step description:
- In the Name box, enter a descriptive name. This is the name you'll use to open the document.
- For analysis techniques (Indicator, PaintBar, and ShowMe), you can enter an optional Short name.
- In the Notes box, enter any additional information about the document. This will appear in the Notes section of the Open file dialog.
- For analysis techniques (Indicator, PaintBar, and ShowMe), under Make available to the following windows, place a check mark next to each TradeStation analysis window where your document may be used. If unchecked, you will not see the analysis technique or strategy in the select list when applying to that type of window.
- The Select Template drop-down list lets you choose a template that adds EasyLanguage comments to your new document when it first appears in the editor. Select (None) to create a blank document with no comments.
- Click OK to create.
To open document files
- Use the File > Open menu sequence from the TradeStation Development Environment menu bar.
- From the Select Analysis Type drop-down list, choose the type of analysis technique to filter the list by. To view all types of analysis techniques, select All from the drop-down list.
- Select one or more files (use Ctrl-Click to select multiple files).
- Right-click on a selected file and choose Open from the drop-down menu.
- The selected document(s) will open in the EasyLanguage editor.
To delete document files
- Use the File > Open menu sequence from the TradeStation Development Environment menu bar.
- From the Select Analysis Type drop-down list, choose the type of analysis technique to filter the list by. To view all types of analysis techniques, select All from the drop-down list.
- Select one or more files (use Ctrl-Click to select multiple files).
- Right-click on a selected file and choose Remove from the drop-down menu.
- From the Confirm File Removal dialog, click Yes to delete the named file, Yes to all to delete all selected files, or No to skip deleting the named file, or Cancel to end the operation.
To rename document files
- Use the File > Open menu sequence from the TradeStation Development Environment menu bar.
- From the Select Analysis Type drop-down list, choose the type of analysis technique to filter the list by. To view all types of analysis techniques, select All from the drop-down list.
- Select one or more files (use Ctrl-Click to select multiple files).
- Right-click on a selected file and choose Rename from the drop-down menu.
- Type the new name in the edit box, then click Enter to save or Esc to cancel the operation.