Get value of last winner closed trade and the value of current open trade

 

My EA have average consecutive profit to loss ration of 4:1, need to get the value of last positive closed trade in respect to current open trade value 

How do i get the value of last positive closed trade?.