10-25-2011, 08:50 PM
|
#1 |
Join Date: Nov 2008 Location: Northeast U.S. Thanks: 373
Thanked 231 Times in 164 Posts
| Command Line Macros There are programing options available through macro commands that you may not know about, or be able to find unless you had done a lot of digging through the help documentation. If you do a search or an index search on the word "order", you will not find the Macro Commands available to Command Line Macros. But there are over 150 commands available to Command Line Macros, including the .PlaceOrder macro command.
To find the list of Command Line macro commands, go to the platform help and enter "Command Line Reference" in the Index search. If you go to the "EasyLanguage Reserved Words & Functions" help through the Easy Language code editor you will NOT find anything about these macro commands. There is a difference between the EasyLanguage Reserved Words & Functions help, and the Platform help, and they do NOT reference each other.
Command Line Macros can then be run with the "RunCommandOnLastBar (Function)"
There may be a reason why information on these macro commands is hard to find. Commands like the ".PlaceOrder" command might get you into trouble if you didn't use it correctly. But for anyone looking for capabilities of controlling the platform through code, the macro commands provide the potential.
__________________ Precise, "dialed-in", targeted combination setups, like opening a combination lock; is the experience you should be having while trading. Dial left, right, left, . . . click - the lock opens. |
| |