Coloured OHLC bars

 

Hi there


I've been searching through the forum for quite some time now, looking for a way that I can change the colour of a OHLC-bar or Candlestick when certain conditions are met.
I have found none.

Ideally I want a OHLC-bar or Candlestick Cart with 3 colours.
One colour when the opening price and the closing price are in the bottom-third and top-third of the total bar (upbar) another colour for the reverse (downbar - open in top-third and close in bottom-third). A third colour when conditions are not met.

Does anyone have an idea to do that?

Thank you
Mietsie