Hi, This is driving me crazy but I have come to conclusion that you just cant use file access in the OnTester() function. But I hope I am wrong and someone can help? I am wanting to write data out as part of the Strategy Tester Optimisation. I can open and write to a file in both OnTesterInit() and
Hi, When I run the MT5 strategy tester in batch mode using following from windows command line: .\terminal64 /config:MQL5.TXT it writes out the xml files based upon what is setup in the config file (MQL5.TXT in this example) In that TXT config file I have the following line in the [Tester] section
I seem to randomly get 130 errors when doing an OrderModify but the SL/TP levels are absolutely correct. Anybody have any ideas why? This is so frustrating and I can’t see what else I can do with my code to fix it? Here’s the snippet of code that is generating the error bool ModOrder( int ticket
Is it possible to create an inidcator that plots a projection into the future for the bext x bars. For example, take a simple indicator that plots as a line on the screen. I want to be able to project it into the future beyond the last bar zero. I need to do this as I have a predictive algorithm