Please help me - similar function in mql4

Good morning


please help me for used this function or similar function in mql4

That function is only available in MQL5, not in MQL4. Unlike in MQL5/MT5 where there is Orders, Positions and Deals, in MQL4/MT4 there is only Orders.

Also read the articles on Cross-Platform usage: Cross-Platform Expert Advisor: Orders

thank you sir for this quick help