How to identify 50% candle in pi?

I trade on Supply and Demand and knowing 50% is very important to draw a proper buying and selling zone. Please let me know if that is possible in Pi. If not currently, would it be possible to include this functionality in future.

//Colors candles with body less than 50% of range of candle
study(title = “<50% body candle”, overlay = true)

candr = high-low
bodyr = open-close

borat = (bodyr*100/candr)

barcolor (borat>-50 and borat <50 ? white : na)


50% Candle in Pi



Candle in Pie

NaMasTe TraDeR,

SCRIPT:

(ABS(OPEN-CLOSE)*2) < (HIGH - LOW) 

You got it? … i also looking for the same…