Login Page - Create Account

Support Board


Date/Time: Sun, 09 Feb 2025 03:14:46 +0000



Post From: Attached/OCO automation logic

[2020-08-02 20:20:14]
User290496 - Posts: 62
Hi,

New to SC and trying to figure out how to setup the following Attached/OCO automation to happen when I place an order. I am going through the help materials, but am having difficulty figuring out how to get this logic into the Targets tab.

Trade logic:

1. Buy/Sell STOP xx amount of lots
2. Stop Market Stop Loss at 8 ticks and close out all lots if hit
3. Profit Target #1 at 4 ticks, when hit close out 50% of lots; and Move Stop Loss to BE+1 tick for remaining lots
4. Profit Target #2 at 8 ticks, when hit close out 50% of remaining lots, create Trailing Stop Loss of 6 ticks (not sure how this effects original Stop Loss).
5. Profit Target #3 at 20 ticks, when hit close out 100% of remaining lots.

Essentially trying to get 4 ticks profit on 50% of lots, with a SL protecting 100% of the lots, and then have one runner, and then a second runner leg.
If we cannot use % of lots to buy/sell logic, that is fine, I can use a fixed number of lots for each.

The area I am having particular difficulty with is figuring out how to move the original Stop Loss that is set with the order to become a trailing stop loss further into the trade logic described above. It is not clear to me if I should be attempting this using a 'Single Common Stop' that has some 'Move to Breakeven for Stop' logic, or using a different 'Type' of Stop altogether.

The attached image is my attempt at this (minus the percentage to close out as described above).

Any help would be greatly appreciated!

Cheers
Date Time Of Last Edit: 2020-08-02 22:31:29
imagesctrailingstoporder.PNG / V - Attached On 2020-08-02 22:29:30 UTC - Size: 17.2 KB - 302 views