Shares of MasterCard (MA) - Get Report hit new all-time highs Friday after the credit card company reported better-than-expected earnings per share and revenue.

MasterCard had an "amazing" quarter, TheStreet's Jim Cramer, co-manager of the Action Alerts PLUS portfolio, said on CNBC's "Stop Trading" segment. 

The company's 21% profit growth was "really extraordinary" and is a top result among its peers, he added. The stock is rallying on these results, as it should it, Cramer added. 

There is a notable flow by investors out of healthcare stocks into other sectors. "It's a one-way flow out of drugs stocks and into tech and financials," Cramer said. 

MasterCard put up "really amazing growth for that big of a company," Cramer concluded of the $116.5 billion company. 

Image placeholder title

At the time of publication, Cramer's Action Alerts PLUS had no position in companies mentioned.