You will have to put 2 orders.
Buy(/Sell) order with your respective parameters
Sell(/Buy) order with your trigger price = stop loss.
For SL-M, put Price = 0 and for SL-L, put Price = desired limit price.
For Buy Limit Stop Loss order Trigger Price ≤ Price
For Sell Limit Stop Loss order Trigger Price ≥ Price
It might be possible that your second order gets executed first if market moves against your expectation. It is recommended that you wait for your first order to get executed before you enter the second order.
Put the value of "pt" parameter to SL(Stop Loss Limit)/SL-M(Stop Loss Market)