Support Board
Date/Time: Wed, 14 May 2025 05:09:49 +0000
drag and drop not working properly for horizontal lines
View Count: 788
[2016-04-25 12:06:34] |
T29_Dev1 - Posts: 22 |
Horizontal lines that was created from study disappears when I drag it. This code I use to create the line: s_UseTool tool; tool.ChartNumber = sc.ChartNumber; tool.DrawingType = DRAWING_HORIZONTALLINE; tool.TextAlignment = DT_RIGHT; tool.AddMethod = UTAM_ADD_OR_ADJUST; tool.Color = COLOR_GREEN; tool.LineStyle = LINESTYLE_SOLID; tool.LineWidth = 2; tool.Text = "myline"; tool.BeginValue = sc.BaseDataIn[SC_HIGH][sc.ArraySize - 2]; tool.DisplayHorizontalLineValue = 1; tool.AddAsUserDrawnDrawing = 1; sc.UseTool(tool); When I create a line manually in SC, it works fine. I noticed that SC creates horizontal lines with anchor datetime != 0 and I can't set the anchor time (SC ignores it). I want to use horizontal lines to allow user to set some price level. |
[2016-04-25 16:20:06] |
|
We will test this.
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-25 17:19:32] |
Al SC Developer - Posts: 434 |
This will be addressed in the next version.
|
To post a message in this thread, you need to log in with your Sierra Chart account: