Shouldn't 14500 - 14510 produce -10?
I'm not getting any negative numbers in my calculations. What could be wrong? I'm trying to calculate short position profit with
profit = entry - close();
When the trade goes down it works fine but when it goes up against the position it shows a positive number instead of a negative one!
Hmm? thx
I'm not getting any negative numbers in my calculations. What could be wrong? I'm trying to calculate short position profit with
profit = entry - close();
When the trade goes down it works fine but when it goes up against the position it shows a positive number instead of a negative one!
Hmm? thx
Comment