Login Page - Create Account

Support Board


Date/Time: Fri, 27 Sep 2024 05:13:53 +0000



Iterating over user drawn lines

View Count: 713

[2016-02-04 23:46:55]
User982736 - Posts: 46
In a custom study I need to iterate over all the horizontal lines added by the user in a chart.

I have tried looping though:
sc.GetUserDrawnChartDrawing(i, DRAWING_HORIZONTALLINE, ChartDrawing, -1)

but I can't seem to find them all.

Thanks.
[2016-02-05 01:39:34]
Sierra Chart Engineering - Posts: 104368
We cannot help with this as it is presented.

We do not know exactly what the code is doing, we do not know what drawings are on the chart, what exactly is being returned and how you are coming to the conclusion that you are.

In general we do not provide programming help.

If you are having trouble then you need to set up a very very simplified example that we can help with.
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

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

Login

Login Page - Create Account