Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 04:09:10 +0000



Trouble with sc.ConvertDateTimeFromChartTimeZone

View Count: 418

[2020-12-04 10:05:14]
User196369 - Posts: 41
Hello

The function sc.ConvertDateTimeFromChartTimeZone(sc.CurrentSystemDateTimeMS, TIMEZONE_LONDON) is returning zero. Not sure when this broke but it was working fine up until recently.

Can you confirm if there is a problem?
[2020-12-04 10:11:25]
Sierra Chart Engineering - Posts: 104368
Have you recompiled the custom study which uses this function on the current version of Sierra Chart. Make sure to do that.

It would return 0 if the custom study was compiled for an older version of Sierra Chart.
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
[2020-12-04 10:28:04]
User196369 - Posts: 41
It was compiled on 2204 but wouldn't work

Just updated to 2206 and now working fine

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

Login

Login Page - Create Account