I would like to pass the plotbrushes as well as plot references to a class such that I can have my logic in the class color and paint the values on the chart...
I cant seem to pass the reference...
I call
newSwing.PaintSwingInfo(ref this.PlotBrushes);
public void PaintSwingInfo(ref Indicator.plo ???????)
{
//LongReversal0[0] = newSwing.LowOf3Bar - 2* TickSize;
//LongReversal1[1] = newSwing.LowOf3Bar - 2* TickSize;
//p.= Brushes.Green;
p.PlotBrushes[0][0] = Brushes.Yellow;
p.PlotBrushes[1][1] = Brushes.Green;
}

Comment