| Coding Forum Collaborate, receive help, or discuss coding related issues. |
![]() | | Tweet | |
| | #1 | ||
![]() | Anyone Program Custom OCOs for TradeStation? 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 | ||
| |
|
![]() |
| Thread Tools | |
| Display Modes | 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 |