Login Page - Create Account

Support Board


Date/Time: Mon, 14 Jul 2025 20:09:23 +0000



Post From: What does a General order error mean when the Trade Service Log does not contain anything?

[2021-11-09 13:43:21]
ycomp - Posts: 324
Trade Acitivty Log shows nothing for the account / symbol the indicator is running on

Global Simulation mode on

sc.SendOrdersToTradeService = false;

s_SCNewOrder NewOrder;
NewOrder.OrderQuantity = 1;
NewOrder.OrderType = SCT_ORDERTYPE_LIMIT; // (but I tried with market also)
NewOrder.Price1 = masterParentOrder.Price1;
NewOrder.TimeInForce = SCT_TIF_GOOD_TILL_CANCELED;

sc.BuyEntry(NewOrder, sc.UpdateStartIndex); // but I also tried with auto-looping disable sc.BuyEntry(NewOrder); // same error and blank service log

Date Time Of Last Edit: 2021-11-09 13:44:21