How to calculate Profit/Loss for a particular stock using orders or account activity

Is there any way how much profit or loss for a given stock using orders or Account activity or positions when there are multiple orders buy, sell, short sell and buy.

Access to Closed Positions replied there