Me personally, I don't have any formula as to when to sell. All I do is take profits when ever I'm in profit and I try not to get too greedy because most times greed makes us lose our potential profits and turns us into bagholders. If it's in a trade, try taking out your capital first then leave the profit to run for a while and keep taking profits from it time after time.