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 JNPR.
Syntax: .macroname ;;
- Macro commands must be
preceded with a period (.), see
Macros Wizard for usage.
- Multiple commands are separated
by double semi-colons (e.g. .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
Related Topics
Entering Commands in the Command Line
Setting Command Line Preferences
Command Line Errors