Support Board
Date/Time: Tue, 04 Nov 2025 02:01:23 +0000
Post From: Stop Order Not Working in ASCIL
|   [2024-05-21 16:25:40]     |  
| User431178 - Posts: 805 | 
| 
                What about the trade service log window, did you check that for error messages? int Result = sc.SellEntry(NewOrder); What is the value of result after you attempt order entry? int StopResult = sc.SellEntry(StopOrder); Similarly, what is the value of StopResult? if (result < 0) sc.AddMessageToTradeServiceLog(sc.GetTradingErrorTextMessage(result), 0, 1); What are these variables set to? sc.AllowOnlyOneTradePerBar sc.AllowOppositeEntryWithOpposingPositionOrOrders sc.AllowEntryWithWorkingOrders Slightly off topic, but is there a particular reason you don't send the stop attached with the entry?  | 
        
