Support Board
Date/Time: Sat, 28 Dec 2024 08:13:32 +0000
sc.GetStudyArrayFromChartUsingID
View Count: 825
[2016-04-20 20:46:17] |
User99735 - Posts: 234 |
Hi, Am trying to access data in cols AA of a spreadsheet from a strategy, as follows, using 16 for column AA / Subgraph number is not working. What would be the correct number to use. SCFloatArray SpreadSheetColAAArray; sc.GetStudyArrayFromChartUsingID(ChartNumber, StudyID, 16, SpreadSheetColAAArray); Regards Vivek Date Time Of Last Edit: 2016-04-20 20:46:54
|
[2016-04-20 21:13:11] |
Sierra Chart Engineering - Posts: 104368 |
The index is zero based. So 16 is correct. Sounds like a calculation precedence issue. Make sure the study sets: sc.CalculationPrecedence = VERY_LOW_PREC_LEVEL And is at the end of the list of studies to be calculated. For more information, refer to: https://www.sierrachart.com/index.php?page=doc/doc_ChartStudies.html#StudyCalculationPrecedence 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: