Login Page - Create Account

Support Board


Date/Time: Thu, 15 Oct 2026 21:39:23 +0000



[Programming Help] - ACSIL can read live position but not attached stop/target orders - Account Support Ticket

View Count: 374

[2026-05-28 16:32:53]
User771382 - Posts: 1
I have a custom ACSIL study that can read my live open position correctly, but it cannot read the attached stop and target orders from a manually entered bracket trade.

While the position is open, my study sees:

* Account: 18XXXX (Its a live account)
* Position side: LONG/SHORT
* Quantity: 1
* Average price: correct
* Working orders exist: true

But these calls do not return the attached stop/target orders:

* GetNearestStopWorkingAttachedOrder
* GetNearestTargetWorkingAttachedOrder
* GetOrderByIndex
* GetOrderForSymbolAndAccountByIndex

The order scan returns zero orders, even though the chart/trade window shows a bracket is active.

Question:

What is the correct ACSIL method to read the working attached stop and target orders for a live manually entered bracket trade?

Do live attached orders require a different API, symbol, account, or setting to be visible to ACSIL?
[2026-09-17 14:09:57]
User131476 - Posts: 6
.

Update: I tested the modified study in both Simulation and Live trading. It now works correctly in both. The key was handling sc.SendOrdersToTradeService differently depending on whether Sierra Chart Trade Simulation is active.
Date Time Of Last Edit: 2026-09-17 19:47:03
[2026-09-17 22:00:37]
Sierra_Chart Engineering - Posts: 25189
Yes this does make sense.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account