The coin bar represents the capacity of your treasury. If there is something that costs more than you can gather, it means it’s time to upgrade your treasury level!
Remember, expanding your ticket booth isn’t enough to increase your coin bar capacity. Go to the location with the hatchery (egg incubator), treasury, and others. Please tap on the TREASURY (it looks like a safe box) and choose the update button.