function for calculating profit doesn't work... | Forex Factory