TradeStation Help
A Command Line Command macro consists of one or more Command Line commands that are saved together and to be run at a future time. The Command Line macro wizard guides you through the process of creating the macro. Once the macros are created, they can be run from the Command Line, Macros dialog, and from the TradeStation Development Environment. In addition, you can assign a macro to a toolbar button and/or Hot Key as a shortcut.
For example, the below macro named .Big5 includes a set of action commands that creates a new 5 minute chart and loads it with 30 days of pre & post session data. Once this macro is created and saved, type .Big5 on the Command Line, and press ENTER to run the macro. Or, you could assign a hot key to run the macro when a specified key is pressed.
.Newchart;;
5 min;;
.Days 30;;
.Session US Stock with Pre & Post Market;;
For more
information, see Create Macro Wizard.
For a list of TradeStation commands, see Command
Line Reference (All Commands) or Command
Line Reference (Sorted by Application).