Support Board
Date/Time: Mon, 25 Nov 2024 14:31:14 +0000
[User Discussion] - ACSIL - Reading Graph arrays
View Count: 1095
[2014-02-07 22:21:52] |
ejtrader - Posts: 688 |
SC Team - Have couple of questions in this area and appreciate if you can provide some input: Question 1: Is it possible to have a single study inserted in GraphRegion=0 to draw something in GraphRegion=1? I would think this is not possible, but thought of asking this. Question 2 ( with the assumption that answer to question 1 is going to be "NO"): I am trying to use same DLL for 2 studies. study1 - sc.GraphRegion=0; study2 - sc.GraphRegion=1; All the calculations and graph information is being calculated in study1 ( no repaints involved - only values changed are expected for the last bar ). Study2 - just need to fetch few of the graphs & (potentially)internal arrays information from study1. What functions you can recommend for this purpose? CPU efficiency is very important and is the reason NOT to calculate anything as part of study2 as they are already calculated in study1. Thanks Date Time Of Last Edit: 2014-02-07 22:25:33
|
[2014-02-07 22:40:09] |
Sierra Chart Engineering - Posts: 104368 |
Relevant documentation: https://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scGraphRegion https://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members_Functions.html#scGetStudyArrayUsingID https://www.sierrachart.com/index.php?l=doc/doc_ACSIL_Members_Functions.html#scGetStudyExtraArrayFromChartUsingID 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-02-08 17:00:24] |
ejtrader - Posts: 688 |
SC Team - Thanks for the reply. I am adjusting the code accordingly. Wondering if there is a function available to use the SubgraphName instead of ID. This would allow me the flexibility to change the subgraph order in the main program as needed. sc.GetStudyArrayUsingID() SCSubgraphRef SG = sc.Subgraph[0];
is it possible to pull the information by "SGTEST" rather than specifying the ID as '0' ?SG.Name = "SGTEST"; Thanks Date Time Of Last Edit: 2014-02-08 17:28:46
|
To post a message in this thread, you need to log in with your Sierra Chart account: