Are candy canes good for horses?

No, candy canes or anything sweet like candy in general is not good for a horse to consume. However in small amounts it is okay for them to have, so long as the horse does not have a health condition like insulin resistance, laminitis / founder, etc.