Reply

Error with OnInit & OnDeinit rules

1 replies

aeroknight

Subscriber, bbp_participant, customer, community, sq-ultimate, 12 replies.

Visit profile

1 year ago #280265

When any rule is added on Strategy Init or Deinit, the MQL5 source code shows the rules within:

 

 if(_sqIsBarOpen == true){
  }
This seems to delay the OnInit & OnDeInit rules until next bar – this is not the intended action for Init and DeInit rules. I am pretty sure this is a bug in AlgoWizard that needs to be fixed.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #280290

Hi,

thanks. I think this can be improved. I have made a note for our dev team to check and tweak into next update.

0

Viewing 1 replies (of 1 total)