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)