Login Page - Create Account

Support Board


Date/Time: Wed, 12 Mar 2025 11:31:01 +0000



ACSIL: manual looping and specific order types

View Count: 695

[2022-05-05 04:26:44]
BrMa - Posts: 80
Dear ladies and gentlemen,

your documentation at
Automated Trading From an Advanced Custom Study: Order Type Constants
specifically mentions, that orders of type SCT_ORDERTYPE_OCO_LIMIT_STOP and SCT_ORDERTYPE_OCO_LIMIT_STOP_LIMIT need to be submitted using sc.BuyOrder() or sc.SellOrder(), whereas most of the others (besides specific OCO-orders) seem to work with either sc.BuyOrder(), sc.BuyEntry(), sc.SellOrder() or sc.SellEntry().

Refering to your documentation at
Automated Trading From an Advanced Custom Study: Buy Entry | Buy Order and Automated Trading From an Advanced Custom Study: Sell Entry | Sell Order
sc.BuyOrder() and sc.SellOrder() work with automatic looping only.

My question:
as I'm using manual looping - how can I submit orders of type SCT_ORDERTYPE_OCO_LIMIT_STOP and SCT_ORDERTYPE_OCO_LIMIT_STOP_LIMIT?


Thanks for your support!
[2022-05-05 10:30:36]
Sierra Chart Engineering - Posts: 104368
In the next release of Sierra Chart which we will release today or tomorrow, there will be new implementations of these functions to support manual looping. The documentation is already updated.
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

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

Login

Login Page - Create Account