My script successfully compiles without any errors but won't submit a trade in the strategy tester, and my print function doesn't return a value.
Please submit your code for the review (Alt-S).
NOTE: normally Script doesn't trade (do not usually handle trading operations in the same way as Expert Advisors do).
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please submit your code for the review (Alt-S).
NOTE: normally Script doesn't trade (do not usually handle trading operations in the same way as Expert Advisors do).
Thank you! I appreciate your support, is there a link you know of that might go into more detail about this? Much appreciated.
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
I have attached the script! I appreciate your help!
Thank you! I appreciate your support, is there a link you know of that might go into more detail about this? Much appreciated.

- 2019.08.21
- doctorbeppo
- www.mql5.com
You have already been informed to provide the source code file (.mq5), not the executable file (.ex5).
Nothing can be done with executable files. If you want help with your code, then show the source code.
Also, if you generated the code with ChatGPT (or other A.I.) then we will not help you. It generates horrible code, mixing MQL4 and MQL5.
You have already been informed to provide the source code file (.mq5), not the executable file (.ex5).
Nothing can be done with executable files. If you want help with your code, then show the source code.
Also, if you generated the code with ChatGPT (or other A.I.) then we will not help you. It generates horrible code, mixing MQL4 and MQL5.
Please submit your code for the review (Alt-S).
NOTE: normally Script doesn't trade (do not usually handle trading operations in the same way as Expert Advisors do).
This is a messy mixture of MQL5 and MQL4 code. It certainly looks like horribly generated code.
Did I not say not to ask for help with A.I. generated code?
It is a total mess. It cannot be fixed. It has to be properly written from scratch.
Either learn to code MQL5 properly, or hire someone to code it for you.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi! A script I coded successfully compiles without any errors but won't submit a trade in the strategy tester, and my print function doesn't return a value, I am stuck is there any advice that could be given on what the next steps would be in order to start the debugging process?
Thank you!
Executable file removed by moderator