You can either place a Stop loss order or a Target order for a open position. If you wish to place both the order, then you need to have an additional margin for placing one of the order. Kindly refer to this thread on how to place an Stop loss order.
Hope this helps!