Hi MQL4 community,
I'm trying to at least get this code to work and I can build from there. I was able to successfully load up a button, however, when I click on it, my code is not sending a message to inform me that the action has happened. I'm doing this in strategy testing mode and wish to complete this project as a simulator.
The .mql4 file is attached below. No worry, not a lot of code in the file, which should make it easy to read.
OnChartEvent() does not work in the Strategy Tester. This is stated in the documentation and has been stated many times on the forum as well.
Timer and ChartEvent events are not handled in the Strategy Tester.
I expected that. I checked both
and didn't see anything in the note section. What I did incorrectly on my part, was not searching the forum good enough before posting this concern. I work on that next time. So, I know that it is possible to create a simulator since there are some out there. However, not sure how they were able to do it since I can't work with events in the strategy tester. I'll look a little bit more into the documentations to see what I can find.
I will use that technique.
To add comments, please log in or register