I can create a line using this:
Add(new Line(Color.FromKnownColor(KnownColor.Red), 45, "myLine"));
And then if I load the indicator I can change it from a solid line to a dashed line... but how can I set it a dashed line in my code.
The property is called Dash style in the properties window of the chart.
I would have thought it would be something like...
Add(new Line(Color.FromKnownColor(KnownColor.Red), 45, DashStyle.dash, "myLine"));
Anyone know how to do this? I know it's a simple question but I looked in the forums and didn't see an answer.
Comment