Buy if Script is trading and closing above a particular price and SL if it trades below a particular either % or absolute Points and TARGET WHAT EVER EITHER POINTS OR IN PERCENTAGE TERMS ( %) AND REVERSE.
For Ex: Buy 100 NIFTYFUT IF NIFTY FUT’S TRADES AND CLOSES ABOVE 8500 FOR 5 MINUTES. AND SL FOR THE SAME SHOULD BE IF NIFTY TRADES BELOW PURCHASE PRICE i.e 8500 -10 = 8490 FOR 5 MINUTES.
IT SHOULD EXIT LONG AND CREATE A FRESH SHORT OF THE SAME QTY AND THE SL SHOULD BE OTHER WAY…I.E SELL BELOW 8490 AND SL SHOULD BE IF NIFTY TRADES FOR 5 MIUNTES ABOVE 8490+10 POINTS.