Support Board
Date/Time: Tue, 26 Nov 2024 20:38:09 +0000
ACSIL AddAsUserDrawnDrawing replay mode
View Count: 274
[2023-10-21 12:35:44] |
User453167 - Posts: 5 |
Hi, my study is printing specific volume values on my chart using sc.UseTool. I've noticed that during recalculations, all drawings are removed unless AddAsUserDrawnDrawing = 1. Now, all drawings persist and cannot be deleted. When i switch into replay mode, all drawings generated ahead of the replay time are already displayed on my chart. I just want to see the drawings that were generated before the point in time where the replay starts. Is there a function in ACSIL which detects replay mode? Or do i have to work around this manually somehow. Can i then use sc.DeleteUserDrawnACSDrawing for this? Date Time Of Last Edit: 2023-10-21 12:39:33
|
[2023-10-21 15:45:28] |
Sierra_Chart Engineering - Posts: 17184 |
Really the proper way to do this is to not use AddAsUserDrawnDrawing = 1 and when there is a full recalculation which can be detected with: sc.IsFullRecalculation
You then will add all of the drawings which should be added. Or you do need to delete the drawings with sc.DeleteUserDrawnACSDrawing during a full recalculation. You know what you want to accomplish. So you have to work out the details. 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, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2023-10-21 16:04:37] |
User453167 - Posts: 5 |
thank you very much for pointing me into the right direction. everything works now as intended. have a great day |
To post a message in this thread, you need to log in with your Sierra Chart account: