I know the following:
protected override void OnStateChange()
{
if(State == State.SetDefaults)
{
Name = "Example Indicator";
AddPlot(Brushes.Transparent, "Any");
}
}
protected override void OnBarUpdate()
{
if (Close[0] > Open[0])
PlotBrushes[0][0] = Brushes.Blue;
else
PlotBrushes[0][0] = Brushes.Red;
}
However, what I want is the opposite.
There is an indicator that I cant see source.
I can access this plot in my code and get its value, but I can't get its color.
Is there any way to implement this?
I apologize if I didn't explain it well.
Thanks.

Comment