Individual stop loss and combined stop loss

hello dear sir/mam

i have multiple set in my strategy i trade bank nifty straddle, i want to set stop loss in set 1, my condition is each leg stop loss is 50 point and combine stop loss is 1700, problem is when one leg exit at time how i check my stop loss of 1700 because when i use pnl keyword it consider whole set pnl. kindly please help me to solve this problem