AlgoWizard - Action-Only rule type set to trigger on Bar Open executes on every tick, not every bar

In AlgoWizard, when creating a new rule, selecting an 'Action only' rule type (with no IF clause) with Rule Event  'OnBarUpdate' and 'RULE IS TRIGGERED ON BAR OPEN' causes the rule to execute on every tick, instead of executing on bar open.


Examining the generated MQ4 code, it appears that it is missing the necessary  "if (sqIsBarOpen()"  around the rule code.

Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Bug
  • Status Fixed
  • Priority Normal

History

h
#1

HEJ

26.02.2021 06:08

Task created

MF
#2

Mark Fric

02.03.2021 11:02

Status changed from In progress to Fixed


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