RECOVERY strategy running very slow, with errors

To add comments, please log in or register
YThi MJ
134
YThi MJ  


Hi, I am trying to implement a Recovery Strategy to an EA but it has suddenly become too heavy for Strategy Tester so it is even more difficult for me to identify the errors. 

I have extracted part of the code to test it but it still runs very slow plus in Real it is not providing the right lots on the 4th trade. 

Can anybody tell me what should I do?

I am trying to do something similar to Recovery Grid Trade - Tidane Trend.mq4 / I have added the Indicator just in case you need to test it.

Best regards 

Nelson Wanyama
1068
Nelson Wanyama  
YThi MJ:


Hi, I am trying to implement a Recovery Strategy to an EA but it has suddenly become too heavy for Strategy Tester so it is even more difficult for me to identify the errors. 

I have extracted part of the code to test it but it still runs very slow plus in Real it is not providing the right lots on the 4th trade. 

Can anybody tell me what should I do?

I am trying to do something similar to Recovery Grid Trade - Tidane Trend.mq4 / I have added the Indicator just in case you need to test it.

Best regards 

Run code profiller to identify 'expensive' parts of your code, then optimize it.
YThi MJ
134
YThi MJ  

SOLVED. I had a loop in WHILE less than 2 for Trailing.

Thanks a lot  😃

To add comments, please log in or register