Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 16:07:03 +0000



ACSIL Trading Stop with Bid/Ask Triggering & Stop with Last Triggering

View Count: 740

[2019-02-27 17:52:18]
ARDAN - Posts: 66
I'm developing an ACSIL study and I would like to set my stops as Trading Stop with Bid/Ask Triggering or Stop with Last Triggering as stated in Order Types. Order Types
When I look at the ACSIL target/stop order types (Automated Trading From an Advanced Custom Study: [Type: char] s_SCNewOrder::AttachedOrderTarget1Type) I can't view these two. Could you please share their ACSIL names with me?
Thanks.
[2019-03-01 01:12:20]
Sierra Chart Engineering - Posts: 104368
We are updating the documentation now. These are the order type constants for ACSIL:

const int SCT_ORDERTYPE_STOP_WITH_BID_ASK_TRIGGERING = 24;
const int SCT_ORDERTYPE_STOP_WITH_LAST_TRIGGERING = 25;
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
[2019-03-06 17:39:59]
bradh - Posts: 854
We are updating the documentation now. These are the order type constants for ACSIL:

const int SCT_ORDERTYPE_STOP_WITH_BID_ASK_TRIGGERING = 24;
const int SCT_ORDERTYPE_STOP_WITH_LAST_TRIGGERING = 25;

Has this been completed? As of version 1880, these two order types result in Stop: Stop. I am using the following code:

Order.AttachedOrderStopAllType = SCT_ORDERTYPE_STOP_WITH_BID_ASK_TRIGGERING;

[2019-03-07 00:55:48]
Sierra Chart Engineering - Posts: 104368
Ok we see why this occurs. There is a stop type validation which did not include these new types. This will be fixed in the next release.
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