Download MetaTrader 5

Expert doesn't work because of the auto trading button

To add comments, please log in or register
Khaled Fahmy
16
Khaled Fahmy  
Hello, 
Please I have faced a strange situation that is when when I load my expert then I enable the auto trading button, the expert doesn't open any orders,
but when I enable the auto trading button first the load the expert, it works fine...

Is that situation is ok.. or there is some thing wrong.
would you please help.
whroeder1
15915
whroeder1  
Code is broken
Khaled Fahmy
16
Khaled Fahmy  
WHRoeder:
Code is broken

Thanks for response but how it would be the problem?
Ok.. I will check out after the market opens.
Keith Watford
Moderator
10652
Keith Watford  

It depends on how it is coded.

It may be that after n failed attempts to open an order, it is coded to stop working. 

Khaled Fahmy
16
Khaled Fahmy  
GumRai:

It depends on how it is coded.

It may be that after n failed attempts to open an order, it is coded to stop working. 


No it is not.. thanks
Khaled Fahmy
16
Khaled Fahmy  
I have tested on an expert all it contains one line of code which is open buy order, and I faced the same situation.. 
I wonder @GumRai & @WHRoeder, how didn't you face the same situation?!
Sherif Hasan
7400
Sherif Hasan  
khaledFahmy:

No it is not.. thanks
GumRai:

It depends on how it is coded.

It may be that after n failed attempts to open an order, it is coded to stop working. 

Hi GumRai,

Is there any idea to find whether the code was broken or not after competion of code? because while we compile and run EA no errors or warnings we found.

we came to know the code was broken when such things happen!

Keith Watford
Moderator
10652
Keith Watford  
sheriffonline:

Hi GumRai,

Is there any idea to find whether the code was broken or not after competion of code? because while we compile and run EA no errors or warnings we found.

we came to know the code was broken when such things happen!

Usually there will be some clue in the Experts log.
To add comments, please log in or register