AutoTrading was disable , but EA auto-run with OnTick() , what happen with it?

 

I creat an test EA name Test_01(Fig.1) and launch in window,

before I start "AutoTrading" ( Fig.2 AutoTrading disable),

EA was running automatically......

can someone tell me what happen with it ?

Fig.1Fig1.

Fig.22

 
 
jimyang:

I creat an test EA name Test_01(Fig.1) and launch in window,

before I start "AutoTrading" ( Fig.2 AutoTrading disable),

EA was running automatically......

can someone tell me what happen with it ?

Fig.1

Fig.2


As the word says ... it disables trading ... so .. anything non-trading will run ...
 
deysmacro:

As the word says ... it disables trading ... so .. anything non-trading will run ...

LOL when I presented the problem at first even trading orders has been executed didn't checked since
 
qjol:

LOL when I presented the problem at first even trading orders has been executed didn't checked since

It has been fixed now... or my code is adapting ... ? XD
 
deysmacro:

As the word says ... it disables trading ... so .. anything non-trading will run ...

Dear deysmacro :

The problem is different with old MT4 version,

in old version,when EA was lanuch in window, and "AutoTrading" was disable, the program will not execute (it mean this is impossible to triger "OnTick()" );

but now there is something unreasonable, pay attention to Fig.2 ( the step what I did ):

1. I make sure "AutoTrading" disabled .

2. I launch EA "Test_01" in window successful .

3. EA execute automatically (so print "Bid=1.3785") ; This action is what I say unreasonable...

 
jimyang:

Dear deysmacro :

The problem is different with old MT4 version,

in old version,when EA was lanuch in window, and "AutoTrading" was disable, the program will not execute (it mean this is impossible to triger "OnTick()" );

but now there is something unreasonable, pay attention to Fig.2 ( the step what I did ):

1. I make sure "AutoTrading" disabled .

2. I launch EA "Test_01" in window successful .

3. EA execute automatically (so print "Bid=1.3785") ; This action is what I say unreasonable...

It has been changed, as deysmacro said.
 
angevoyageur:
It has been changed, as deysmacro said.


not true

already written above

when I presented the problem at first even trading orders has been executed didn't checked since

 
3. EA execute automatically (so print "Bid=1.3785") ; This action is what I say unreasonable...
It is not a trading related command, so, it will run ...
 

i tried it again now and Orders Do get executed

edit: my mistake it sais

Trade is not allowed. Enable checkbox "Allow live trading" in the Expert Advisor properties

but it's annoying because it keeps getting error messages every...

so i had to remove it

 

Mine, OrderSend is not send though ...

It says ...

trade operations not allowed by settings