Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 05:49:33 +0000



can GetUserDrawnChartDrawing get drawings copied from other charts?

View Count: 267

[2023-09-20 16:15:50]
User145575 - Posts: 20
Hi,
I have a 1 minute chart and a 5 minute chart. I draw lines on my 5 minute chart and have them automatically copied to the 1 minute chart (with chart settings -> chart drawings -> copy chart drawings from chart #s).
On the 1 minute chart I have an ACSIL study that works with drawn lines. So far, GetUserDrawnChartDrawing() is not able to get the copied lines, as far as I can tell. So I am having to manually copy (draw) the lines in the 1 minute chart for my study to work.
Is it true that that function won't get copied drawings?
If so, do you know of another workaround?
Thanks!
[2023-09-20 16:36:42]
John - SC Support - Posts: 36309
When you create the drawings using ACSIL, they are specifically NOT "User Drawn Drawings", they are generated drawings. But, you can set them to be "User Drawn Drawings". Refer to the following:
Using Drawing Tools From an Advanced Custom Study: s_UseTool::AddAsUserDrawnDrawing
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-09-20 16:54:23]
User145575 - Posts: 20
Hi John,
Thanks for the quick reply. I'm not talking about drawings _generated_ in ACSIL though.. I'm talking about user drawn drawings that were copied from another chart using the "copy chart drawings" feature in chart settings. Know what I mean?
Maybe the problem is that copied drawings are generated by ACSIL under the hood. It'd be nice if the "copy chart drawings" feature had a "copy chart drawings as user drawn drawings" option...
I hope that's clear! thanks.
[2023-09-20 18:00:14]
John - SC Support - Posts: 36309
Sorry, we understand the situation now.

The copied drawings will not be visible to the "GetUserDrawnChartDrawing()" function. But that function does allow you to specify a different chart, so if you are needing drawings from a different chart, this should not be a problem. Refer to the information here:
Using Drawing Tools From an Advanced Custom Study: sc.GetUserDrawnChartDrawing()
For the most reliable, advanced, and zero cost futures order routing, use 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