Login Page - Create Account

Support Board


Date/Time: Wed, 05 Nov 2025 09:18:25 +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: 1154
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]