Login Page - Create Account

Support Board


Date/Time: Fri, 09 May 2025 21:51:11 +0000



Custom Study Compiles but Not Recognized or Executed in Chart Replay Mode

View Count: 52

[2025-05-09 00:25:00]
User867930 - Posts: 4
Hello Sierra Chart Support,

I’m encountering a persistent issue when developing and compiling a custom study (VectorAI) using ACSIL. The study compiles successfully from the ACS_Source directory and appears in the list of available studies. However, when added to a chart and run in Chart Replay mode:

No trades are executed

No trade activity is logged

No markers are displayed

The Trade Activity Log and Trade Orders windows remain blank

Here’s what I’ve confirmed so far:

Study compiles with no errors using Visual C++ release build

sc.AllowOnlyOneTradePerBar and sc.MaintainTradeStatisticsAndTradesData are set to true

All auto trading settings are enabled: Global, Chart, Simulation Mode, and Chart Trade Mode

Chart Replay Mode is properly set up and active

The chart displays the signal overlay (e.g., SMA) correctly

Symbol used is ESM25 with a valid chartbook and data loaded

Trade simulation settings are properly configured

Tick size, quantity, and order structure are verified

All Chart Settings (Trading tab) and Global Settings are correctly configured

I’ve even tested different file names (e.g., MinimalPlaybackTest.cpp) with identical code, and sometimes it works once, then fails under the same setup.

Could you help us determine why the compiled strategy fails to trigger trades or register any simulation activity during replay?

Thank you for your help.

Paul Strickland
Ironbeam User – Teton Order Routing Enabled
Live feed authorized (awaiting real-time confirmation)
attachmentVectorAITestPlayback.cpp - Attached On 2025-05-09 00:17:53 UTC - Size: 1.89 KB - 6 views
[2025-05-09 09:22:05]
Sierra_Chart Engineering - Posts: 19535
This is not within the scope of our support.

We would recommend doing debugging:
Step-By-Step ACSIL Debugging
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2025-05-09 09:22:14
[2025-05-09 09:23:40]
User431178 - Posts: 669
The code in VectorAITestPlayback.cpp does not compile, it has the same problem as the code in your other post - Custom Study Compilation Fails —

The attached modified code compiles and works.
I added notes into the code too show what is different.
attachmentVectorAITestPlayback.cpp - Attached On 2025-05-09 09:22:53 UTC - Size: 2.4 KB - 13 views

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

Login

Login Page - Create Account