Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 08:53:28 +0000



Custom DLL issue after updating to new version 2201

View Count: 582

[2020-11-27 19:18:48]
SAI Elite - Posts: 12
I've installed the latest version (2201) and when I try to add a custom study (SAI Refined Daily) from the SAI_64 DLL the log says that the DLL needs to be recompiled. I recompiled the DLL and restarted SC (compiled both remotely and using VS). I get the same DLL needs to be recompiled message. I can load 2 other studies that are in that DLL no problem but 3 studies give that recompile message.

This all was working with prior version (I think it was 2154)
[2020-11-27 19:24:26]
Ackin - Posts: 1863


2195 Release Date: 2020-11-11

New setting in Customize Chart/Trade DOM Columns called Use Size Suffix. When enabled for a column, the size data for that column will be displayed using the Large Integer with Suffix format.
New Input on Market Depth Historical Graph named Automatic Combine Increment Adjustment Value which, when set to a value greater than 5, will allow the Market Depth Historical Graph to automatically combine/disjoin increments as the chart scale is changed.
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.
Continued development related to downloading historical market depth data.

https://www.sierrachart.com/index.php?page=doc/Whats_New.php#SCVer2195
Date Time Of Last Edit: 2020-11-27 19:24:43
[2020-11-27 21:32:36]
SAI Elite - Posts: 12
OK.

Did you eliminate the 32 bit version of SC?

I see now that when I run SierraChart.exe I get the 64 bit version.


Question: The SAI DLL has a version in the filename SAI_2151_64.dll, Should that be changed to SAI_2195_64.dll ?
Date Time Of Last Edit: 2020-11-27 21:38:31
[2020-11-27 22:51:19]
Ackin - Posts: 1863
Did you eliminate the 32 bit version of SC?
The last 32-bit version was 2175/2176.
[2020-11-28 00:58:52]
SAI Elite - Posts: 12
I checked my code and it does not use any of the functions specified in the 2195 release notes.

Recompiling did solve the issue although I am still wondering why.

As a 3rd party vendor I need to understand if the version # in the dll's filename needs to be changed in the DLL we supply or can it be left at 2151.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account