There are settings withing the TWS which allow you to accomplish this by defining an initial offset from your target price and size as well as a subsequent component size and price increment.
To create the order, start by Right clicking any TWS quote line and choosing 'Configure Order Presets' from the menu. You will see a Target Order (Profit Taker) Section. For your example you want your initial Parent order to execute, then you wish to sell 400 shares 1.00 above the initital order, then 600 shares 2.00 above the initital parent order. These can be entered into the section titled 'Scale Fields'. Then click the 'Apply' and 'OK' buttons (see Exhibit 1 on attachment).
Next, proceed to your quote row and left click the ask price to create the parent order. Change the limit price to 50. Now, right click the order line and choose 'Attach' and then 'Target Order â Limit' from the pop-up menu (Exhibit 2).
Then right click the parent order one more time and choose 'Attach â Stop' from the pop up menu.
You will see the following three orders (Exhibit 3):
1. A Parent order to purchase 1000 shares for USD 50.00
2. A profit taking limit order for 400 shares with a limit of USD 51.00 (parent order + 1.00) and a second order for 600 shares at 52.0 (scale subsequent size plus scale increment of USD 1.00)
3. A stop order to sell all 1000 shares at USD 1.00 below parent level.
You will only see one order line for the scale order. To view the progress you must right click the profit taking limit order and choose âView Scale Progressâ from the pop-up menu (Exhibit 4).