Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 23:46:00 +0000



Post From: Draw line with ACSIL question.

[2015-05-11 16:01:49]
marcovth - Posts: 61
Hello ...

Was FlatEdge implemented already in the latest version? If so, it doesn't seem to work for me.

[IMG]http://i60.tinypic.com/fdugbb.png[/IMG]


Lines.Clear();
  Lines.ChartNumber = sc.ChartNumber;
  Lines.DrawingType = DRAWING_LINE;
  Lines.LineNumber = num;
  Lines.BeginDateTime = sc.BaseDateTimeIn[bar1];
  Lines.BeginValue = val1;
  Lines.EndDateTime = sc.BaseDateTimeIn[bar2];
  Lines.EndValue = val2;
  Lines.Color = Color;
  Lines.LineWidth = LineWidth;
  Lines.LineStyle = LineStyle;
  Lines.AddMethod = UTAM_ADD_OR_ADJUST;
  //Lines.AddAsUserDrawnDrawing = 1;
  Lines.SquareEdge=1;
  Lines.FlatEdge=1;
  Lines.Region = Region;
  sc.UseTool(Lines);