Login Page - Create Account

Support Board


Date/Time: Wed, 08 May 2024 04:00:14 +0000



Dom columns General Purpose 1 & 2

View Count: 2725

[2017-09-11 23:56:19]
onnb - Posts: 661
Global Trade Settings Windows: General Purpose 1 / General Purpose 2

The docs mention that these might be used with GDI to draw.

Do you have an approach in mind on how to get window coordinates for some cell at some price level?
Would you be providing some api like the window handle to each cell?
[2017-09-12 20:34:20]
Sierra Chart Engineering - Posts: 104368
There is only a single window handle to the entire chart window.

There are no handles to individual cells. There is no way the Windows operating system could handle that and it is inefficient anyway.

You will need to use this function:
sc.RegionValueToYPixelCoordinate()

You can use these variables to get the left and right coordinates of the Values Scale:
ACSIL Interface Members - Variables and Arrays: sc.RightValuesScaleLeftCoordinate

But probably you would need the exact coordinates of those columns and we can see about adding variables for those.
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
[2017-09-20 22:59:29]
onnb - Posts: 661
Can you create an api that returns the coordinates of any column or the coordinate of any cell?

Something like this:

GetDomCellCoordinates(Column, Price, Coordinates)
and/or
GetDomColumnCoordinates(Column, Price, Coordinates)

Anything similar to that in nature where we could know the location and boundaries of any cell would be great.
[2017-09-21 05:08:13]
Sierra Chart Engineering - Posts: 104368
You can figure this out once we add the left and right x/horizontal coordinates of these additional columns. And by using the function linked to in post #2 above.
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
[2017-09-21 05:25:52]
onnb - Posts: 661
True

We are looking to draw with the gdi on other columns too so if you can add an api to retrieve left/right coordinates for any column that would be helpful
[2017-09-21 05:37:46]
Sierra Chart Engineering - Posts: 104368
OK we will make a note of that.
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
[2017-09-21 18:08:26]
onnb - Posts: 661
Do you have an ETA or target build # for this?
[2017-09-21 18:19:10]
Sierra Chart Engineering - Posts: 104368
No. But we would expect it to be within 90 days.
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
[2017-10-02 02:19:47]
onnb - Posts: 661
hi - just checking in to see if you have an update on this?

(Looking for a more concrete ETA if possible)
[2017-10-02 17:09:04]
Sierra Chart Engineering - Posts: 104368
It is not possible for us to give any estimated time unless it is urgent and then we just have to just work on it and get it done in the next couple of days. Let us know how urgent this is.

Otherwise, it could go on for months.
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
Date Time Of Last Edit: 2017-10-02 17:09:26
[2017-10-02 19:11:49]
onnb - Posts: 661
Ok, before answering the urgency, have another question

In the dom chart, I can add "Current Traded Ask Volume" and "Current Traded Bid Volume"
Is there an api to access those?
[2017-10-03 04:17:11]
Sierra Chart Engineering - Posts: 104368
No, but we can add that in the next 2 to 3 days.

We will do that.
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
[2017-10-03 04:42:16]
onnb - Posts: 661
Very cool

Circling back to original requirement - yes it is a bit urgent, we will start using it the moment its out.

I think you understand what we need but repeating it here
We need some api to receive the bounds of a cell for any visible column/price level so that we can draw in it using gdi.
[2017-10-03 09:27:20]
Sierra Chart Engineering - Posts: 104368
We should have all of this out by the end of the day today.
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
[2017-10-04 01:25:52]
onnb - Posts: 661
What build is this going to be in?
Can you add a few words on the new api?
[2017-10-04 04:52:40]
Sierra Chart Engineering - Posts: 104368
It is in version 1620.

These are the new functions:

  // 1619
  int (SCDLLCALL* GetDOMColumnLeftCoordinate)(n_ACSIL::DOMColumnTypeEnum DOMColumn);
  int (SCDLLCALL* GetDOMColumnRightCoordinate)(n_ACSIL::DOMColumnTypeEnum DOMColumn);

  // 1620
  uint32_t (SCDLLCALL* GetCurrentTradedBidVolumeAtPrice)(float Price);
  uint32_t (SCDLLCALL* GetCurrentTradedAskVolumeAtPrice)(float Price);

Documentation will come as soon as possible.
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
[2017-10-05 17:33:35]
onnb - Posts: 661
Just reporting back works great

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

Login

Login Page - Create Account