Support Board
Date/Time: Sat, 27 Apr 2024 04:32:19 +0000
I need an ACSIL "Date/Time right now" function
View Count: 2121
[2015-08-18 07:45:25] |
bjohnson777 (Brett Johnson) - Posts: 284 |
***SUBJECT: I need an ACSIL "Date/Time right now" function. ...sorry, subject line got mangled somehow and I can't change it after the post. In working on my ACSIL multi function exit program, I've noticed that the last bar in the chart may not be "right now", especially on a slow moving stock that may not have activity for minutes at a time. I need a "date/time right now" function to return a SCDateTime variable to get around this limitation. I can't find it on the SCDateTime doc page, so I'm guessing it doesn't exist yet. If it does and I missed it, please link me. I've been experimenting with the native C time_t in gmtime() and localtime(), but I've been running into time zone problems I don't want to expose the world to when I eventually release this program. Thanks Date Time Of Last Edit: 2015-08-18 07:47:02
|
[2015-08-18 10:10:36] |
Sierra Chart Engineering - Posts: 104368 |
Refer to: https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scCurrentDateTime 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 |
[2015-08-19 04:16:57] |
bjohnson777 (Brett Johnson) - Posts: 284 |
Thanks, that got things working nicely. Can I request the Date/Time functions on that page be linked to the SCDateTime doc page to help keep things together? |
[2015-08-20 04:47:34] |
Sierra Chart Engineering - Posts: 104368 |
Yes we can do that.
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: