Login Page - Create Account

Support Board


Date/Time: Sat, 05 Jul 2025 00:21:20 +0000



How I can write/access info from the Dom columns General Purpose 1 & 2

View Count: 1939

[2019-07-19 23:30:19]
User145885 - Posts: 15
Hello .Is there anyone kind enough to guide me on how I can write and access info from the Dom columns General Purpose 1 & 2 using acsil
Thanks in advance
Bill
[2019-07-23 02:42:25]
Sierra Chart Engineering - Posts: 104368
Refer to the documentation here about this:
ACSIL Interface Members - Functions: sc.GetDOMColumnLeftCoordinate()
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
[2019-07-23 22:57:57]
User145885 - Posts: 15
Thanks for your response."Refer to the documentation here about this:
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html#scGetDOMColumnLeftCoordinate"

I know that with those functions you mentioned on your post I can get the coordinates left and right from the DOM, but maybe it was my mistake not to be more specific.

I understand that using the following I can use the label column to display/access StackPullValueAtPrice
MyGraphBid.DrawStyle = DRAWSTYLE_SUBGRAPH_NAME_AND_VALUE_LABELS_ONLY;
MyGraphBid.LineLabel = LL_DISPLAY_VALUE | LL_VALUE_ALIGN_DOM_LABELS_COLUMN | LL_DISPLAY_CUSTOM_VALUE_AT_Y;
int StackPullValueBid = sc.GetBidMarketDepthStackPullValueAtPrice(sc.Bid);

With the function that you mentioned in your post I know that I can get the X left and right coordinate from different columns from the DOM
int GeneralPurposeColumnLeft = sc.GetDOMColumnLeftCoordinate(n_ACSIL::DOM_COLUMN_PRICE);
1)What I dont know is how to get the info from the DOM columns using those coordinates
also
2)What I dont know is how to write in the
DOM_COLUMN_GENERAL_PURPOSE_1
DOM_COLUMN_GENERAL_PURPOSE_2
columns and then access the info using those coordinates.
Is there a function to get those values like we can do it with the dom_labels_column?
Can you help me on how to accomplish what I am looking for?
Thanks in advance
Bill
[2019-07-25 08:30:24]
Sierra Chart Engineering - Posts: 104368
1. There is not a way to do this. You can only programmatically access the coordinates.

2. You can only draw in them using the Windows GDI which is documented here:
ACSIL Programming Concepts: Custom Free Form Drawing into Chart Window Using GDI (Graphics Device Interface)

And there is not a way to access any values in those columns. They can only be drawn into by using the Windows GDI.
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

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

Login

Login Page - Create Account