Login Page - Create Account

Support Board


Date/Time: Tue, 16 Sep 2025 22:25:53 +0000



Post From: ASCIL How to determine when/if an Attached Order has been moved to Breakeven ...

[2022-11-29 10:36:46]
ForgivingComputers.com - Posts: 1123
I've not been able to find an example, or documentation, to explain how I can determine when an attached stoploss order moves to breakeven.

If you are keeping track of the order IDs for the stops, then you can look up the current Price like this:

s_SCTradeOrder TradeOrder;
sc.GetOrderByOrderID(OrderID, TradeOrder);
double Stop = TradeOrder.Price1;
[code]