Support Board
Date/Time: Mon, 25 Nov 2024 17:56:07 +0000
[Programming Help] - Set Up Imbalanced Trade Order Quantities
View Count: 218
[2024-02-12 16:50:53] |
Timmseh - Posts: 3 |
I'm attempting to create a new setup through the Trade Window that would allow me to have imbalanced trade order quantities, but I can't seem to get it working correctly. I'm aware (via the documentation) that you can have imbalanced trade order quantities and still place an order as long as the stop/target quantities are less than the initial trade quantity, but let me describe what I'm trying to do. The simplest form of my scenario would be a 2 quantity trade where: 1. There is a stop that (if hit) sells both current open contracts. 2. There is a close target that sells one of the open contracts. 3. Once the first (close) target is hit in Step 2, I want the breakeven moved to my desired breakeven point (in this case, breakeven + 1 tick). 4. This leaves 1 contract to run with the trend, getting stopped at the breakeven stop if necessary. A more complex form would be with additional contracts (for this example, 4 contracts) where I could have additional targets such as: 1. There is a stop that (if hit) sells all current open contracts. 2. There is a close target that sells one of the open contracts. 3. Once the first (close) target is hit in Step 2, I want the breakeven moved to my desired breakeven point (in this case, breakeven + 1 tick). 4. There is a second target that sells one more of the open contracts at a higher take-profit point. 5. This leaves 2 contracts to run with the trend, getting stopped at the breakeven stop if necessary. The issue I'm seeing is that I can't get it configured to let the remaining contracts "run". I've tried changing the stop group from a particular OCO group to the "All OCO Groups" and various permutations, but it appears as though the issue comes into play with the target. If we take the case of the first example with order quantity of 2, I have a Target 1 some number of ticks out and my stop some number of ticks out. If the trade quantity is 2, but the Target 1 quantity is 1 (because I want to let the other run), then the Stop quantity defaults to 1 as well. In testing, this means that once Target 1 is hit, the stop is canceled as part of the OCO group, leaving 1 contract still live with no stop remaining. Is there a way to configure the trade targets so that you can have imbalanced targets to "let your winners run" while not destroying your stop with OCO groups? |
[2024-02-12 20:48:28] |
John - SC Support - Posts: 36255 |
The only way to do this would be to have 2 targets with the second one set very far away, so you do not need to worry about it being hit.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-02-12 22:02:26] |
Timmseh - Posts: 3 |
Thanks, John. I wondered if that would be the case and that's how I currently have it set up as a work-around. Would this ever be something that would be supported in the future (just for the sake of cleanliness and my OCD)? It seems if you had an option to de-couple the stop from OCO groups entirely and have it simply tied to the total number of current contracts open then you could work around the issue. Regardless, thanks for the quick response and clarification! |
To post a message in this thread, you need to log in with your Sierra Chart account: