Hello, i have 3 small functions in MQL4 and i want somebody write the MQL4 functions into MQL5 code, because the MQL5 language use different style of orders, they see orders all toghter as a position, thats why i must change my MQL4 function to make it work with Metatarder 5. You can see my current MQL4 functions in the attached textfile.