I read there is a way to change the color of the bar, by using below line of code, to color the current bar to green.
BarColor = Color.Green
But,how can I change a previous bar color? Like for example, I want to change the 5th previous bar, can I do like
BarColor[5] = Color.Red
so that it changes the old bar colors to red. Based upon a condition that happened in the current bar.
Thanks
Commodity_trader
Comment