I want to color bars (green/red) of my custom indicator (plotted as Value).
I did the following:
if (Value[0] > 0)
{ BarColor = Color.Green;}
else if (Value[0] < 0)
{ BarColor = Color.Red;}
I get colored the price bars, not the bars of my custom indicator. How can I fix that?
Thank you
Comment