Support Board
Date/Time: Sun, 12 Jan 2025 18:44:57 +0000
Ray Drawing number accessed by ACSIL study changes when ray moved
View Count: 594
[2017-03-13 17:41:48] |
User930315 - Posts: 55 |
I have written a study using sc.GetUserDrawnChartDrawing that allows me to calculate the current price of a ray drawing for the current bar. Often when I move the ray referenced by the study the drawing number changes and my study no longer works. I have to find the new drawing number and modify the study parameters to get it to work again. Is there any way to either access a non-changing drawing identifier, or to create a ray with a static drawing number that won't change when it's modified or moved? Date Time Of Last Edit: 2017-03-13 17:45:07
|
[2017-03-13 17:55:52] |
Sierra Chart Engineering - Posts: 104368 |
The only way to have a non-changing identifier for a Chart Drawing is to have it be added by a custom study and not manually by a user. You will want to set the LineNumber. Refer to: http://www.sierrachart.com/index.php?page=doc/ACSILDrawingTools.html#LineNumber 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 |
[2017-03-13 21:59:28] |
Sierra Chart Engineering - Posts: 104368 |
Actually, our answer previously may not be correct. The LineNumber for the drawing should not change. We are checking on that. 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 |
[2017-03-13 22:05:20] |
Sierra Chart Engineering - Posts: 104368 |
The s_UseTool::LineNumber member variable for a Chart Drawing does remain constant, even if the drawing is moved.
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 |
To post a message in this thread, you need to log in with your Sierra Chart account: