Can any one help me for pi coding open-low open high scaner or auto buy

Please specify the conditions in brief based on Open Low and High and also auto buy or sell is not possible.

hi sir,
how to place LTP> previous high and LTP< previous low in Pi scanner…pls help

Open High Low Sanner