Libraries: MQL_Easy (For MT4)

To add comments, please log in or register
Automated-Trading
153016
Automated-Trading  

MQL_Easy:

A cross platform library/framework

Author: Dionisis Nikolopoulos

Revo Trades
170
Revo Trades  
i have a bug that sometimes, when my ea sends a new order to server, it will open multiple orders until it reaches my maximum limit of allowed trades. And after doing research on the web, it is very common bug, but i have found almost 0 way to get around it or stop it from occuring. It rarely happens, but when it does it is a pita. Can you tell me that your execution code has same bug?
Dionisis Nikolopoulos
14179
Dionisis Nikolopoulos  
Revo Trades:
i have a bug that sometimes, when my ea sends a new order to server, it will open multiple orders until it reaches my maximum limit of allowed trades. And after doing research on the web, it is very common bug, but i have found almost 0 way to get around it or stop it from occuring. It rarely happens, but when it does it is a pita. Can you tell me that your execution code has same bug?

I haven't faced an issue like yours. But if you provide your code maybe i can help you and also check if that issue exist on the MQL_Easy framework.

José Fortes
12
José Fortes  

Hello,


I run the example , but it doesn't stop in the chart window.

Can you help me?


Thanks.

Dionisis Nikolopoulos
14179
Dionisis Nikolopoulos  
José Fortes:

Hello,


I run the example , but it doesn't stop in the chart window.

Can you help me?


Thanks.

Yes, of course.
I will need more information about your issue.
What do you mean by "it doesn't stop in the chart window" ? 
The script does the following:
1) open a trade
2) modify the sl and tp
3) modify again
4) and finally close that trade.

Which steps do you see happening and which you don't?
Also, check at the Experts tab if there is any error message.

Regards

José Fortes
12
José Fortes  
Dionisis Nikolopoulos:

Yes, of course.
I will need more information about your issue.
What do you mean by "it doesn't stop in the chart window" ? 
The script does the following:
1) open a trade
2) modify the sl and tp
3) modify again
4) and finally close that trade.

Which steps do you see happening and which you don't?
Also, check at the Experts tab if there is any error message.

Regards

Hello,

thanks for your reply.

What happens is that I don't have enough time to see what the program does.

It's too quick.

Thanks.

Dionisis Nikolopoulos
14179
Dionisis Nikolopoulos  
José Fortes:

Hello,

thanks for your reply.

What happens is that I don't have enough time to see what the program does.

It's too quick.

Thanks.

Hi, 
If you open the script example into mql editor, you will see a function called sleep. Increase the parameter of that function from 2000 ms to 10000 ms and then you will have enough time to observe the changes. 10000 ms = 10 seconds

Regards
To add comments, please log in or register