Download MetaTrader 5

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

To add comments, please log in or register
jimyang
67
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.1Fig1.

Fig.22

qjol
3245
qjol  
SYED NAUFAL GADDAFI
1399
SYED NAUFAL GADDAFI  
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 ...
qjol
3245
qjol  
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
SYED NAUFAL GADDAFI
1399
SYED NAUFAL GADDAFI  
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
jimyang
67
jimyang  
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...

Alain Verleyen
Moderator
33769
Alain Verleyen  
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.
qjol
3245
qjol  
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

SYED NAUFAL GADDAFI
1399
SYED NAUFAL GADDAFI  
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 ...
qjol
3245
qjol  

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

SYED NAUFAL GADDAFI
1399
SYED NAUFAL GADDAFI  

Mine, OrderSend is not send though ...

It says ...

trade operations not allowed by settings
12
To add comments, please log in or register