I want to draw a rectangle on the chart, I have seen that this sentence can be used, but I don't know how to change the width of the rectangle line, as well as the style of the line, for example to DashDot
Rectangle myRec = Draw.Rectangle(this, "tag1"+ (CurrentBar - 1), 4, Low[3] - TickSize, 1, High[1] + TickSize, Brushes.Red);
myRec.AreaBrush = Brushes.Transparent;
Thank you
Comment