Login Page - Create Account

Support Board

Date/Time: Wed, 21 Oct 2020 04:31:37 +0000

Market Depth Historical Graph Study Drawing Over Automatically Rectangles

[2020-09-22 21:36:41]
User120942 - Posts: 53 | Ending Date: 2020-10-31
@Sierra Chart Engineering

I am using Sierra Chart Version 3168 and working with onn@trade29.com to create a custom study that automatically draws rectangles using the Sierra Chart Drawing API (the same API that is used to manually draw rectangles on the chart via the rectangle tool), not the GDI Api.

The issue we are having is that Market Depth Historical Depth Graph study has priority over the style used to draw the rectangles. This is preventing the drawings from being overlayed on the Market Depth Historical Graph study. As a result when the Market Depth Historical Graph study is added to the chart the rectangles are covered by the Market Depth Historical Graph and cannot be viewed with the Market Depth on the chart as intended.

We've tried the check box for "Draw Study Underneath Main Price Graph" on and off for both the custom study and the Market Depth Historical Graph Study. And also tried the "Draw Advanced Custom Study Drawings Above Other Drawings" setting in Chart Setting > Advanced Settings. We were unable to resolve the overlay issue with either setting. See attached image for example.

Is there something that can be done on your end to resolve this matter?

Your assistance is greatly appreciated.

Thank You
imageRectangles Without Market Depth Historical Graph .png / V - Attached On 2020-09-22 21:29:59 UTC - Size: 62.55 KB - 31 views
imageRectangles Hidden by Market Depth Historical Graph.png / V - Attached On 2020-09-22 21:30:07 UTC - Size: 132.68 KB - 22 views
[2020-09-23 05:08:36]
Sierra Chart Engineering - Posts: 90556 | Ending Date: 2021-04-05
How are those rectangles drawn? Are they considered Chart Drawings? It looks like they are drawn by Study Subgraphs.

Performing a quick test, we are not seeing any issue and Study Subgraph Draw Style rectangles are shown above by default:
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2020-09-23 19:11:53]
onnb - Posts: 578 | Ending Date: 2020-11-29
How are those rectangles drawn? Are they considered Chart Drawings?

Chart Drawings
[2020-09-25 04:30:29]
User120942 - Posts: 53 | Ending Date: 2020-10-31
@Sierra Chart Engineering

The Rectangles are drawn with Chart Drawings. In this custom study the Market Depth Historical Graph draws over the chart drawing rectangles. Is there something that can be done to resolve this so that the chart drawing rectangles overlay above the Market Depth Historical Graph?

Thank You
[2020-09-25 14:03:43]
John - SC Support - Posts: 2906 | Ending Date: 2020-10-31
Then we have to ask the basic question - is the option for Draw Highlight Drawings Underneath Main Graph and Studies enabled? You want to have this disabled. Refer to the information here:
[2020-09-25 16:02:41]
User120942 - Posts: 53 | Ending Date: 2020-10-31
@John - SC Support

Yes, the "Draw Highlight Drawing Underneath Main Graph and Studies" setting was enabled. Unchecking the check box corrected the issue and the drawings now appear above the "Market Depth Historical Graph" as intended.

Your assistance is much appreciated.

Thank You

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


Login Page - Create Account