Distinguish between long and short orders

steyr6155
186
steyr6155  
Hello everyone,

Since I am still a beginner in programming and does not know any further, I hope that this forum can help me. 

If my EA opens a position (long or short), then I would like to find out whether it is a long or short position.
Maybe there is any function given by mql5 but i didn´t find it yet.



Thank you!