Tuesday, January 06, 2009     | Register
TradersStudio Forums
Subject: How to Buy on Close?

You are not authorized to post a reply.   
Author Messages
gurkan5
Posts:1

09-02-2008 12:24 PM Alert 

Hi,

I want my system to Buy at Close.

When I migrated my tradestation code the Ordertype becomes 'Market' and my Entry will be on Open the following day.

My converted code became:

Buy ("",1,0,Market,Day)

What is the code for buying at Close?

 

 

 

 

Cowpux
Posts:6

09-13-2008 6:38 PM Alert 

The following example will buy 4 contracts this bar on the close.

 

Buy("LE", 4, 0, CloseEntry, Day)

Use Close Entry instead of market.  It works.  I hope this helps.

 

Cowpux

You are not authorized to post a reply.



ActiveForums 3.6
TradersStudio® Copyright 2004-2009 All Rights Reserved   |  Privacy Statement  |  Terms Of Use