I have an indicator for a range bar chart that plots a hash mark where the next range bar may start (predicts where next bar will start). The problem is that I end up with hash marks above and below all of the bars on the chart.
Add(new Plot(Color.FromKnownColor(KnownColor.White), PlotStyle.Hash, "PHigh"));
Add(new Plot(Color.FromKnownColor(KnownColor.White), PlotStyle.Hash, "PLow"));
PHigh.Set(Low[0]+ (range*TickSize));
PLow.Set(High[0]- (range*TickSize));
I have tried the following to change the color of the plots on the prior bar to transparent but it results in nothing plotting on any bar.
PlotColors[0][1] = Color.Transparent;
PlotColors[1][1] = Color.Transparent;
How can I "remove" the hashs that are plotted on all bars except the current bar.
Thanks
Comment