Login Page - Create Account

Support Board


Date/Time: Mon, 16 Jun 2025 09:09:34 +0000



Post From: GetStudyArraysFromChartUsingID Empty Array

[2025-05-12 13:31:15]
Gradient - Posts: 143
Hi,

I'm using the sc.GetStudyArraysFromChartUsingID method to read in an array from another chart.

I have two charts. Chart 1 and Chart 2.

I have two studies. Study A and Study B.

Study A is applied to Chart 1.

Study B is applied to Chart 2.

Study B reads an array using the above method from Study A.

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.

However, when I apply Study B to Chart 1, change the chart number from Chart 2's chart number to Chart 1's chart number, Study B reads the array from Study A with no issues.

Can someone advise why this is and how to correct this?

Thanks