It certainly has been a wild ride for the S&P/ASX 200 (Index: ^AXJO) (ASX: XJO) in the last 30 days. At one stage it dropped down as low as 5,060 points, whereas today it is making a push for 5,400 points.

During this time there have been three shares in particular which have been outperforming the market by some distance. The big question now for shareholders is whether there are more gains to come. Here they are:

EVOLUTION FPO (ASX: EVN)

The share price of this gold miner has rocketed over 29% higher in the last 30 days. This is largely the result of the rise in the gold price thanks to increased levels of market volatility following Britain’s vote to exit the European Union. But also attributable to the rise was its preliminary results for the year. Following record gold production in the recent June quarter, management expects gold production for the entire year to be 800,000 ounces at an all-in sustaining cost of A$1,000 per ounce. With the gold price currently US$1,356 per ounce, the company looks set to make bumper profits this year. Since September 2015 it has repaid $322 million of debt, reducing the total debt on its books to $285 million. If the gold price continues to climb higher then I have little doubt Evolution Mining’s share price will do likewise. But with the markets looking a lot less volatile at present, gold may potentially fall out of favour and put pressure on its shares.

Kathmandu Holdings Ltd (ASX: KMD)

Shares of Kathmandu have surged around 15% since the end of June after the outdoor and adventure retailer released a very upbeat trading update. Like many market commentators I expected the warmer start to winter to create a difficult trading environment for the company. But against the odds it expects to post full year net profit between NZ$32 million and NZ$35 million, which will mean an impressive increase in profit of around 60% year on year. Unfortunately I feel the shares are about fair value now based on its guidance, so investors might be better off waiting for a pull back or looking elsewhere for an investment.

Ozforex Group Ltd (ASX: OFX)

On the day of the Brexit vote OFX saw its share price drop by around 5%. The very next trading day was a different story though after it emerged that the foreign exchange provider’s global payment activity spiked both in the lead up to the European Union referendum and after the outcome was known. The shares have rallied over 11% since the company’s announcement, taking its gains in the last 30 days to over 13%.

I believe its success during a time when many providers suspended their activities demonstrates the progress the company is making with its Accelerate Strategy. This is a medium term growth initiative where the company is investing in its core infrastructure to facilitate long-term capability. According to CommSec, analysts are expecting earnings to grow by almost 18% per annum for the next couple of years. At the current price and with a rapidly growing fully franked dividend, I believe OFX could be a good long-term investment.

But before you look at investing in any of these shares I would highly recommend checking that you don't own one of these three rotten ASX shares. In my opinion they could be doing more harm than good to your portfolio and it may be best cutting them loose.

3 Rotten Shares to Sell, and 1 to Buy Today

After a double-digit rally for the ASX since 2016 lows, investors should be on high alert. You'll find a full rundown below of 3 shares we think you should avoid today plus one top pick worth buying, even if the market turns south and the RBA keeps rates at an "emergency low." Simply click here to uncover these stocks.

HOT OFF THE PRESSES: Motley Fool’s #1 Dividend Pick for 2017!

With its shares up 155% in just the last five years, this ‘under the radar’ consumer favourite is both a hot growth stock AND our expert’s #1 dividend pick for 2017. Now we’re pulling back the curtain for you... And all you have to do to discover the name, code and a full analysis is enter your email below!

Simply enter your email now to receive your copy of our brand-new FREE report, “The Motley Fool’s Top Dividend Stock for 2017.”

By clicking this button, you agree to our Terms of Service and Privacy Policy. We will use your email address only to keep you informed about updates to our website and about other products and services we think might interest you. You can unsubscribe from Take Stock at anytime. Please refer to our https://www.fool.com.au/financial-services-guide">Financial Services Guide (FSG) for more information.

Motley Fool contributor James Mickleboro has no position in any stocks mentioned. The Motley Fool Australia has no position in any of the stocks mentioned. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy. This article contains general investment advice only (under AFSL 400691). Authorised by Bruce Jackson.