Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 16:55:00 +0000



ACSIL: GetACSDrawingByIndex() question

View Count: 241

[2024-05-12 00:59:52]
Nick_ON_CAD - Posts: 22
sc.GetACSDrawingByIndex()

I looked at your docs and it appears that this function won't work for "user drawn" drawings.

The equivalent function i.e sc.GetUserDrawnACSDrawingByIndex() doesn't appear to be in the API. But most of the other functions for userdrawn are available.

Would there be any chance of SC implementing this?

Thanks
[2024-05-12 10:23:50]
User431178 - Posts: 541
You need to use sc.GetUserDrawnChartDrawing, which has drawing index as one of its parameters.

Using Drawing Tools From an Advanced Custom Study: sc.GetUserDrawnChartDrawing()
[2024-05-12 10:51:50]
Nick_ON_CAD - Posts: 22
Hey SC support,

We can probably change this to programming help or withdraw it as I assumed Index in sc.GetACSDrawingByIndex() was the bar index because it's called drawingindex in sc.GetUserDrawnChartDrawing.


Thanks

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

Login

Login Page - Create Account