Support Board
Date/Time: Thu, 27 Feb 2025 19:38:54 +0000
Post From: IsReplayRunning() incorrect on last bar
[2021-07-23 09:13:24] |
|
The problem is not reproducible at all. It is fairly involved to go through these tests, and this is why it was set aside until we had a chance. These tests were done with Accurate Trading System Back test Mode: Replaying Charts: Replay Mode This is with automatic looping: Chart: NQU21-CME[M] 10 Min #1 | Study: Test Function 2 | FinishedStatus. Index=212. ArraySize=213 | 2021-07-23 05:12:51.234 This is with manual looping: Chart: NQU21-CME[M] 10 Min #1 | Study: Test Function 7 | FinishedStatus. Index=202. ArraySize=203 | 2021-07-23 03:30:30.977 These messages occur just once at the end of the replay. And also understand the indexes are zero-based and will always have a value 1 less compared to the array size but they occur on the final bar. int FinishedStatus = sc.GetReplayHasFinishedStatus();
if (FinishedStatus) { SCString Message; Message.Format("FinishedStatus. Index=%d. ArraySize=%d", sc.Index, sc.ArraySize); sc.AddMessageToLog(Message, 0); } 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, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2021-07-23 09:14:19
|