sa1221:
I'm trying to test my EA in the strategy tester, but when I set the EventSetTimer I get an error - 4051 (ERR_INVALID_FUNCTION_PARAMVALUE).
When I put the same EA on a chart (instead of the strategy tester) , I don't get this error.
I created a new EA with only a simple print in the OnTimer() and I get the same error:
Is there a different way I should use the timer in the strategy tester?
Did you ever use the Forum Search facility ?
Thanks

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I'm trying to test my EA in the strategy tester, but when I set the EventSetTimer I get an error - 4051 (ERR_INVALID_FUNCTION_PARAMVALUE).
When I put the same EA on a chart (instead of the strategy tester) , I don't get this error.
I created a new EA with only a simple print in the OnTimer() and I get the same error: