In Scanner we can generate only one side either buy or sell, you can create and run two scanners at a time one for buy and another for sell,
condition can be coded in tradescript language and added in scanner script column and add list of selected stocks and can run the scanner,
if the given condition matches in live market amount the list of selected stocks it will give the alert with change of alert time.