Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 05:42:01 +0000



GetStudyExtraArrayFromChartUsingID

View Count: 1099

[2015-03-05 16:44:16]
User53601 - Posts: 105
Hello,

I try to display a Value from study in other chart with this code:

SCFloatArray ExtraArrayFromChart ;
sc.GetStudyExtraArrayFromChartUsingID(2, 17, 2, 4, ExtraArrayFromChart);

TextDelta3.Format("Value: %d \n", ExtraArrayFromChart[1] ); // integer value


However seems not doing what I am expecting.

I am not sure whether to use SCFloatArray or SCFloatArrayref.


I see different definitions:

Here with SCFloatArray
http://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Functions.html#scGetStudyExtraArrayFromChartUsingID

and here with SCFloatArrayRef - in 1000 Release Date: 2013-07-26
http://www.sierrachart.com/index.php?page=doc/Whats_New.php&p=4

Thank you
[2015-03-06 19:06:17]
Sierra Chart Engineering - Posts: 104368
You will need to use SCFloatArray.

Also do you really want to get one of the extra arrays or one of the Subgraph arrays?
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
[2015-03-08 20:04:57]
User53601 - Posts: 105
thank you, helped.

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

Login

Login Page - Create Account