Support Board
Date/Time: Tue, 26 Nov 2024 12:32:06 +0000
Post From: ASCIL: Code trigger or Alert when Target1Offset is reached?
[2023-12-05 13:50:38] |
BenjFlame - Posts: 324 |
Hi, to enter an order I use this code: s_SCNewOrder NewOrder;
NewOrder.OrderQuantity = sc.TradeWindowOrderQuantity; NewOrder.OrderType = SCT_ORDERTYPE_MARKET; NewOrder.TimeInForce = SCT_TIF_GOOD_TILL_CANCELED; NewOrder.Target1Offset = sc.TickSize * Input_TickTarget.GetInt(); NewOrder.Stop1Offset = sc.TickSize * 50; Do you know of any way to have some code or alert run when Target1Offset placed limit order is triggered ? |