Read up on
http://en.wikipedia.org/wiki/Moving_average.
IMHO: I dont think you did something wrong. After all you should made some profit? Well, next time you see someone wanting to buy a whole market, simply sell for a reasonable price to even your last buys and then hold them. That way you wont lose anything and you can decide when to sell. $1 a piece is not that bad if you bought if for $.35. After all thats somewhat of a ~+150%. You simply did not buy enough in the first place to sell them for $1.