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

 
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
 
check box allow live trading in in tools/options/expert advisers.I think it's a common reason.
 
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
 
thats odd... i get the same error except my allow live trading is on and it does it anyway...even on demo accounts.
 

Same Problem here.

Does someone has a solution?

 

Help me too!

I am using a demo account for testing.

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

 

Did you do this . . .

and this . .

 
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!!!

 

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

 

Often the "autotrading" is simply not set / switched off.

 
Iggy:
check box allow live trading in in tools/options/expert advisers.I think it's a common reason.
Tks, solve my problem!!!
Reason: