Login Page - Create Account

Support Board


Date/Time: Fri, 18 Apr 2025 04:27:45 +0000



Post From: Strategy Not Executing Trades with 2 Contracts (Works with 1 Contract)

[2025-04-02 14:51:27]
User936941 - Posts: 28
I think I found the culprit. Needed to add these:

sc.SupportAttachedOrdersForTrading = true;
sc.CancelAllWorkingOrdersOnExit = true;
sc.MaximumPositionAllowed = 10;
sc.AllowEntryWithWorkingOrders = true;
sc.AllowOnlyOneTradePerBar = false;