Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 06:51:01 +0000



sc.GetStudyArrayFromChartUsingID

View Count: 881

[2015-04-24 22:34:55]
CustomIndicators - Posts: 126
I'm trying to make a manual loop that checks conditions on every chart I have up. For this, it would be easier if I could just specify the chart number outside of the defaults.

Instead of this:
SCInputRef StudySubgraphReference = sc.Input[0];

if (sc.SetDefaults)
{
StudySubgraphReference.Name = "Study And Subgraph To Display";

StudySubgraphReference.SetChartStudySubgraphValues(1,1, 0);
return;
}

SCFloatArray StudyReference;
sc.GetStudyArrayFromChartUsingID(StudySubgraphReference.GetChartStudySubgraphValues(), StudyReference);

Can I just use this?:
SCFloatArray StudyReference;
int chartNumber = 1;
sc.GetStudyArrayFromChartUsingID(chartNumber, 1, 0, StudyReference);

[2015-04-25 06:16:32]
Sierra Chart Engineering - Posts: 104368
We see what you want to do.

This function will be added to the next release:
void sc.GetStudyArrayFromChartUsingID(int ChartNumber, int StudyID , int SubgraphIndex, SCFloatArrayRef SubgraphArray)

We will try to have this out in one or two more 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
[2015-04-25 21:23:48]
CustomIndicators - Posts: 126
Thank you! That should help me out a lot. I appreciate it. :)
[2015-04-28 16:10:38]
CustomIndicators - Posts: 126
I've been watching for new updates on the change log, but haven't seen one yet. When will the update be coming out?
[2015-04-28 18:44:07]
Sierra Chart Engineering - Posts: 104368
There is a new version out now.
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

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

Login

Login Page - Create Account