At 5pm, the benchmark KLCI rose 19.14 points or 1.87 per cent higher at 1,042.63, after opening 0.68 of a point easier at 1,022.81 in the morning, with an intra-day high of 1,044.77.
The KLCI previously hit an eight-month high of 1,026.78 on May 8.
TA Securities head of research, Stephen Soo said heavyweights in the market experienced a delayed rally after regional markets went on an uptrend yesterday.
"There could be some foreign buying interest in the heavyweights but the lower liners were on profit taking and consolidation mode," he said.
Soo expects the market's support level to be at 1,054 and the resistance at 1,021-1,000.
At close, the Finance Index was up 127.53 points at 8,163.0, the Industrial Index gained 41.6 points to 2,309.98 and the Plantation Index increased 190.86 points to 5,336.7.
The FBMEmas was 124.26 points higher at 6,943.53, the FBM30 went up by 139.24 points to 6,678.1, the FBM2BRD rose 1.95 points to 4,575.45 while the FBM-MDQ gained 52.7 points to 4,004.63.
Gainers led losers by just 357 to 307 while 205 counters were unchanged, 366 untraded and 34 others suspended.
Volume increased to 1.872 billion shares worth RM1.864 billion from Tuesday's 1.754 billion shares worth RM1.599 billion.
Among the active stocks, KNM and TA-WB slipped one sen each to 80 sen and five sen respectively, SAAG went down 1.5 sen to 35 sen and Scomi fell three sen to 69 sen.
The top gainers for the day included Kuala Lumpur Kepong which increased 70 sen to RM12, Nestle which went up 50 sen to RM29 and PPB which gained 40 sen to RM3.80.
As for the heavyweights, Sime Darby, Maybank and Tenaga Nasional were up 25 sen each at RM6.95, RM5.30 and RM7.55 respectively.
Bumiputra-Commerce and MISC dropped five sen each to RM8.85 and RM8.45 respectively, IOI Corp gained 16 sen to RM4.64 and Public Bank went up 15 sen to RM8.60.
Volume on the Main Board rose to 1.533 billion shares valued at RM1.769 billion from the 1.504 billion shares valued at RM1.532 billion yesterday.
Turnover on the Second Board jumped to 195.162 million units worth RM69.498 million versus 108.772 million units worth RM38.522 million previously.
Volume on the Mesdaq Market, increased to 94.316 million shares valued at RM15.580 million from 89.068 million shares valued at RM19.771 million before. Warrants went up to 37.295 million units worth RM7.118 million against 27.067 million units worth RM5.017 million on Tuesday.
On a sectoral basis, consumer products accounted for 55.026 million shares traded on the Main Board, industrial products 322.516 million, construction 149.371 million, trade/services 464.748 million, technology 22.647 million, infrastructure 37.953 million, finance 163.184 million, hotels 4.129 million, properties 251.178 million, plantations 60.14 million, mining 265,300, REITs 2.078 million, and closed/fund 184,300. -- Bernama