For that strategy to follow you must have two demat accounts with same or two different brokers.
So with one account you can buy and with the other one you can sell.
The only problem which we can come accross is that price goes and hits one stoploss and then reverses and hits other stoploss again.
But that being very rare we should select stocks with big movements.
Rest all depends on our luck, and experience ofcourse..