Change Bar Color (Object-Oriented language)

 

Hi everybody,

Is there way to change color of bar using object-oriented language in MQL5

 Like

CurrentBar->SetColor(Red)

 or

CurrentBar->SetBorderColor(Blue)

 Where current bar could be Bar(index)->SetColor(Red) 

 I found out that there is too many examples changing color in OnCalculate event in NOT Object-Oriented language way.

I tried to do it by myself but I didn't find the Bar object anywhere.

If you know something about this, I'll be very grateful if you spread your knowledges with me.

Thank you

Daniel