Has the OP been reading these helpful replies?
Seriously though, when you invest, record the "buy price" and then sell them at a higher "sell price"; if you buy one BTC at $350, and then another at $370, and another for $410, sell the first one when the price goes up to $400, and yeah...patterned like that