Login Page - Create Account

Support Board


Date/Time: Wed, 05 Feb 2025 07:45:39 +0000



Problem with DRAWING_PARALLEL_LINES ?

View Count: 803

[2015-07-07 16:19:25]
wwwingman - Posts: 185
Hi,

I am trying to draw parallels lines with ACSIL and have a problem.

I use ACSIL to draw LINES, RAYS, PARALLEL RAYS. It works fine.

Using the same code for drawing PARALLEL_LINES seem to have a problem. It draws parallel rays...

Am I doing something wrong ?

Simple code sample I use :

s_UseTool Tool;
Tool.Clear();

Tool.ChartNumber = sc.ChartNumber;
Tool.Region = sc.GraphRegion;
Tool.LineNumber = 230495038;

Tool.DrawingType = DRAWING_PARALLEL_LINES;
Tool.Color = COLOR_BLUE;
Tool.LineWidth = 2;

Tool.BeginIndex = 0; // same results with Tool.BeginDateTime = sc.BaseDateTimeIn[0];   
Tool.BeginValue = sc.High[0];

Tool.EndIndex = sc.Index; // same results with Tool.EndDateTime = sc.BaseDateTimeIn[sc.Index];
Tool.EndValue = sc.High[sc.Index];

Tool.ThirdIndex = sc.Index; // same results with // Tool.ThirdDateTime = sc.BaseDateTimeIn[sc.Index];
Tool.ThirdValue = sc.Low[sc.Index];
  
Tool.AddMethod = UTAM_ADD_OR_ADJUST;

sc.UseTool(Tool);

-- W
Date Time Of Last Edit: 2015-07-07 16:30:03
[2015-07-07 21:58:25]
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:

Login

Login Page - Create Account