How to calculate the number of pips until stop out

 

Is there a way to calculate the number of pips a single open trade has to move into draw down to hit the stop out level of the account?


Thank you 

 
My code's lotsize() specifically checks if a stop out would occur at SL
Reason: