Login Page - Create Account

Support Board


Date/Time: Tue, 16 Sep 2025 06:05:04 +0000



Post From: sc.GetStudyArrayFromChartUsingID() won't work from another chart?

[2024-02-11 07:44:52]
User431178 - Posts: 779
You need only make one simple change for this to work correctly, and you definitely don't have to have same number of bars or timeframe.

Use the array size from the source chart, not the calling chart.

Swap sc.ArraySize - 1 for StudyAArray.GetArraySize() - 1, repeat for any/all similar occurrences.