Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 15:44:24 +0000



ACSIL UseGUIAttachedOrderSetting

View Count: 1736

[2017-06-12 05:55:04]
rhovega - Posts: 279
I have an ACSIL trading system where the attached orders are given programatically by s_SCNewOrder.

I would like to be able to toggle on/off between attached order settings provided by a) s_SCNewOrder, and b) the Chart Trade Window.

I went over http://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Variables_And_Arrays.html#scUseGUIAttachedOrderSetting as well as over the provided example studies / source code.

Tried "sc.UseGUIAttachedOrderSetting = true" together with "Use Attached Orders" enabled on the Trade Window.

It didn't work. Cant it be that UseGUIAttachedOrderSetting does not override SCNewOrder? If so, is there another function for that, or do I need to tweak my code?

Thanks
Date Time Of Last Edit: 2017-06-12 06:05:45
[2017-06-12 06:05:10]
Sierra Chart Engineering - Posts: 104368
Cant it be that UseGUIAttachedOrderSetting does not override SCNewOrder?
No definitely not. If you want to use the Attached Orders on the Trade Window you cannot specify them with SCNewOrder. And what was previously specified will have already been set on the Trade Window for the chart the study is applied to.
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