AlgoWizard (SQX Pro 135.868) - External Boolean Variables initially set to "0" instead of "False"

When creating a strategy with AlgoWizard, if you define an external boolean variable but do not select its initial value in the variables list, the resulting MT4 source code has "0" assigned as the initial value instead of "False". This causes MT4 to ignore changes to the boolean variable in the Inputs section of the strategy tester, meaning that setting/ changing the boolean variable Input to "True" or "False" does not get passed in to the mq4 strategy running in the tester. To avoid this situation, you must first select/ toggle the boolean variable's initial value when you create it in AlgoWizard. This causes the MQ4 code to assign "False" (or "True") to boolean variable in the MT4 source code, in which case, changes to the tester Inputs are correctly passed through to the mq4 strategy running in the tester.
Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

h
#1

HEJ

06.09.2022 17:54

Task created


Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please