Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 04:54:29 +0000



Post From: GetStudyExtraArrayFromChartUsingID

[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