Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 16:32:15 +0000



SCDateTimeMS can not be used with SCDateTime& sc.GetPersistentSCDateTime

View Count: 796

[2016-09-22 15:00:38]
marcovth - Posts: 61
Hello ...

I would like to keep a SCDateTimeMS in memory, but I can't use SCDateTimeMS with SCDateTime& X= sc.GetPersistentSCDateTime(1);

And sc.GetPersistentSCDateTimeMS doesn't seem to exist.

Are there any alternatives?

Thanks.
[2016-09-22 17:05:44]
Sierra Chart Engineering - Posts: 104368
We have explained this here:
http://www.sierrachart.com/index.php?page=doc/SCDateTime.html#SCDateTimeMillisecondVariables
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
[2016-09-23 15:15:20]
marcovth - Posts: 61
Thanks for the info.

Can a SCFloatArrayRef Time = Arrays1.Arrays[1] field store a double, or only a float?

Edit: I guess I figured it out ... SCDateTimeArrayRef this should then be an array of doubles?
Date Time Of Last Edit: 2016-09-23 15:18:41
[2016-09-23 16:51:09]
Sierra Chart Engineering - Posts: 104368
Only a float.

SCDateTimeArrayRef this should then be an array of doubles?
Yes, but this is not available for a study. Only for the main price graph and it is being used by the chart. You cannot change it.
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

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

Login

Login Page - Create Account