Download MetaTrader 5

How to open OrderWindow?

To add comments, please log in or register
Yun-Feng Hsieh
3324
Yun-Feng Hsieh 2015.11.21 16:20 

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
5883
Stuart Browne 2015.11.22 03:35  
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
4728
Marco vd Heijden 2015.11.22 21:31  
you can also build one from scratch.
Irwan Adnan
925
Irwan Adnan 2015.11.23 02:57  
Marco vd Heijden:
you can also build one from scratch.
how to do that with mql.
Marco vd Heijden
Moderator
4728
Marco vd Heijden 2015.11.26 12:45  
ObjectCreate(...
To add comments, please log in or register