Login Page - Create Account

Support Board


Date/Time: Mon, 23 Jun 2025 10:50:28 +0000



Auto-Trade Management - Complex Order

View Count: 793

[2022-03-02 03:01:13]
User837393 - Posts: 145
Hello,

Why would a complex order would work when activated manualy, but when that same order in a trading speadsheet it is not working ?

Details :
1. The formulas in the spreadsheet are correct. When using a single contract with a triggered trailing stop limit (with the offset and the trigger programed in the trade window), the auto-trade works, the algo is triggered and the order work.

2. When using 2 contract and adjusting the quantities of stops and target accordingly in the trade window, it works when actioned manualy, but when activating the auto trade it doesn'T work and I get a message logg with an error message.

The message says : Trade order error - Trade order Quantity is 1 and this is less than the total of 2 for the attached order. Adjust the order quantities so the parent order s greater or equal to the attach order.

... this does make sense, since my trade order is not 1 but 2, also the order works manualy. Only in auto-trade it doesn't work.
Date Time Of Last Edit: 2022-03-02 03:01:58
[2022-03-02 03:10:40]
Sawtooth - Posts: 4229
The Spreadsheet System for Trading study uses cell J26 to set the quantity, which overrides the Trade Window quantity.
[2022-03-02 03:30:40]
User837393 - Posts: 145
Thanks tomglib,

Exactly, I was about to post that I just resolved my issue ... Cell J26 is where we input the contract quantity.

...Learning everyday :)
[2022-03-02 12:28:52]
Sierra Chart Engineering - Posts: 104368
You need to set the order quantity on the Spreadsheet as explained:
Spreadsheet Systems, Alerts and Automated Trading: Order Quantity [J26]
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2022-03-02 12:29:23

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

Login

Login Page - Create Account