Download MetaTrader 5

How to open OrderWindow?

To add comments, please log in or register
Yun-Feng Hsieh
3494
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.

Stuart Browne
6787
Stuart Browne  
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...
Marco vd Heijden
Moderator
5932
Marco vd Heijden  
you can also build one from scratch.
Irwan Adnan
930
Irwan Adnan  
Marco vd Heijden:
you can also build one from scratch.
how to do that with mql.
Marco vd Heijden
Moderator
5932
Marco vd Heijden  
ObjectCreate(...
To add comments, please log in or register