Pending Orders will not expires in Strategy tester
Improperly formatted code edited by moderator. Please always use the CODE button (Alt-S) when inserting code.
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
thanks. I found out the problem. I used the test based on Daily Timeframe and so regret strategy tester was not able to expire the pending orders on he subject day. !!!! it was a bad bug in strategytester.
I have to use the test in lower timeframes like H4, then strategy tester expires orders on 2nd candle of H4 for next day. !!!!!!
Hello,
I am using pending orders in my EA and need they expire today if not activated. but in strategy tester the pending orders will not expired and still remain pending orders in terminal tab.
What is the problem here ? how can be resolved ?
My code is as below.