How to get open order by this bot?
Post in the correct place
Perhaps you should read the manual. How To Interpret Answers. RTFM and STFW: How To Tell You've Seriously Screwed Up.
Check your return codes, and report your errors.
Don't look at GLE/LE unless you have an error. Don't just silence the compiler, it is trying to help you. What are Function return values ? How do I use them ? - MQL4 programming forum Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles
Only those functions that return a value (e.g. iClose, MarketInfo, etc.) must you call ResetLastError before in order to check after.
Beyond that, do you really expect an answer? There are no mind readers here and our crystal balls are cracked.
We can't see your broken code. How To Ask Questions The Smart Way. 2004 Be precise and informative about your problem
Fix your broken code.