Well, that is a bad experience, and I have had that experience myself too. It is much better to use a SL and TP and then hope that the trade will hit your TP. If your internet connection goes off sometimes, then a trailing stop might not be of much use to you. and It is more important to you that you have to place the stop loss at appropriate level so that you can not get hit the stop loss immediately and you may get profit from that trade. Just go for the charts and get the major support and resistance levels at that place you can place the stop loss.