Login Page - Create Account

Support Board


Date/Time: Tue, 16 Sep 2025 01:30:55 +0000



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

View Count: 616

[2021-11-05 16:14:13]
maxpi - Posts: 188
how to fill in the replay parameters?
[2021-11-06 21:15:25]
maxpi - Posts: 188
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: 844
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