Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 08:54:27 +0000



NBCV "Subgraphs Display Order (comma seperated)" with ACSIL

View Count: 1787

[2014-01-27 18:53:53]
onnb - Posts: 662
hi, I am using the GDT_NUMERIC_INFORMATION and need to implement the above feature available in the NBCV study. Is there an api for specifying for each SG the order that it should appear in the table? Is it possible to implement this feature within an ACSIL study?

Onn
[2014-01-27 23:08:42]
Sierra Chart Engineering - Posts: 104368
You have to do this within the ACSIL function by altering the order of using the sc.Subgraph[].Data arrays. sc.Subgraph[0] will always be displayed at the top of the table. So you have to place into that Subgraph, the data you want to be at the top.
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: 2014-01-28 10:09:14
[2014-01-27 23:48:03]
onnb - Posts: 662
That is possible but....with the built in study, when I change the order of the lines, the SG's stay the same. That means that if I have a spreadsheet setup, it is decoupled from the display and any references/formulas will continue to work even if I change the order. With this approach, will the subgraphs change columns in the spreadsheet?
[2014-01-27 23:55:49]
Sierra Chart Engineering - Posts: 104368
The subgraphs will not change on the Spreadsheet but they will contain different data.

The idea is you change the data within the Subgraphs.
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
[2014-01-28 00:23:25]
onnb - Posts: 662
Just want to make sure I got this right - if I have formulas in the spreadsheet and I change the sg values to get a different ordering, I also need to update the spreadsheet formulas as now the references need to change (because some column in the spreadsheet that was previously showing one value is now showing another). This does not happen with the built in NBCV study - right?
[2014-01-28 10:07:39]
Sierra Chart Engineering - Posts: 104368
Yes, this is true as it currently works.

No, I do not think this would happen with the built-in Numbers Bars Calculated Values study because that may actually change the draw order only.

So thinking about this some more, let us get back to you and see if we can provide the interface to control the drawing order.
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: 2014-01-28 10:10:51
[2014-01-28 21:14:59]
Al SC Developer - Posts: 434
In ver 1086, there will be a new call:

sc.SetNumericInformationDisplayOrderFromString)(const SCString& CommaSeparatedDisplayOrder);
Call this with a comma separated string with the subgraph indexes in the order that you want to display. For example, "5,4,1,2" would display subgraphs in the order given. Any enabled subgraphs left out of the string will be appended to the end in their natural order.
Date Time Of Last Edit: 2014-01-29 05:22:58

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

Login

Login Page - Create Account