Welcome to the Traders Laboratory Forums.
TradeStation Custom Programming Discuss projects, ideas, obstacles in programming with TradeStation.

Reply
Old 10-25-2011, 08:50 PM   #1

Tradewinds's Avatar

Join Date: Nov 2008
Location: Northeast U.S.
Posts: 891
Ignore this user

Thanks: 373
Thanked 231 Times in 164 Posts
Blog Entries: 6

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.
Tradewinds is offline  
Reply With Quote

Reply

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random Line Theory Tradewinds Technical Analysis 6 04-01-2011 08:23 AM
Intra Day Trend Line Bfbusa Technical Analysis 1 09-21-2009 09:28 AM
Horizontal Line Plot For Day nab999 Coding Forum 3 09-16-2009 09:03 AM
Text and Line Rouquet01 Coding Forum 6 05-31-2009 12:16 PM
3 Line Break lordbinder Trading Indicators 2 08-28-2008 09:17 AM

All times are GMT -4. The time now is 10:02 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.