Login Page - Create Account

Support Board


Date/Time: Sat, 01 Mar 2025 13:27:02 +0000



*Potentially* Found a Bug Related To the Bid & Ask Depth Bars Study

View Count: 567

[2021-10-04 01:02:30]
TrumpTradesOil - Posts: 8
Hey there!

Apologies if this is either already known or the Bid & Ask Depth Bars study subgraphs are not intended to be referenced in a custom study, but I'm seeing a decently impactful *potential* bug.

For example, if you set Bid & Ask Depth Bars to "Sum Ask Side" and reference the close like so:


SCGraphData AskDepthStudyData;
sc.GetStudyArraysFromChartUsingID(2, 2, AskDepthStudyData);
SCFloatArrayRef ADC = AskDepthStudyData[3];

I'm getting a cpu exception that after a few seconds crashes the chart. I've commented out all other code in my study and this is the specific line that causes the crash. It also works just fine with the "Sum Bid Side" setting.

Maybe this is related to the close being retroactively updated to the open of the next depth bar? Noticed this when digging through the ACSIL depth data and comparing it to the data on chart.

Anywho, hope this helps and apologies if this was something already known or I shouldn't be referencing this study's subgraphs in a custom study!

Thanks and God bless :)
Date Time Of Last Edit: 2021-10-04 01:04:27
[2021-10-04 02:46:01]
Sierra Chart Engineering - Posts: 104368
We see no reason why that code would cause an exception.

Seems unlikely we would be able to reproduce.

Are you compiling using a Remote Build or using Visual C++?
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-10-04 17:10:03]
TrumpTradesOil - Posts: 8
I used a remote build! I'm able to reproduce this consistently.
[2021-10-06 13:42:19]
Sierra_Chart Engineering - Posts: 18607
Provide us the complete source code file, the minimum amount which is causing the issue and we will test.
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
Date Time Of Last Edit: 2021-10-06 13:42:25

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

Login

Login Page - Create Account