Show Confirmation Box on Signal
1件の返信
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
0
1件の返信を表示中 - 1 - 1件目 (全1件中)