Ethan Hamilton is going to spend the rest of the 2018/19 season on loan at Rochdale.