Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 00:30:23 +0000



Post From: Referencing other charts

[2025-02-20 18:09:35]
JohnR - User831573 - Posts: 330
I think you need to look at the value you use to "Index" to the other chart. Chance are there is a different # of bars (index) in that other chart. If you are only looking for the last / current bar in the other chart use something like the following

SCFloatArrayRef SubgraphArray = StudyData[0];

Average[sc.Index] = SubgraphArray[SubgraphArray.GetArraySize()-1];

Hope this helps
JohnR