Login Page - Create Account

Support Board


Date/Time: Thu, 16 May 2024 14:50:41 +0000



[User Discussion] - Attached/OCO automation logic

View Count: 649

[2020-08-02 20:20:14]
User290496 - Posts: 56
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 - 275 views
[2020-08-03 02:16:19]
Sawtooth - Posts: 3997
The quantities and offsets in your pic are not the same as in your description.

The attached pic follows your description, I think ;)
Date Time Of Last Edit: 2020-08-08 23:52:42
imageTriggered Trailing Stop after BE+1.PNG / V - Attached On 2020-08-03 02:16:11 UTC - Size: 16.78 KB - 270 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account