I can change the price bar colors with BarColor. I can change the backround color with BackColor or BackColorAll.
Can I change the indicator bars based upon price action using a defined script, too?
ie: I want to change the bars on an indicator's histogram based upon Close[0]>Close[1] of the price not the indicator's value.
I cannot do: if { (Close[0]>Close[1]) IndicatorColor=Color.Blue;}
nor can I do: IndicatorColor = Close[0]>Close[1] ? Color.Blue : Color.Red;
This is probably a simple task and I'm missing something obvious here.
Any help would be appreciated.
Thanks.
Comment