Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 02:30:11 +0000



Post From: sc.GetTimeAndSales empty during replay

[2014-03-13 07:56:51]
Perseus - Posts: 30
Thanks SC, I look forward to the update.

Regarding milliseconds, the problem I was having was not with the use of the function. I am using SCDateTime::GetMilliSecond() and it is working just fine when used with sc.BaseDateTimeIn[sc.Index] for example. It is only when using the function like below that I am not getting the correct millisecond value (all charts based on the same symbol):

sc.GetChartDateTimeArray(5,TimeArray);
SCDateTime dt2 = (float)TimeArray[RefChartIndex];
dt2.GetMilliSecond();

Only mS are missing from dt2. Hours, minutes, seconds etc are retrieved without any problems.