* Apple biggest boost to three major indexes
* Gold touches 5-year low; Copper, oil prices fall
* Vivint Solar soars after SunEdison deal
* Indexes up: Dow 0.19 pct, S&P 0.19 pct, Nasdaq 0.27 pct (Updates to early afternoon)
By Tanya Agrawal
July 20 (Reuters) - Wall Street was higher in early afternoon trading on Monday as better-than-expected earnings from big companies overshadowed a fall in commodities.
Shortly after trading began, the tech-heavy Nasdaq composite added to its gains from last week and touched a record for the third straight day as investors shift their focus to earnings from concerns surrounding Greece and China.
Gold prices plunged as much as 4 percent to their lowest in more than five years while copper prices hit their lowest in nearly two weeks. Oil prices fell too on signs of a growing glut in refined products.
The dollar index was up marginally at $97.87. It had earlier hit a three-month high due to expectations of a Federal Reserve rate hike this year.
"The commodity markets are lower which are a concern because if those prices fall then economic growth isn't as strong as we thought," said Paul Nolte, portfolio manager at Kingsview Asset Management in Chicago.
On Friday, strong earnings from Google pushed the tech-heavy Nasdaq to a record close, which gained 4.3 percent for the week, its largest weekly gain since October while the S&P 500 stopped just short of its record high.
Tech earnings will continue to be in focus this week with IBM reporting after the close on Monday and other big tech giants such as Apple, Yahoo and Microsoft expected to report later this week.
Of the companies that have reported earnings so far, 71 percent have reported earnings above analyst expectations, above the 63 percent that typically beat in a quarter.
However, only 51 percent have beaten on revenue, below the 61 percent.
U.S. companies were expected to post their worst sales decline in nearly six years in the second quarter, in part due to the strong dollar that reduces the value of U.S. companies' overseas income. Profit is expected to have fallen 2.9 percent, according to Thomson Reuters estimates.
"Revenue growth is very weak and unless you see some sustainable growth, we'll continue to see sideways movement for the rest of the year," said Nolte.
At 12:53 p.m. ET (1653 GMT) the Dow Jones industrial average was up 34.74 points, or 0.19 percent, at 18,121.19, the Nasdaq Composite was up 13.85 points, or 0.27 percent, at 5,223.99.
The S&P 500 was up 3.97 points, or 0.19 percent, at 2,130.61, just 4 points shy of its all-time high of 2134.72, set in May.
Six of the 10 major S&P 500 sectors were higher with the technology index leading the advancers with a 0.52 percent rise.
Apple's 2 percent rise was the biggest boost to the three major indexes.
Morgan Stanley rose as much as 1.8 percent to an almost seven-year high of $40.94, after the bank's profit beat expectations as its bond and equities trading businesses handily outperformed those of its Wall Street rivals.
PayPal Holdings was up 6.3 percent to $40.80, on its trading debut after it split from e-commerce company eBay .
Vivint Solar soared 44 percent to $15.66 after solar company SunEdison said it would buy the company in a deal valued at about $2.2 billion, including debt. SunEdison was up 2.5 percent to $32.27.
Hasbro rose as much as 6.7 percent to an all-time high of $83.52 after the U.S. toymaker reported a lower-than-expected decline in quarterly revenue, helped by strong demand for its "Jurassic World"- and "Star Wars"-themed toys.
Declining issues outnumbered advancers on the NYSE by 1,885 to 1,108. On the Nasdaq, 1,748 issues fell and 975 advanced.
The S&P 500 index showed 39 new 52-week highs and 29 new lows, while the Nasdaq recorded 108 new highs and 105 new lows. (Editing by Don Sebastian)