The U.S. dollar has been weakening all year in a sign of possible threats to its global standing. Meanwhile, gold is having its day in the sun, rising above $4,000 an ounce for the first time on Tuesday and poised for what some analysts think will be levels near $5,000 by the end of next year.