The average purchase price calculation involves the average purchase value for each coin, calculated and compared with the current market value. 

It answers the question How much would you have to sell your coin for in order to make a profit?

The calculation is as follows:

 1st buy (coin amount * purchase price) + 2nd buy (coin amount * purchase price) + ... - 1st sale (coin amount * purchase price) - 2nd sale (coin amount * purchase price)...

The result is an average value in FIAT for all coins you own. If the actual sale price is higher, the line turns green and shows you how much profit you would make with that sale. In the other case, the row will turn red and show you how much you would loose if you sold everything now.

Why is the purchase value negative?

Your purchase value can actually be negative if you've already made so much profit that you can't make a loss. Example: You buy 1,000,000 DVC for $100. 1 week later, 1,000,000 DVC is now worth $400. You sell the half for $200. You've made $100 profit and still have 500,000 DVC left. In this case, your purchase value is negative because you have gained more than your initial purchase. Even if the DVC price falls to 0, you can't be at a loss. You will always come out with a gain of $100 minimum.

So having a negative average purchase price is not a problem, but a great sign!