Your logic is correct as far as you are using a negative number on that Constant. That means prce now is in loss that distance in respect of the last open trade.