Using Timer in strategy tester
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
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: