Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 18:08:05 +0000



DOM with invalid symbol remains in sc.Index zero

View Count: 363

[2022-06-10 07:47:05]
@sstfrederik - Posts: 403
Hi,

When a DOM is loaded with an invalid symbol for the connected trade service the sc.Index stays zero, this is causing issues with custom studies that are loaded on the DOM and do not expect this behavior.

Can this be solved?

Thanks
[2022-06-12 19:49:58]
Sierra_Chart Engineering - Posts: 14013
We are not understanding this.

However, there will be one bar allocated in a Trading DOM even for an invalid symbol. And this is not something we can change.

Sierra Chart cannot know what is a valid symbol.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2022-06-13 17:44:28]
@sstfrederik - Posts: 403
I solved this in my code, but when an invalid symbol is loaded the DOM stays stuck in sc.Index = 0 while a regular chart does not. As sc.Index == 0 is generally used as a trigger point for initial calculations, variable initialization or resets it might be a consideration to have similar behavior as with a regular chart.
Date Time Of Last Edit: 2022-06-13 17:45:40

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

Login

Login Page - Create Account