Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 01:01:03 +0000



Acsil sc.SetAttachedOrders()

View Count: 881

[2019-08-24 17:57:25]
User565999 - Posts: 9
Hi team,

the function sc.SetAttachedOrders() cant change the parent orderquantity in the trade window. OCO Settings are working.

s_SCNewOrder NewOrder;
NewOrder.OrderQuantity = 4;
NewOrder.OCOGroup1Quantity = 4;
NewOrder.OrderType = SCT_ORDERTYPE_LIMIT;
NewOrder.Target1Offset = 16*sc.TickSize;
NewOrder.Stop1Offset = 8*sc.TickSize;
sc.SetAttachedOrders(NewOrder);

am i missing something?

Thank you very much
[2019-08-27 08:00:44]
Sierra Chart Engineering - Posts: 104368
This will be solved in the next release. For now use this function:
ACSIL Interface Members - Variables and Arrays: sc.TradeWindowOrderQuantity
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: 2019-08-27 08:01:36

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

Login

Login Page - Create Account