Login Page - Create Account

Support Board


Date/Time: Wed, 27 Aug 2025 03:05:17 +0000



Post From: GetStudyArraysFromChartUsingID Empty Array

[2025-05-13 09:37:36]
User431178 - Posts: 765

For example if there is a custom study on Chart 1 and I want to read it on Chart 2, then I should pass in Chart 1's chart number into the sc.GetStudyArraysFromChartUsingID on Chart 2.

Yes, that is correct, but that is not what you wrote before.

When I apply Study B to Chart 2 and use Chart 2's chart number, the associated array being read in from Study A is empty. It doesn't update as the values change.


The custom study that uses sc.GetStudyArraysFromChartUsingID should work regardless of which chart number is being used. It's not limited to only being used on the Chart that contains the reference study. (i.e. Chart 1)

Yes, and that is exactly how it does work.
If it not doing that for you, then something is wrong with what you are doing.

Super basic working example attached.
imagedatafromchart.png / V - Attached On 2025-05-13 09:36:48 UTC - Size: 84.68 KB - 118 views
attachmentReadFromOtherChart.cpp - Attached On 2025-05-13 09:37:07 UTC - Size: 2.16 KB - 128 views