Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 09-28-2010, 06:33 AM   #1

Join Date: Dec 2008
Location: Guildford
Posts: 67
Ignore this user

Thanks: 9
Thanked 8 Times in 7 Posts

Anyone Program Custom OCOs for TradeStation?

Hi - can one import prepackaged custom OCO templates into tradestation? I'd be glad to hear from anyone who can help me achieve the following:

I want to set up TS so the following orders run automatically on each trade after I initiate and OK it:

* Entry order (type determined by where I click on the Matrix).

* Initial Stop Loss (in points/pips)

* Stop Loss moves to Breakeven when open P/L is X pips/points

* Take profit on 50% (Limit order) when open P/L is Y pips/points

* Take profits on remaining 50% (Limit order) when open P/L is Z pips/points

(The option to alternatively take profits in three or four stages would be good, but isn't essential at this time)

* Trail Stop if required (in pips/points - close all at Market, cancel all orphaned orders).

* Time Stop if required (in Local time, same as I set all charts - close all at Market, cancel all orphaned orders).

I'd like the usual TS OCO functionality - each order to adjust remaining orders as it's filled (so there are e.g. no orphaned orders open after closeout), and to be able to adjust each order manually while the trade is running (e.g move trail my stop up, or move 'take profit' orders up).

Ideally I would initiate the trade by checking 'Attach OSO' on the Matrix trade bar, filling in all the order levels for the trade, then clicking on a Matrix level or the Buy/Sell Market button. That would send the entry order and all the attached OSO orders together.

I'd consider buying an off-the-shelf TS add-on to do this if such a thing exists. If it's not possible to do it on TS the way I've described, any advice on how I could otherwise achieve this would be welcome. The objective is that I can run 'set and forget' trades when I have other things to do

Look forward to hearing what's possible (please post here, or pm me if you like) - I'm in UK, near Guildford.

Thanks, Max
maxr 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
Program Trading, Arbitrage, Ect... darthtrader Market Analysis 14 04-18-2011 03:09 AM
Best Broker for Interfacing with Custom Code kaiynne Trading and the Markets 25 06-05-2009 09:09 AM
Custom Computers Vs. Best Buy jay bird Tools of the Trade 19 05-15-2008 06:37 PM
Custom Indicators for Open E Cry strtedat22 Technical Analysis 2 03-24-2008 07:23 PM
NYSE Trading Curbs Eliminated thetradingdoctor Trading Psychology 3 11-01-2007 06:36 PM

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