Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 16:19:38 +0000



sc.DeleteACSChartDrawing method not working?

View Count: 661

[2017-02-18 00:57:19]
User735389 - Posts: 188
Pretty simple, my study programmatically opens new charts and programmatically draws a bunch of stuff of the charts. Attempting to clear all drawings on the charts:


sc.DeleteACSChartDrawing(sc.ChartNumber, TOOL_DELETE_ALL, 0);

but it always returns 0. sc.ChartNumber verified to be a valid chart number. Any ideas?

*Edit: Does this not function work when the chart IsFullRecalculation or other state?

*Edit2: Looks like this was the case.
Date Time Of Last Edit: 2017-02-18 01:58:02
[2017-02-19 20:35:20]
Sierra Chart Engineering - Posts: 104368
We tested this and it does work.

If it returns zero it means that there were no custom study added drawings. Make sure they are not flagged to be user drawn.

When there is a full recalculation, all drawings added by the custom study except user drawn drawings, are automatically deleted.
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: 2017-02-19 20:37:21

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

Login

Login Page - Create Account