Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 15:51:05 +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 ?