You disabled BarPeriod, so that means you're using 1 hour bars by default. However, you're checking if 'minute() == 58', so that won't work with this BarPeriod.
Andrew already wrote this.

https://zorro-project.com/manual/en/barperiod.htm

Last edited by Grant; 06/12/23 09:36.