Indicator that change color of a candle if its body is less than or equal to 50% of its range

 

Hi 

I wonder is there any indicator that change color of a candle if its body is less than or equal to 50% of its range.

I mean if the candle's [open-Close]=< 50% [High - low] then change the color of the candle for example to blue else leave it to its original color.

 

if there is one could you please tell me what it is?

Thanks in advance

Reason: