Are you trying this on Nifty or Banknifty or stock options?
just 3 point trail looks risky. I've seen bid-ask for Banknifty options with Rs 5 difference. Market order would hurt.
Also you are dependent on Brokers/NSE system of stop loss. My personal experience is that it is not really reliable, if its not SL-M.
But maybe things have changed now as my experience is over a year old. You can try it and let us know how it goes.