Login Page - Create Account

Support Board


Date/Time: Tue, 15 Apr 2025 14:04:00 +0000



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

View Count: 53

[2025-04-02 01:12:01]
User936941 - Posts: 28
I’m having an issue with an ACSIL automated trading strategy. The strategy (ICTTradingStrategyV8) executes trades correctly in simulation mode (Sim1) with 1 contract, but when updated to 2 contracts (ICTTradingStrategyV10), no trades execute despite same exact trading logic.
Details:
Environment: Sierra Chart Sim1, replaying March 10–April 1, 2025, at 1500x speed (Accurate Back Test Mode), MNQM25-CME symbol.

V8 (1 contract): Works as expected.

V10 (2 contracts): Signals (Buy=1 or Short=1) appear in logs, but no trades execute. Trade Window set to 2 contracts with Attached Orders (Target: 100 ticks, Qty 2; Stop: 300 ticks, Qty 2).

Troubleshooting: Confirmed signals match V8, Trade Simulation Mode is on, no position limits set, no rejection messages in logs (V8 code doesn’t log failures).

Request: Can you help identify why V10 isn’t executing trades? Are there simulation mode restrictions or Trade Window settings I’m missing? How can I log order rejections in ACSIL? I’ve attached ICTTradingStrategyV8.cpp and ICTTradingStrategyV10.cpp for reference.
Private File
Private File
Attachment Deleted.
[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;

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account