Support Board
Date/Time: Mon, 22 Sep 2025 23:45:03 +0000
Post From: ASCIL How to determine when/if an Attached Order has been moved to Breakeven ...
[2022-11-20 11:43:10] |
User92573 - Posts: 574 |
Dear Support 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. I can obviously use <= or >= a trigger value but I could not find another more appropriate method that traps the actual Order event.
The goal is to simply send a message to the log stating a move to Breakeven has occurred and at what price? I currently save the following to PerVars for my other studies which do not use attached orders.
NewOrder.Target1InternalOrderID; NewOrder.Stop1InternalOrderID; NewOrder.InternalOrderID; But with attached orders I'm a little stuck. Any short example, or direction greatly appreciated. Many thanks. |