seems to work for me. The Maxvals are not from yesterday though, as your BarPeriod is one day.