How to identify buy and sell scenarios