How to check if a position is open? - page 2

 
Anton Ohurtsov #:
Try to use one loop for identifying and after loop ending open or not open position.

I updated my last answer.

 
CrokCrypto #:

I updated my last answer.

Did you normalize stop loss, take profi, volume?
Reason: