A flurry of new policies from Donald Trump combined with robust corporate earnings has bolstered investor optimism as global stocks gained.