price() is the mean price of the bar. Bar length irregularity is not evaluated in trading systems, except for special cases where tick density or sampling frequency is important.