Disliked{quote} you are still going about it the hard way imo test the outcomes just once and generate a unique number using binary, then simply use a case statement for the different outcomes. in this way you only test the scenarios once and do not have to do loads of IFs with condition checking. simplest,quickest, most efficient way of doing thisIgnored
It's not that I disagree with you. I hear what you are saying. I simply would not know where to begin unless I saw live implemented code to work with and copy, paste, customize and test.
I'm not asking you to post proprietary code or to code it for me or others here. I wouldn't ask you do that unless you wanted to, and more importantly unless I could immediately understand it.
Even if you posted it like rockit has done, I probably would not understand more than 2 or 3 lines of the code.
I understand a lot of the *basic* syntax of standard MT4 commands and logic and can understand suggestions in MQL and/or can look them up on online. However, the syntax of more advanced coding like nested loops and arrays or binaries (as you suggest) is not immediately in my mental grasp.
It's like this. I know how to drive a car. But, could I drive an F1 at top speed on a live course with other cars flying around me? Probably not effectively.
I appreciate the F1 type programming suggestions. The seeds have been planted. Right now I've realized even more that rock solid logic, immediate implementation and testing is more important to me than efficient or advanced coding methods.
Should it become necessary that other coding methods are absolutely necessary to implement what I need or want to implement, then it's time to acquire more advanced programming skills or partner up with someone that can. Right now it's testing what ideas I have, as quickly as possible and then learning more effective and more efficient coding later.
Thank you.