Looking for advice on how to manage order in TWS - futures io
futures io futures trading



Looking for advice on how to manage order in TWS


Discussion in Platforms and Indicators

Updated by MJ888
      Top Posters
    1. looks_one Zwaen with 2 posts (5 thanks)
    2. looks_two sharp2be with 1 posts (0 thanks)
    3. looks_3 Fat Tails with 1 posts (0 thanks)
    4. looks_4 mengelbrecht with 1 posts (0 thanks)
    1. trending_up 6,012 views
    2. thumb_up 6 thanks given
    3. group 3 followers
    1. forum 9 replies
    2. attach_file 3 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Looking for advice on how to manage order in TWS

(login for full post details)
  #1 (permalink)
Canada
 
Experience: Advanced
Platform: NT, TS
Broker: Amp
Trading: ES
 
sharp2be's Avatar
 
Posts: 57 since Sep 2009
Thanks: 1 given, 69 received

Hi, I would like to use TWS to manage the following order and I wonder if anyone can tell me if it's possible and how easy it is to do it:

1. As soon as I open a position I would like to enter an OCO order as follows

1. Target 1 - say 2 es points above entry
2. Target 2 - say 4 es points above entry
3. Stop (cancels orders 1 & 2 when hit)

I also would like for the stop to be moved to break even as soon as target 1 is hit

Is this possible? Thanks in advance

Visit my futures io Trade Journal Reply With Quote

 
 
(login for full post details)
  #3 (permalink)
Site Administrator
Manta, Ecuador
 
Experience: Advanced
Platform: My own custom solution
Trading: Emini Futures
 
Big Mike's Avatar
 
Posts: 48,909 since Jun 2009
Thanks: 31,586 given, 94,537 received


 
Thread Moved


Moved to IB TWS



When creating a new thread, note which subforum you are in. Here is a short list of suggestions:

- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading

Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).

This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.

-- Big Mike Trading


We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/
Follow me on Twitter Visit my Facebook Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #4 (permalink)
New York, NY
 
Experience: Advanced
Platform: TOS
Broker: TD Ameritrade
Trading: Equities and options
 
Bookworm's Avatar
 
Posts: 168 since Apr 2010
Thanks: 65 given, 155 received

This will do it:
Bracket Trader Blog | Announcements, etcetera

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,830 since Mar 2010
Thanks: 4,237 given, 26,549 received

You can either use

- NinjaTrader
- Button Trader
- or Bracket Trader

as a front end for Interactive Brokers. I think MultiCharts will do as well, but I haven't tested it yet.

Reply With Quote
 
(login for full post details)
  #6 (permalink)
Netherlands, Blaricum
 
Experience: Intermediate
Platform: Excel, Python, R
Broker: IB
Trading: Options
 
Zwaen's Avatar
 
Posts: 250 since Dec 2010
Thanks: 848 given, 236 received

See attached charts:

Attached Thumbnails
Click image for larger version

Name:	j1.JPG
Views:	190
Size:	20.4 KB
ID:	50722   Click image for larger version

Name:	j3.JPG
Views:	276
Size:	159.8 KB
ID:	50723  
Reply With Quote
The following 5 users say Thank You to Zwaen for this post:
 
(login for full post details)
  #7 (permalink)
copenhagen, denmark
 
Experience: Intermediate
Platform: multicharts, Ninja
Broker: IB & Kinetick
Trading: ES
 
mengelbrecht's Avatar
 
Posts: 47 since Aug 2010
Thanks: 16 given, 22 received


Zwaen View Post
See attached charts:


You can do a simple bracket order i TWS - you canīt do multiple targits etc- You need another tool like the ones suggested above
I am using multichart with tws

rgds mengelbrecht

Reply With Quote
 
(login for full post details)
  #8 (permalink)
Netherlands, Blaricum
 
Experience: Intermediate
Platform: Excel, Python, R
Broker: IB
Trading: Options
 
Zwaen's Avatar
 
Posts: 250 since Dec 2010
Thanks: 848 given, 236 received


mengelbrecht View Post
You can do a simple bracket order i TWS - you canīt do multiple targits etc- You need another tool like the ones suggested above
I am using multichart with tws

rgds mengelbrecht


You are right about this. For example when entering with 2 units, you need need to open the orders seperately since profit-taking cannot be divided between lots in tws, when entered in 1 order.

So for example, you would like to enter short eurusd using 2 futures,

1 future, entry 1.3260 SL= 1.3270 Target1= 1.3250
1 future, entry 1.3260 SL= 1.3270 Target2= 1.3205

then your orders would look like( see chart)

Attached Thumbnails
Click image for larger version

Name:	d1.JPG
Views:	116
Size:	29.1 KB
ID:	50845  
Reply With Quote
 
(login for full post details)
  #9 (permalink)
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
 
Posts: 263 since Sep 2010
Thanks: 440 given, 91 received


sharp2be View Post
Hi, I would like to use TWS to manage the following order and I wonder if anyone can tell me if it's possible and how easy it is to do it:

1. As soon as I open a position I would like to enter an OCO order as follows

1. Target 1 - say 2 es points above entry
2. Target 2 - say 4 es points above entry
3. Stop (cancels orders 1 & 2 when hit)

I also would like for the stop to be moved to break even as soon as target 1 is hit

Is this possible? Thanks in advance

For this, I'm using TwsLink from Trade Commander. For sure, you going to have some code to write in Excel or Trade Station (Multicharts) or Ninja. But the beauty is you may end up to have full control over your order.

All my entry orders are sent via Excel button. I then manage them manually if entry do occur.

All my order are keep on IB server. If PC turn down, I'm protected
All order contain
- A date and time of validity. If not enter before the end of the bar, orders cancelled automatically
- A linked stop order that is activated only if the primary order as been executed
- An explanation string. This one is place on the same line as the order so just by looking at it, I know the characteristics of the order.

I have not implemented the OCO yet. I should but for now I trade small lot so I don't split.
I still have to develop the possibility to control my live order from Excel instead of TWS

Good luck

Martin

Reply With Quote
The following user says Thank You to arjfca for this post:
 
(login for full post details)
  #10 (permalink)
Houston, Texas
 
 
Posts: 165 since Sep 2012
Thanks: 37 given, 145 received


Trying to create multiple orders in IB can get very confusing!

Reply With Quote


futures io Trading Community Platforms and Indicators > Looking for advice on how to manage order in TWS


September 9, 2012


Upcoming Webinars and Events
 

Introducing Edge Pools: Prop Pricing Model w/Edge Clear

Jul 9
 

Every journal equals ten meals for the hungry

Now
     



Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts