Small bug in MQL5-Function OnTimer

The line beginning with "if(parts != 3 || " makes the complete function senseless, because there are only 2 parts (deleted by '_')!

So the correct line should look as follows instead:

"if(parts != 2 || StringFind(variableNameParts[0], getVariablePrefix()) != 0) continue;"

Attachments
  • Votes +1
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

k
#1

kleva

10.11.2021 12:30

Task created

E
#2

Emmanuel

25.11.2021 11:14
Voted for this task.

Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please