# Support Board

Date/Time: Sun, 15 Dec 2019 06:20:21 +0000

## Attached orders and Spreadsheet System

 [2019-07-10 09:46:40] #1 User564539 - Posts: 14 I am currently using a spreadsheet to generate buy and sell limit orders where the limit prices are based on some formulas. But i want also to use the Attached Orders for my stop loss. When i place a buy limit order, SC is sending both the stop loss and the buy limit order. When the order is filled, the sell limit order is triggered, but then it overrides the stop loss already sent. How can i keep both stop loss and sell limit after buy is filled. Attached orders works fine to keep all 3 orders stop loss, buy limit and sell limit however i cannot base the buy and sell prices on formulas in the spreadsheet.
 [2019-07-11 21:18:42] #2 Sierra Chart Engineering - Posts: 79192 This is confusing. We are not understanding this. Are you experiencing a problem or an order is unexpectedly filling? Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
 [2019-07-12 07:33:27] #3 User564539 - Posts: 14 Basically i am saying if i use Attached orders feature with the stop loss only, and the spreadsheet generates the buy limit and sell limit order, what is happening is that the sell limit generated by the spreadsheet is overriding the stop loss sent by the attached orders e.g. 1. send a buy limit @\$12,000 from spreadsheet 2. send a stop loss from Attached orders of \$11,900 3. once buy limit is filled then spreadsheet generates a sell limit order of \$12,500. 4. stop loss of \$11,900 is now updated to \$12,500 I expect that i keep the SL of \$11,900 and keep the sell limit of \$12,500
 [2019-07-15 04:42:52] #4 Sierra Chart Engineering - Posts: 79192 3. What cell is generating this order? 4. Why would this be the case? These are separate orders. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.