AUTOMATIC CLICK EA

 

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

 
alexx71:

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. 

 
nicholi shen:

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 ).

Reason: