If you're looking to build up gold in Pirates of the Caribbean Online, the most reliable path is to actually play the game rather than reach for outside tools. Cheat engines and similar programs tend to break with updates, risk your account, and take the fun out of the adventure anyway.
Instead, try the activities the game is built around. Fishing is a steady, relaxing way to earn coin, and taking on a boss in a hearty crew battle can pay out well if you're up for the challenge. Stick to those, and your treasure pile will grow the honest pirate's way.