Login Page - Create Account

Support Board


Date/Time: Wed, 22 Jul 2026 04:54:31 +0000



Post From: : Reading rectangle price coordinates from ACSIL via GetUserDrawnChartDrawing

[2026-06-05 16:39:13]
User516084 - Posts: 17
Thank you for the response. I've confirmed BeginValue and EndValue are the correct fields. However I'm having trouble actually retrieving the drawings.
I'm using sc.GetUserDrawnDrawingsCount(ChartNumber, 0) which correctly returns the number of drawings (e.g. 2 or 4). But when I call sc.GetUserDrawnChartDrawing(ChartNumber, LineNumber, Drawing, 0) it returns 0 for every LineNumber I try.
What I've tried:

Scanning LineNumbers -1 to -10000 sequentially — all return 0
Using index 0, 1, 2, 3 as the LineNumber parameter — only index 0 occasionally returns a drawing with LineNumber=-5
Scanning from -5 downward — returns 0 for -6, -7, -8 etc. even though numDrawings=4

Questions:

What is the correct way to iterate through all user drawn drawings to retrieve each one?
Is the 2nd parameter to GetUserDrawnChartDrawing a LineNumber or an index?
Is there a function to get the LineNumber of each drawing so I can retrieve them correctly?