Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 03:00:03 +0000



Spreadsheet System for Trading with Attached Orders

View Count: 104

[2024-09-11 00:34:09]
User87521 - Posts: 83
I am using an auto trade system via the Spreadsheet System for Trading. All good. I have recently started using Attached Orders to set a stop loss. This all happens perfect. I have been having a problem, however, when it come time to close the trade (via Buy Exit or Sell Exit).

Without Attached Orders my Buy or Sell exit will work fine. I have a number of parameters to satisfy the exit signal and it seems to work fine. When I use an Attached Stop Loss I seem to lose the functionality wrt. the Spreadsheet System for Trading. My Buy Exit or Sell Exit don't seem to work. This is a copy of the Trade Service Log when I try to execute a Buy Exit.


2024-09-10 05:15:00.241 | Auto-trade: MNQ-202409-CME-USD[M] 15 Min #1 | RSITRADER | BuyExit | Bar start date-time: 2024-09-10 05:00:00.000 | BuyExit signal is ignored. Long position quantity does not exist or there are already working exit orders that will flatten the position. Current Position with working exit orders: 0. Current Position: 1. Current Position with exit market orders: 1


To clarify, the long position did exist as is confirmed by Current Position: 1. The Current Position with exit market order: 1, is the Stop Loss. But, this is not allowing my Buy Exit to execute from the Spreadsheet Study for Trading. Is there something I have done wrong here? I don't get why using an Attached Stop Loss would stop the Spreadsheet Study Buy Exit (or Sell Exit) from executing. I do understand why one might want this to happen, but is there a way to turn it off? I have looked through the various order types and don't see anything that would seem to help.

I guess at its core, do Attached Orders stop the Spreadsheet Study for Trading study from executing a close on a position if there is a stop loss?

Thanks guys.
[2024-09-11 00:44:08]
Sawtooth - Posts: 4118
When using Attached Orders and also spreadsheet formula exits, 'Cancel All Working Orders On Exit' needs to be set to Yes.
[2024-09-11 01:29:51]
User87521 - Posts: 83
Thank you. I was hoping it was something stupid that I missed.

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

Login

Login Page - Create Account