Support Board
Date/Time: Sun, 19 Jan 2025 19:42:17 +0000
Post From: Attached Orders
[2018-04-24 10:39:31] |
User39772 - Posts: 311 |
Thank you that helped for attached orders. I have a similar problem now with non attached trailing orders like: s_SCNewOrder NewOrder; NewOrder.OrderQuantity = 2; NewOrder.OrderType = SCT_ORDERTYPE_TRAILING_STOP; NewOrder.Price1 = sc.BaseData[SC_LAST][sc.Index] - 10*sc.TickSize; My BuyExit/SellExit conditions seem to have a lower priority than the trailing stop and are not executed. Is there a similar solution available or do I have tu use an attached trailing stop to solve that ? |