Login Page - Create Account

Support Board


Date/Time: Mon, 03 Mar 2025 21:56:26 +0000



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

View Count: 522

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