Support Board
Date/Time: Thu, 28 Nov 2024 00:44:39 +0000
[User Discussion] - Couple of questions related ACSIL UseTool
View Count: 1161
[2014-01-26 04:13:03] |
ejtrader - Posts: 688 |
SC Team - have few questions related to UseTool and appreciate if you can comment. No need for programming help but just the syntax and Yes/No answers. Question 1: Is it possible to "lock" a tool which is drawn with option - Tool.AddAsUserDrawnDrawing = 1. Trying to avoid any accidental move/delete by user. I would change the design to avoid as user drawn - if "lock" option is not available. Question 2: Is it possible to access/populate the "Copy Chart Drawings from Chart#" using ACSIL(image attached for reference)? Question 3: How to pass the chart number as "2" to UseTool - without using "input variable". I can't seem to draw on chart#2 from chart#1. static const int LineID = 2000000;
Tool.Clear(); Tool.DrawingType = DRAWING_HORIZONTAL_RAY; // When I use Tool.ChartNumber=sc.ChartNumber - it works for the chart this study is inserted. Wanted to see if I can get this drawn on ChartNumber 2; // When I use Tool.ChartNumber=2 - this doesn't draw on Chart #2 when the study is inserted on Chart#1 Tool.ChartNumber = 2; //sc.ChartNumber; Tool.Region = sc.GraphRegion; Tool.LineNumber = LineID; Tool.BeginIndex = -5; Tool.BeginValue = sc.High[sc.Index-1]; Tool.Color = RGB(255,255,0); Tool.AddMethod = UTAM_ADD_OR_ADJUST; sc.UseTool(Tool); Thanks Date Time Of Last Edit: 2014-01-26 22:57:15
|
sc_copy_chartDrawings.jpg / V - Attached On 2014-01-26 04:14:00 UTC - Size: 13.1 KB - 350 views |
[2014-10-26 21:39:07] |
Zosimus - Posts: 345 |
+1 for the option to lock a tool that was added with Tool.AddAsUserDrawnDrawing = 1.
|
To post a message in this thread, you need to log in with your Sierra Chart account: