Support Board
Date/Time: Sun, 02 Feb 2025 23:03:38 +0000
Stop orders in opposite directions flashing
View Count: 656
[2019-10-16 07:59:04] |
User558609 - Posts: 3 |
Hello, I am trying to create an ACSIL system that will send at the same time a long stop and a short stop order, each one at a distance from the current price and with their own child orders. The system is working well and no errors appear in the Trade Service log, but the orders are flashing. It seems both can't be open at the same time, so with each tick one cancels and the other one is issued. The programming is straightforward so I am wondering if there is some setting that could be causing this. My initial setup of sc variables is like this: sc.AllowMultipleEntriesInSameDirection = true; sc.AllowOppositeEntryWithOpposingPositionOrOrders = true; sc.AllowEntryWithWorkingOrders = true; sc.AllowOnlyOneTradePerBar = false; sc.CancelAllOrdersOnEntriesAndReversals = false; sc.CancelAllOrdersOnReversals = false; sc.CancelAllWorkingOrdersOnExit = false; sc.MaximumPositionAllowed = 100; sc.MaintainTradeStatisticsAndTradesData = true; sc.ReceiveNotificationsForChangesToOrdersPositionsForAnySymbol = true; sc.SupportReversals = true; sc.SupportAttachedOrdersForTrading = false; Attached orders are defined anyway, so that's why I think I can leave sc.SupportAttachedOrdersForTrading = false;
Thanks in advance. Jesús |
[2019-10-17 19:27:27] |
Sierra Chart Engineering - Posts: 104368 |
You need to check the Trade Activity Log to see what is exactly happening to those orders and take the appropriate steps to resolve: Trade Activity Log: Viewing Historical Trade Activity 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-10-17 19:27:37
|
To post a message in this thread, you need to log in with your Sierra Chart account: