Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 20:47:21 +0000



Spreadsheet System for Trading – How to send Buy Exit Limit Order & Buy Exit Stop Loss

View Count: 323

[2023-07-10 15:41:14]
PeaceFrog - Posts: 105
Hello,

Thank you for taking the time to answer my question.

In my Chartbook I have 2 different charts with 2 different Long strategies each with different profit targets and different Stop Loss targets. I can’t figure out how to send the 2 orders; a Buy Exit Limit Order at a set profit target and a Buy Exit Stop Loss Order at a set target in case things go the wrong way using Spreadsheet System for Trading.
I tried using cell J29 (Flatten and Cancel Working Orders) but the Stop Loss from one strategy is at a higher price than the second and it’s causing positions to be exited at the wrong price. Using the Trade Window is not an option because the strategy in one chart has a few different Buy Entry options at different targets.

Basically, what I want to achieve is for the strategy in each chart to send their respective a Buy Exit Limit Order at a set profit target and a Buy Exit Stop Loss Order at a set stop loss target. For example, in strategy 1, profit 100 ticks and stop loss 50 ticks, and strategy 2 50 ticks and stop loss 25 ticks.

I hope this makes sense. Thank you kindly.
[2023-07-10 19:15:52]
sgne - Posts: 105
You didn't say whether it's the same symbol.

Assuming it is, you need to run another instance of SC. Otherwise, J27 will cancel all the working orders for that symbol (unless I don't know something someone else does).
[2023-07-11 17:19:42]
Sawtooth - Posts: 4120
If it's the same symbol, you need two instances of SC, and if you are trading live, you'll also need two broker accounts.

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

Login

Login Page - Create Account