Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 01:25:03 +0000



Post From: Compile error in latest SC version

[2018-05-25 04:09:09]
Sierra Chart Engineering - Posts: 104368
We are looking this over, and we see a significant inefficiency in your study. The following code must be outside of the for loop:



      sc.GetStudyArrayUsingID(Study.GetStudyID(), Graph1.GetInt(), Line1ref);
      sc.GetStudyArrayUsingID(Study.GetStudyID(), Graph2.GetInt(), Line2ref);
      sc.GetStudyArrayUsingID(Study.GetStudyID(), Graph3.GetInt(), Line3ref);

This is terribly inefficient to keep it within the for loop.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing