Support Board
Date/Time: Fri, 27 Dec 2024 01:26:58 +0000
ACSIL Drawings Limitation
View Count: 1219
[2016-04-01 15:27:18] |
Johnny - Posts: 99 |
Hello, I want to report an ACSIL limitation regarding drawings that has come to my notice. I don't know if you are aware of this, but only two and in some other cases just one s_UseTool instances of the same drawing type that are called on the same chart index are drawn on the chart. In most cases, the one or two drawings that are finally drawn are the most recent ones that have been called within the study. I found this by accident because a text drawing wouldn't appear on the chart even though the conditions were met. There were two other text drawings that were called at the same index in my study and only when I removed one of them I got the text to appear.
|
[2016-04-01 16:15:21] |
Sierra Chart Engineering - Posts: 104368 |
How do you have the s_UseTool::AddMethod set?
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 |
[2016-04-01 16:33:11] |
Sierra Chart Engineering - Posts: 104368 |
This example will be added to the next release: "UseTool Example: Multiple Drawings At Same Index" 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 |
[2016-04-02 00:57:02] |
Johnny - Posts: 99 |
I have looked into this again and the only way to call multiple s_UseTool instances of the same drawing type at the same index is to set s_UseTool::AddMethod to UTAM_ADD_ALWAYS. However, when I do this I can't stop drawings to appear more than once at the last bar of real-time charts since s_UseTool::AddMethod needs to be set to UTAM_ADD_OR_ADJUST. I haven't found a way to fix both of these issues at the same time.
|
[2016-04-02 03:12:23] |
Sierra Chart Engineering - Posts: 104368 |
This is not correct. You can accomplish what you want. Check the example when it comes out. 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 |
[2016-04-08 08:16:06] |
enemyspy - Posts: 306 |
I also have the same issue where I can't add multiple rectangle drawings at the same index unless I assign the line number myself. The auto assign gives the same linenumber at that index unless it is a level or a horizontal line. I had to write a seperate class to store and and generate line numbers to ensure their uniqueness. But it is still less than ideal because the only way it works is if all the studies I am using are compiled in the same dll. I wonder if this can be changed so that it will auto assign a unique number to all drawings at the same index. |
[2016-04-08 08:18:57] |
Sierra Chart Engineering - Posts: 104368 |
This is not correct: The auto assign gives the same linenumber at that index unless it is a level or a horizontal line.
The Line Number is always unique and automatically assigned so long as you do not reuse the s_UseTool structure or call the Clear function on it. 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: 2016-04-08 08:19:40
|
To post a message in this thread, you need to log in with your Sierra Chart account: