Login Page - Create Account

Support Board


Date/Time: Wed, 08 May 2024 21:09:08 +0000



ACSIL attached orders modification stopped working when switch to IB from Gain (IDs are 0)

View Count: 551

[2019-10-10 14:05:56]
tomas262 - Posts: 135
I use a code that moves SL to BE with open profit trigger (ticks).

All worked good for weeks when trading with GAIN Capital connection

Now I switched to Interactive Brokers and I see orders cannot be modified because Stop1InternalOrderID and Stop2InternalOrderID are ZERO (see the screen)

Can somebody provide any hint what could be causing this?

I have set General Trade Settings -> Servers Side OCO = ON / Server Side Bracket Orders = ON ...
imagescr1.png / V - Attached On 2019-10-10 14:04:31 UTC - Size: 139.32 KB - 271 views
imagescr2.png / V - Attached On 2019-10-10 14:04:38 UTC - Size: 39.16 KB - 256 views
[2019-10-10 18:23:20]
Sierra Chart Engineering - Posts: 104368
As long as there is no error submitting the orders and the order has specified attached orders, then Stop1InternalOrderID and Stop2InternalOrderID will be set.

Check your code and make sure that the new order structure specifies the offsets of the Stop Attached Orders and that they actually are submitted. And that you actually are getting those particular internal order IDs.There just should not be any trouble with this.
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-10-10 18:29:12]
tomas262 - Posts: 135
you are right the new order has all the IDs set correctly

Chart: MES-201912-GLOBEX-USD [C][M] 3.75 Range #3 | Study: TrendArrowsAdvanced | IDs set, EntryOrderID: 16220, Target1OrderID: 16215, Stop1OrderID: 16216, Target2OrderID: 16218, Stop2OrderID: 16219, Target3OrderID: 16221, Stop3OrderID: 16222 | 2019-10-10 13:16:01.360 *

Will keep watching persistent variables value ....

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

Login

Login Page - Create Account