Login Page - Create Account

Support Board


Date/Time: Thu, 26 Jun 2025 22:22:54 +0000



Could We Have Some Example Code In The Documentation For sc.StartChartReplayNew?

View Count: 583

[2021-11-05 16:14:13]
maxpi - Posts: 183
how to fill in the replay parameters?
[2021-11-06 21:15:25]
maxpi - Posts: 183
The following code won't build:

n_ACSIL::s_ChartReplayParameters replayParameters;
replayParameters.ReplayMode = REPLAY_MODE_CALCULATE_AT_EVERY_TICK;
[2021-11-07 10:29:46]
User907968 - Posts: 840
ChartReplayModeEnum (and therefore REPLAY_MODE_CALCULATE_AT_EVERY_TICK) is not in global scope, as such you would need to use namespace qualifier.

replayParameters.ReplayMode = n_ACSIL::REPLAY_MODE_CALCULATE_AT_EVERY_TICK;

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

Login

Login Page - Create Account