US stocks closed higher on Wednesday, with the Nasdaq Composite and Nasdaq 100 leading the way. Technology buyers were making a play, with strong gains across server makers, software, networking and data-center-related shares.Super Micro Computer helped underpin the improved tone after raising its outlook on stronger AI platform demand. Netflix moved in the opposite direction, showing that earnings and guidance are still separating the winners from the losers.The gains extended across all five major indices, but participation was less convincing beneath the surface. The Russell 2000 rose just 0.16%, while S&P 500 advancing stocks only narrowly outnumbered decliners.The closing numbersDow Industrial Average: +361.22 points (+0.69%) at 52,857.10S&P 500: +45.96 points (+0.60%) at 7,758.53Nasdaq Composite: +278.04 points (+1.05%) at 26,702.86Russell 2000: +4.51 points (+0.16%) at 2,781.03Nasdaq 100: +332.24 points (+1.13%) at 29,822.52Technology attracts the buyersSuper Micro Computer was a standout, rising 9.55% to $35.57. Its stronger outlook gave buyers encouragement on AI infrastructure spending, and Dell also participated with a 5.27% gain.The buying extended beyond the server makers. Networking, cybersecurity and software shares posted sizable advances, while several power and infrastructure names joined the move.Among the notable gainers:Super Micro Computer: +9.55%Strategy: +7.54%Bloom Energy: +7.24%Datadog: +6.50%Credo Technology: +6.28%Ciena: +5.66%Dell Technologies: +5.27%CrowdStrike: +5.26%Palantir: +4.72%Vertiv: +4.26%GE Vernova: +4.03%Those moves comfortably outpaced the broader indices. Buyers were willing to put money to work, particularly in companies tied to technology infrastructure.Netflix and consumer names struggleNetflix fell 5.31% to $65.05 as investors reacted negatively to its outlook. The broader technology rally provided little protection for the streaming stock.Other notable decliners included:AT&T: −6.45%Celsius: −5.51%Whirlpool: −5.35%Netflix: −5.31%Chipotle Mexican Grill: −5.26%Tencent ADR: −4.15%Breadth leaves room for improvementThe S&P 500 breadth snapshot showed 256 advancing stocks versus 229 declining. Within the Dow, 17 stocks rose and 13 fell. Nasdaq 100 participation was stronger, with 62 advancing versus 39 declining.That fits the closing scoreboard. Technology led, the Dow and S&P followed, and small caps struggled to keep pace. Buyers have something to build on, but a broader advance would give the rally a firmer foundation.After hours earnings dumpMeta (META): BEAT on EPS excluding the litigation charge and revenue. Diluted EPS excluding the charge would have been $7.40 ($3.83 reported + $3.57), versus $6.67 expected. Reported EPS of $3.83 MISSED expectations. Revenue of $64.6 billion topped $63.31 billion expected.IBM (IBM): BEAT on operating EPS and revenue. Operating EPS of $2.95 exceeded $2.86 expected. Revenue of $17.1 billion topped $16.81 billion expected. Reaffirmed full-year revenue guidance and raised its full-year free-cash-flow outlook.Lam Research (LRCX): BEAT on adjusted EPS and revenue. Adjusted EPS of $2.20 exceeded $2.18 expected. Revenue of $8.22 billion topped $8.13 billion expected.SAP (SAP): BEAT on revenue and adjusted operating profit. Revenue of €10.3 billion exceeded €10.1 billion expected. Adjusted operating profit of €3.0 billion topped €2.93 billion expected. Full-year adjusted operating profit guidance of €11.8–€12.2 billion was above €11.7 billion expected.CSX (CSX): BEAT on EPS and revenue. EPS of $0.57 exceeded $0.53 expected. Revenue of $4.02 billion topped $3.96 billion expected.Tesla (TSLA): BEAT on adjusted EPS; MISSED on revenue. Adjusted EPS of $0.48 exceeded $0.45 expected. Revenue of $28.0 billion fell short of $28.1 billion expected.Texas Instruments (TXN): BEAT on EPS and revenue. EPS of $2.62 exceeded $2.42 expected. Revenue of $6.06 billion topped $5.92 billion expected. Next-quarter revenue guidance of $5.8–$6.3 billion was above $5.75 billion expected, even at the low end.The trading lessonA rising index does not mean every stock is moving higher. Today, strong technology gains lifted the major averages while several individual names fell more than 5%.For traders, the broader market helps establish the backdrop. The individual stock still needs to confirm the trade. Look for price to get above resistance and stay above it, and define the level that would tell you the buying momentum is fading.Related analysisUS stocks open higher as earnings and AI demand take center stage This article was written by Greg Michalowski at investinglive.com.