PNL of an exited leg

Can anyone hlp me with finding pnl of an exited leg.
Difficulties…
traded instrument with pnl wont fetch it coz pnl key work with eqn LTP-entry. for an exited leg ltp condition will be false.
Any input is much appreciated .