Please be aware that when Take Profit is set on a long position, it's placed above the prevailing market price. As a result, if you place a Take Profit order after you open a position when it is already making a loss, the take profit will act as a stop loss and your position will be closed with a loss.