Support Board
Date/Time: Wed, 15 Jan 2025 20:01:00 +0000
Request A New ACSIL LineStyle
View Count: 1035
[2017-01-25 04:15:06] |
User147461 - Posts: 33 |
Request a new Tool.LineStyle be added to the DRAWING_LINE Drawing Type named: LINESTYLE_POINT Drawing only 1 single point per bar from BeginValue to EndValue. Thank you! |
[2017-01-25 21:58:16] |
Zosimus - Posts: 345 |
You can get this done by running a loop from the begin Index to the End index and draw a point. expmale: int StartIndex = 500; int EndIndex = 520; for(int i = StartIndex; i <= EndIndex; i++){ s_UseTool Points; Points.Clear(); Points.ChartNumber = sc.ChartNumber; Points.DrawingType = DRAWING_MARKER; Points.MarkerType = MARKER_POINT; Points.MarkerSize = 5; // some int for the size; Points.Color = RGB(0,255,0); //or whatever RGB color code Points.LineNumber = 1000; //some int for the Line Number Points.AddMethod = UTAM_ADD_ALWAYS; Points.UseRelativeVerticalValues = 0 ; Points.BeginIndex= i; Points.BeginValue = //the price at which you want the line; sc.UseTool(Points); } Date Time Of Last Edit: 2017-01-25 21:59:40
|
[2017-01-26 04:50:35] |
User147461 - Posts: 33 |
Hi yon, Thanks for taking the time to respond to my request. Your approach would work fine if I were drawing flat horizontal lines with the same price value. However, drawing a few hundred trendlines, per 1 minute chart, on angles would require me to calculate the price value for each bar to draw the marker point. A few hundred trendlines would quickly turn into thousands of individual price markers with a whole lot of looping going on and require a lot of processing power. I thought maybe SC could just possibly make the DRAWING_MARKER POINT style also available to the DRAWING_LINE member. Thank you! |
[2017-08-31 18:54:11] |
User541842 - Posts: 34 |
hi yon, found some interesting indicators on youtube. where are they from? regards |
[2017-08-31 18:59:59] |
Sierra Chart Engineering - Posts: 104368 |
Request a new Tool.LineStyle be added to the DRAWING_LINE Drawing Type named: LINESTYLE_POINT Looking at this again, this is not technically possible. You will need to use a study Subgraph for this and use the Point Draw Style.
Drawing only 1 single point per bar from BeginValue to EndValue. 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: 2017-08-31 19:00:38
|
To post a message in this thread, you need to log in with your Sierra Chart account: