Is it possible to set a LineStyle, let's say Dotted, for a custom indicator through the IndicatorBase class?
I have been trying to override plotstyles with DottedLine or DashedLine like this
However, it is always a sold line. When dragging and dropping the custom indicator into my chart I have to set the LineStyle manually to dashed, so I suspect there is a LineStyle feature for a custom indicator that I can set somewhere?
I have been trying to override plotstyles with DottedLine or DashedLine like this
CODE:
public override PlotStyles DefaultPlotStyle => PlotStyles.DottedLine;
However, it is always a sold line. When dragging and dropping the custom indicator into my chart I have to set the LineStyle manually to dashed, so I suspect there is a LineStyle feature for a custom indicator that I can set somewhere?
Rename
What build number are you running? I recall we recently did a fix for this.
WL7 B53
When you eventually migrate to WL8 you'll find this fixed.
Sounds good. Thank you Glitch!
Your Response
Post
Edit Post
Login is required