Show Confirmation Box on Signal
1 replies
tomas262
7 years ago #115067
If you want to use your EA for semi-auto trading ie. receive a confirmation YES/NO dialog, you can do it as shown in attached screen. You have to edit EA MQ4 file and add the highlighted code into your rules right before sqOpenOrder()
ret = MessageBox("Do you really want to open the position?", "Trade confirmation", MB_YESNO|MB_ICONQUESTION|MB_TOPMOST); if (ret == 6) sqOpenOrder(.....
Also at the beginning of the code you have to define (type in) the ret variable. See screenshot
msophe
7 years ago #138205
ok, thanks
Viewing 1 replies (of 1 total)