Hello all. Just a simple question, I hope, lol.
Is it possible to make an EA that ask for a manual confirmation to open a trade ?
I wanted to know how I can do if I need to double check the EA before to confirm the operation since that might be occasions where the signal could be faulty due particular market conditions.
What trading functions I should use ?
Is enough to tick the checkbox under Option menu "Ask manual confirmation " ?
Regards, Francesco.
EA asks for a manual confirmation
- NeoTrader
- Trader
- Posts: 436
- Joined: Wed Apr 04, 2012 2:52 pm
- Location: small Village at Lake Chiemsee, Bavaria, Germany
Re: EA asks for a manual confirmation
hi francesco,
go to the Menu Tools->Options and select the Tab expert Advisors.
There you can select Ask manual confirmation under the Allow live trading entry...
hope this helps...
happy trading,
NeoTrader
go to the Menu Tools->Options and select the Tab expert Advisors.
There you can select Ask manual confirmation under the Allow live trading entry...
hope this helps...
happy trading,
NeoTrader
-
zen4x
- Trader
- Posts: 22
- Joined: Wed Nov 23, 2011 2:36 pm
Re: EA asks for a manual confirmation
So that's the way....no funny functions to code...I code normally to open a position and after that when I set "Ask manual confirmation" Crappy T4 should send me a pop window to check "ok" or "cancel"
Thank you Neo for your reply.
Thank you Neo for your reply.
-
f-trader
- Trader
- Posts: 27
- Joined: Sat Feb 25, 2012 4:08 pm
Re: EA asks for a manual confirmation
I do it this way:
After this snippet the OrderSend is coded.
It will execute only when the user clicks on YES button.
Code: Select all
string msgtext = "You really want a market order ?";
int ret = MessageBox(msgtext, NULL, MB_YESNO|MB_ICONQUESTION);
if (ret==IDNO) return(0); // We want no market order
It will execute only when the user clicks on YES button.