Login Page - Create Account

Support Board


Date/Time: Mon, 03 Mar 2025 21:40:15 +0000



Issue with GetMainGraphVisibleHighAndLow when not connected

View Count: 579

[2021-07-31 10:16:48]
gomifromparis - Posts: 244
Hi,

This is an old issue, that appeared quite some time ago.

If there is no data connection and we show on the chart more bars than the last existing bar (scrolling to the right), the GetMainGraphVisibleHighAndLow return false values (here a negative value)

However if we connect to a data source the issue goes away.

It used to work as expected but this bug appeared one day.

Thanks
imagesierra1.png / V - Attached On 2021-07-31 10:15:48 UTC - Size: 39.16 KB - 222 views
imagesierra2.png / V - Attached On 2021-07-31 10:15:53 UTC - Size: 70.08 KB - 222 views
Attachment Deleted.
[2021-08-01 01:04:40]
Sierra Chart Engineering - Posts: 104368
We will look into this.
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
[2021-11-05 19:18:23]
Sierra_Chart Engineering - Posts: 18631
We tried multiple times to reproduce this and could not. There is no obvious reason why it would occur.
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
[2021-11-06 22:22:05]
gomifromparis - Posts: 244
Hi,

I'm very sorry for this, I should have posted a complete example with a study.
I tried to reproduce with a simple study like you did and couldn't.

After retracing in my own code, it had to do with sc.Bid and and sc.Ask equal to 0 when the feed is not connected, so my scaling functions scaled the chart starting at 0, and so the GetMainGraphVisibleHighAndLow got negative (because of the margins)

Again, very sorry you had to spend some time on this, and thanks for your continuing support efforts !

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

Login

Login Page - Create Account