Login Page - Create Account

Support Board


Date/Time: Thu, 26 Jun 2025 09:01:00 +0000



Cannot Get Values From ACSIL ACSDrawing

View Count: 551

[2021-12-04 22:51:56]
maxpi - Posts: 183
The following code returns -1 for the begin index and end index values. It's as if the drawing is not visible in the chart when it is visible in it's entirety.

s_UseTool retrievedChannel;
sc.GetACSDrawingByIndex(0, 0, retrievedChannel, 1);
  
  
MessageText.Format("sc.Index %i", sc.Index);
  
sc.AddMessageToLog(MessageText, 0);
  
MessageText.Format("retrievedChannel.BeginIndex %i", retrievedChannel.BeginIndex);
  
sc.AddMessageToLog(MessageText, 0);
  
MessageText.Format("retrievedChannel.EndIndex %i", retrievedChannel.EndIndex);
  
sc.AddMessageToLog(MessageText, 0);
[2021-12-05 11:46:30]
Sierra Chart Engineering - Posts: 104368
If the Chart Drawing is not visible on the chart, then this is expected.
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
Date Time Of Last Edit: 2021-12-05 11:46:40

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account