Download MetaTrader 5

Script Error - 4109 - Trade is not allowed - Help!

To add comments, please log in or register
Any problems with the code? Find solution in documentation!
Mike Vallone
57
Mike Vallone 2006.12.19 21:36 
Hi,
I'm kinda' new to using Scripts, and am running into a problem.

Using the standard (or any other) scripts on my InterbankFX demo account works fine, but I recently set up a live acount and whenever I try to execute a script I get an error message in the Expert Log that gives number 4109 - which I lookedup on the MQL4 website and it means, "Trade is not allowed".

Can anyone tell me what the problem is and how to fix it?

Thanks so much.

Mike
mvallone2@comcast.net
Iggy
478
Iggy 2006.12.20 04:07  
check box allow live trading in in tools/options/expert advisers.I think it's a common reason.
Mike Vallone
57
Mike Vallone 2006.12.20 13:24  
irusoh1 wrote:
check box allow live trading in in tools/options/expert advisers.I think it's a common reason.

Thanks, that's exactly what it was!

Mike
christopher
11
christopher 2010.12.14 00:19  
thats odd... i get the same error except my allow live trading is on and it does it anyway...even on demo accounts.
Ali
18
Ali 2011.02.11 16:33  

Same Problem here.

Does someone has a solution?

Test1
3
Test1 2011.10.05 21:44  

Help me too!

I am using a demo account for testing.

trying to modify open order by OrderModify() throws error 4109.

Simon Gniadkowski
Moderator
18001
Simon Gniadkowski 2011.10.05 21:50  

Did you do this . . .

and this . .

mohammadsk313
38
mohammadsk313 2016.10.26 17:23  
irusoh1:
check box allow live trading in in tools/options/expert advisers.I think it's a common reason.

Hi

excuse me!!

This problem(4109) is made for me!!!iwent to tools / options  but there was no any tab with name of expert advisord .No expert advisors!!!

peter.MT4Web
158
peter.MT4Web 2016.10.26 17:42  

Do you know the difference between MT4-Terminal and MT4-IDE ?

To add comments, please log in or register