TradeStation Help
Macro Command Rules
Macros allow you to combine one or more action and/or symbol commands into single command with a name that you can specify. For example, you can use a macro command to open a new Chart Analysis window with an interval of 5 minutes for a specific symbol.
Syntax: .macroname ;;
- Macro commands must be preceded with a period (.); see Macros Wizard for usage.
- Multiple commands are separated by two semi-colons. Example: .macro1 ;; .action1 ;; .macro2
Example
- Runs an order macro that places a limit order to Buy 500 shares at the inside bid + .01.
.Buy_Improve
- Runs a command to create a new desktop and runs a macro that toggles the Order Bar, Position Graph Bar
and Status Bar off.
.NewDesktop ;; .Desktop_Bars
Entering Commands in the Command Line
Setting Command Line Preferences
Command Line Errors