Hello, is it possible make an EA that generate a Click on a screen coordinate as soon it see an open order ?
To clarify, the working should be this : I setup click coordinates of BUY and click coordinates of SELL.
The EA is working on a EURUSD chart ( for instance, can be other currencies as well ), as soon the EA detect a command " Market Order Buy EurUsd " ( does not care volume )it generate a click on the screen on Buy coordinates, same working for the Sell orders.
By the way the Opening of position can be done by another EA ( or click direct on Mt4 platform but mostly from an EA ).
Thanks
What are you trying to do exactly? You can easily simulate a chart event with EventChartCustom but it's unclear what you hope to accomplish.
What are you trying to do exactly? You can easily simulate a chart event with EventChartCustom but it's unclear what you hope to accomplish.
Supposing the EA active on the window open a BUY position, this EA will perform a click on the screen. ( same thing for the SELL ).
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello, is it possible make an EA that generate a Click on a screen coordinate as soon it see an open order ?
To clarify, the working should be this : I setup click coordinates of BUY and click coordinates of SELL.
The EA is working on a EURUSD chart ( for instance, can be other currencies as well ), as soon the EA detect a command " Market Order Buy EurUsd " ( does not care volume )it generate a click on the screen on Buy coordinates, same working for the Sell orders.
By the way the Opening of position can be done by another EA ( or click direct on Mt4 platform but mostly from an EA ).
Thanks