compiles but then write file error

 
Comments that do not relate to the "Somebody that could help me to write this code please.", have been moved into this topic.
 
Hello, anyone can help this problem. EA compile no problem but strategic tester show TestGenerator: write file error

 
Frankie Kok #:
Hello, anyone can help this problem. EA compile no problem but strategic tester show TestGenerator: write file error

  1. Don't capture different topics!
  2. If the code can be compiled without any error but it doesn't do what you expect use the debugger to find out why - it is exactly made for this.
    Code debugging:  https://www.metatrader5.com/en/metaeditor/help/development/debug
    Error Handling and Logging in MQL5:  https://www.mql5.com/en/articles/2041
    Tracing, Debugging and Structural Analysis of Source Code, scroll down to: "Launching and Debuggin": https://www.mql5.com/en/articles/272

Code debugging - Developing programs - MetaEditor Help
  • www.metatrader5.com
MetaEditor has a built-in debugger allowing you to check a program execution step by step (by individual functions). Place breakpoints in the code...