Confirm market order

 

I have an EA but want to make the final decision as to whether to buy or not. So having detected a buy/sell condition the EA should request entry confirmation with something like:

"Buy condition confirmed - submit order?"

and then allow me to give a y/n response.

Does anyone have a code sample or idea how to accomplish this? 

 
bryanjald_gmail_com:

I have an EA but want to make the final decision as to whether to buy or not. So having detected a buy/sell condition the EA should request entry confirmation with something like:

"Buy condition confirmed - submit order?"

and then allow me to give a y/n response.

Does anyone have a code sample or idea how to accomplish this? 

use chart events (Y/N  keys as response to question of EA) or (input) dialogs, Yes/No dialog messages etc.
you'll find something in standard libraries
 
Code2219 or probably 2319:
use chart events (Y/N  keys as response to question of EA) or (input) dialogs, Yes/No dialog messages etc.
you'll find something in standard libraries

Is there an MQL4 version?