Support Board
Date/Time: Mon, 21 Apr 2025 13:05:49 +0000
Bug Report: s_UseTool Drawing Partially Displayed When Crossing More Than 3 High=Low Bars
View Count: 102
[2025-02-25 13:37:25] |
User856649 - Posts: 9 |
Problem Description: When I use the s_UseTool drawing tool to draw a line on the chart, it only displays partially. I observed that this issue occurs when the drawing line starts/ends with 3 or more dashed bars (High = Low bars). I am using a manual loop. Why I Don't Think It's an Issue with My Code: After simply changing the index, the drawing displays correctly. This can be observed in the attached screenshots: good.png (index = 133) and bad.png (index = 143). Chart: NVDA_NQTV 1000 Tick Bar Version: 2741 Date: 2025-01-30 to 2025-01-30 core code: if (index == 133) { s_UseTool Box; Box.Clear(); Box.ChartNumber = sc.ChartNumber; Box.DrawingType = DRAWING_LINE; Box.AddMethod = UTAM_ADD_OR_ADJUST; Box.BeginValue = 120.00f; Box.EndValue = 120.00f; Box.Color = RGB(0, 255, 255); Box.BeginIndex = index; Box.EndIndex = index-10; Box.LineWidth = 5; Box.LineStyle = LINESTYLE_DASH; Box.TransparencyLevel = 50; Box.AddAsUserDrawnDrawing = 1; LineNumberCounter++; Box.LineNumber = LineNumberCounter; sc.UseTool(Box); } |
[2025-02-25 13:45:44] |
User856649 - Posts: 9 |
Screenshots: Attached (good.png and problem.png) good: https://www.sierrachart.com/image.php?Image=1740491070281.png bad: https://www.sierrachart.com/image.php?Image=174049112627.png |
[2025-02-25 15:48:54] |
Sierra_Chart Engineering - Posts: 19285 |
There definitively is no bug . This is not even possible. Change this line like this: Box.AddAsUserDrawnDrawing = 0; Do not make the drawing user drawn. 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 Date Time Of Last Edit: 2025-02-25 15:49:19
|
To post a message in this thread, you need to log in with your Sierra Chart account: