Support Board
Date/Time: Mon, 16 Jun 2025 09:21:39 +0000
Post From: GetStudyArraysFromChartUsingID Empty Array
[2025-05-13 09:37:36] |
User431178 - Posts: 713 |
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. |
![]() ![]() |