Hi
You need to look at different Order style as separate rooms, where the exit of one room cannot be from the other room. You need to be in the same place to exit !
Intraday or MIS - Intraday orders subject to be squared off at 3:15, use this if you want the positions to be squared off irrespective of profit or loss
CNC : These orders are best used for equities where you can also take benefit of margin funding
NRML: There are positions which will carry forward unless exited manually, use this for FNO trading like Futures, Options, Commodities
Regarding Target
For the Target square off, you can either be careful of rightly choosing the 'room' in which you entered or you may click square off and then set the limit order
How to Exit
Go to Positions search for the orders filled and exit accordingly