Command Line

TradeStation's Command Line is the central command post from which you can control the TradeStation Desktop, workspaces, and windows. The Command Line is part of the Main toolbar, so it is available at all times, no matter what type of TradeStation windows that you have open.

The Command Line is made up of several elements - the Command Entry box and the History & Command Lists drop-down.

  • The Command Entry box makes it easy to execute common commands in an active window by simply typing them. The Command Entry box will display the text as you type. Commands are short instructions with optional parameters.
  • The History & Command Lists drop-down arrow to the right of the Command Entry box lets you see command line history and access other available commands.

The Command Line accepts the following types of commands:

  • Symbol - Symbol commands add or change the symbol in the active window. For example, type MSFT in the command line box to see the symbol data for Microsoft.
  • Interval & Range - Used to change the bar interval and/or amount of data in the active window. For example, you can change to a daily chart by simply typing the word Daily at the command line or plotting a specified number of days of data in a chart by typing 30 days.
  • Action - Action commands access many of the same operations that can be accessed from menus or toolbars in the TradeStation Desktop or the active TradeStation window. Action commands are preceded with a period (.). For example, you can use the .NewChart command to open a new Chart Analysis window or use .InsertAnalysisTechnique Mov Avg 1 Line to add a single line moving average indicator into the active Chart Analysis window.
  • Macro - Macro commands are an action and/or symbol command that combined into a single string. Macro command are preceded with a period (.). For example, you can type .Desktop_Bars to toggle the Trade Bar, Position Graph Bar and Status Bar on or off. 

For more information on using the different types of commands, see Command Rules.

Related Topics

Entering Commands in the Command Line

List of commands for the Command Line

Setting the Desktop Preferences

Command Line Errors