Login Page - Create Account

Support Board


Date/Time: Fri, 10 Jan 2025 19:57:50 +0000



Post From: accessing base data from different chart

[2016-09-27 16:05:22]
User44130 - Posts: 23
Have problem with this method of accessing base chart data from a different chart. Trying to get Last price array.

  SCInputRef StudySubgraphReference = sc.Input[0];
  StudySubgraphReference.Name = "Study And Subgraph To Display";
  StudySubgraphReference.SetChartStudySubgraphValues(1, 0, 3);    

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

It works ok for futures data during testing but for pair stock - market stat charts it cannot read base data.