I have a question about BarBrush.
I can color specific bars with BarBrush == Brushes.Blue for example.
This works as I am going through historical bars from OnBarUpdate method when I load the indicator.
But what I would like to do is coloring specific bars going backward once the bars are loaded.
For example :
Foreach(Bars b in BarsArray[0])
{
// if condition is true put the BarBrush == Brushes.Blue.
}
Is it possible to do that ?
Thanks
Comment