How to open OrderWindow?

 

Dear Programmers:

As the title,I want to open an order window with mouse object on click. 
ChartOpen() is for currency chart,but I couldn't find any function about opening order window.
What should I do? Would anyone please do me a favor? Thanks a lot.

 
Yun-Feng Hsieh:

Dear Programmers:

As the title,I want to open an order window with mouse object on click. 
ChartOpen() is for currency chart,but I couldn't find any function about opening order window.
What should I do? Would anyone please do me a favor? Thanks a lot.

I don't believe that's possible from native MQL code. You might be able to do it with the WinAPI if you could locate the handle of the mini trade panel and simulate a click on it...
 
you can also build one from scratch.
 
Marco vd Heijden:
you can also build one from scratch.
how to do that with mql.
 
ObjectCreate(...