calculates indicators