Login Page - Create Account

Support Board


Date/Time: Wed, 14 May 2025 06:57:26 +0000



sc.GetContainingIndexForSCDateTime function issue

View Count: 760

[2016-04-13 14:33:38]
Johnny - Posts: 99
Hello, I'm having issues with the sc.GetContainingIndexForSCDateTime function, in some cases it doesn't return the correct index. Can I send you the chartbook that I'm using because it will be difficult to identify this otherwise?
Date Time Of Last Edit: 2016-04-13 15:56:11
[2016-04-13 16:41:54]
Johnny - Posts: 99
My apologies, I investigated this further and I found out that there was an error in the code that was causing these issues. There's nothing wrong with the function itself.
[2016-04-13 16:45:40]
Sierra Chart Engineering - Posts: 104368
We do not provide programming help. There cannot be any problems with this function.

It is extensively used in Sierra Chart. There either must be a misunderstanding or the problem is in your code.

Make sure there are no out of order timestamps in the chart. Refer to:
https://www.sierrachart.com/index.php?page=doc/doc_TechnicalStudiesReference.html#s124
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
Date Time Of Last Edit: 2016-04-13 16:46:30

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

Login

Login Page - Create Account