Support Board
Date/Time: Sun, 19 Jan 2025 19:54:09 +0000
[Programming Help] - Drawing objects not showing up
View Count: 1042
[2018-03-25 13:02:02] |
WarriorTrader - Posts: 245 |
Hello, I have noticed that drawing objects that use DrawingObj.EndDateTime = 150; or BeginDateTime = 150; are not showing up. Change it to 149 and it works. This has happened with DrawingType = DRAWING_RECTANGLEHIGHLIGHT and DrawingType = DRAWING_TEXT. Could be others also but have not checked. Using version 1689. Thx, WT Date Time Of Last Edit: 2018-03-25 14:47:20
|
[2018-03-25 23:54:39] |
Sierra Chart Engineering - Posts: 104368 |
This will be solved in the next release. It has to do with not performing a check that positioning relative to the chart window is being used and there is a conversion to UTC which is pushing the value over 150.
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: 2018-03-25 23:55:04
|
[2018-03-26 21:29:22] |
WarriorTrader - Posts: 245 |
Don't know if it is related, but if I try to display a drawing tool on a remote chart that has a lot more days loaded, say 30 verses 5 days, the tool will not show up on the remote chart. Not really a problem for me, just something I observed. It is hard to believe that it has been 3 years since I upgraded SC. So these little quirks are easy to find. --WT |
[2018-03-26 21:47:01] |
Sierra Chart Engineering - Posts: 104368 |
but if I try to display a drawing tool on a remote chart that has a lot more days loaded, say 30 verses 5 days, the tool will not show up on the remote chart This does not make sense. There is no problem with this as long as the drawing is set to be a user drawn drawing. If there is generally a problem and we definitely do not believe so, there are no details here so we cannot help with 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 |
[2018-05-08 21:03:07] |
WarriorTrader - Posts: 245 |
Don't know if it is related, but if I try to display a drawing tool on a remote chart that has a lot more days loaded, say 30 verses 5 days, the tool will not show up on the remote chart.
Here is an example of the problem that I just found. I have a chart that has ES data loaded from April 29 to present (chart A). I have another chart that has data loaded from April 23 (chart B). The first chart, chart A displays 4 "Star Marker" drawing objects on chart B remotely. The drawing objects on chart B only show up if I change chart B's loaded data to April 29 instead of April 23, matching chart A's loaded data. This is not a major problem but it would be very convenient if chart B can load more data than chart A. Can provide a simple chartbook if necessary. Thx, WT |
[2018-05-08 21:54:22] |
WarriorTrader - Posts: 245 |
Forgot to mention that here are many other drawing objects that are working just fine from the same study. For some reason the "MIGtarget2" does not want to work. int MIGCounter = 0;
if (ShortLine) MIGCounter = -10; else MIGCounter = 10; for (int i = 1; i <= 4; i++) { MIGtarget.Clear(); MIGtarget.Region = 0; MIGtarget.ChartNumber = sc.ChartNumber; MIGtarget.DrawingType = DRAWING_TEXT; //MIGtarget.LineNumber = 7766544 + DynamicLineNumber + (MIGCounter*i); //ChartDrawing.BeginValue+sc.ChartNumber+900; MIGtarget.AddMethod = UTAM_ADD_ALWAYS; //UTAM_ADD_OR_ADJUST; //UTAM_ADD_OR_ADJUST; MIGtarget.TextAlignment = DT_VCENTER | DT_RIGHT; //DT_CENTER; MIGtarget.AddAsUserDrawnDrawing = 1; if (ShortLine) //sellers MIGtarget.Color = RGB(255, 0, 91); //red else MIGtarget.Color = RGB(150, 255, 0); //blue MIGtarget.FontSize = 8; //MIGtarget.FontBold=1; MIGtarget.FontFace.Format("Tahoma"); //MIGtarget.BeginValue = 0; //default MIGtarget.BeginDateTime = 150; Target = Location + (MIGCounter * i); MIGtarget.BeginValue = Target; if (ShortLine) MIGtarget.Text.Format("(%1.0d)-%2.0d", DayDistance, MIGCounter*i*-1); else MIGtarget.Text.Format("(%1.0d)+%2.0d", DayDistance, MIGCounter*i); sc.UseTool(MIGtarget); //This object is not showing up //For remote chart //this tool will not show up on the Order Flow Candle Stick chart, chart #1, error to work out MIGtarget2.Clear(); //MIGtarget2.Region=0; MIGtarget2.ChartNumber = ProfileChartNum; //Market Profile chart //Remote1; MIGtarget2.DrawingType = DRAWING_MARKER; MIGtarget2.MarkerType = MARKER_STAR; //MIGtarget2.LineNumber = 8888777 + DynamicLineNumber + (MIGCounter*i); MIGtarget2.AddMethod = UTAM_ADD_ALWAYS; //UTAM_ADD_OR_ADJUST; //MIGtarget2.TextAlignment = DT_VCENTER | DT_RIGHT; //DT_CENTER; MIGtarget2.AddAsUserDrawnDrawing = 1; if (ShortLine) //sellers MIGtarget2.Color = RGB(255, 0, 91); //red else MIGtarget2.Color = RGB(150, 255, 0); //blue //MIGtarget2.FontSize = 8; MIGtarget2.BeginDateTime = 150; MIGtarget2.BeginValue = Target; sc.UseTool(MIGtarget2); } //for |
To post a message in this thread, you need to log in with your Sierra Chart account: