Code for Body and Wick Ratio

I am trying to create code where Body of the Candle should he less then 0.2 and Wick Should be >0.8 can somone help. Will use this code for scanner

Can Someone Help overhere, there is not mutch details infor on how we can use tradingscript for scanner purpose. It would be great if someone shed light on above query