Login Page - Create Account

Support Board


Date/Time: Sun, 07 Aug 2022 15:26:18 +0000



Post From: Ackin's indicators (SCH users requests for studies) - Update list

[2020-11-13 19:21:47]
Ackin - Posts: 1800


The return type for the following ACSIL functions has been changed from a double type to SCDateTimeMS. Previously this was not done when the new integer based SCDateTime/SCDateTimeMS were released since using these types as a return value would lead to an invalid return value when using other compilers other than Visual C++. We have tested again with the compiler used for the Sierra Chart Remote Build functionality and do not observe any problem with this. So we have now changed the return type to SCDateTimeMS. It was necessary to make this change because there is a small degree of floating-point error when using a double type that would lead to a time value being off by a microsecond which can cause a problem when that is not expected. Therefore, any ACSIL study which uses these functions needs to be recompiled for version 2195 or higher. If the study is not recompiled, then the functions will do nothing and add an error message to the Sierra Chart Message Log.:

sc.GetStartDateTimeForTradingDate, sc.GetTradingDayStartDateTimeOfBar, sc.ConvertDateTimeToChartTimeZone, sc.DateStringToSCDateTime, sc.AdjustDateTimeToGMT, sc.TimePeriodSpan, sc.TimeStringToSCDateTime, sc.DateStringDDMMYYYYToSCDateTime, sc.CalculateTimeSpanAcrossChartBars, sc.GetEndingDateTimeForBarIndex, sc.GetEndingDateTimeForBarIndexFromChart, sc.ConvertDateTimeFromChartTimeZone, sc.ConvertDateTimeFromChartTimeZone.

https://www.sierrachart.com/index.php?page=doc/Whats_New.php#SCVer2195


Version 2195 can cause problems with some studies (in previous versions they work fine and in the last not for example:
Yesterday last SG value)

Please do not upgrade to the latest version, I will try to solve it over the weekend.

This applies to the Free2019 and Free2020 libraries so more than 800 users. It will be given priority over new developments.
I apologize for the complications associated with it.
Date Time Of Last Edit: 2020-11-13 19:23:35