Login Page - Create Account

Support Board


Date/Time: Mon, 24 Feb 2025 06:37:26 +0000



Userdrawn drawings from ACSIL issue

View Count: 679

[2021-03-05 09:12:49]
@sstfrederik - Posts: 406
Hi,

I made some studies a while back and apparently something changed related to userdrawn drawings using UseTool.

When I use

Tool.AddAsUserDrawnDrawing = 1;

I always make sure to remove the drawing when sc.LastCallToFunction is called.

Apparently these userdrawn drawings are now saved when a chartbook is closed which results in these old drawings being reloaded when a chartbook is opened. The study will draw a new drawing on top. This results in multiple drawings on achart which is not what was the case previously.

I have tested older SC versions. SC version 2208 was fine and the userdrawndrawings form acsil study was not saved to a chart when closing the chartbook. After 2208 we start to see the described issue.

You can test this with "UseTool Example: User Drawn Text" study from the studies.cpp file.

- Save this study to a chart.
- Close down the chartbook and save all.
- open the chartbook an check the "manage chart drawings window"

there is an additional drawing now. Do this again and a new drawing will be added and so on.

Hope this can be looked into and resolved.

Thanks.

Frederik
[2021-03-05 13:37:05]
Sierra Chart Engineering - Posts: 104368
By default the ACSIL added user drawn drawings should not be saved to the Chartbook. However, we do see why they are and we will resolve that. However, the solution now is to set this as follows:

UseTool.AllowSaveToChartbook = 0;

That would be good practice anyway.
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: 2021-03-05 13:37:39

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

Login

Login Page - Create Account