An apparatus for determining variation over time of a medical parameter of a human being obtained from a sensed signal has a sensor implantable in the human being for sensing the signal. A comparator compares at least one characteristic property, derived from the sensed signal obtained for at least one predetermined first level of activity of the human being, with corresponding reference property of a sensed reference signal, obtained for a predetermined reference level of activity of the human being, for determining a relation between the characteristic property of the sensed signal and the reference property. A trend determining unit determines trends in the medical parameter by analyzing the relation between the characteristic property of the sensed signal obtained at different times and the reference property. A corresponding method also function an implant for heart failure diagnostics also function as described. A sensor is then arranged to pick up dynamic mechanical information from the heart of the human being and generate a corresponding signal. A heart stimulator includes such an implant and a control unit arranged to control stimulation of the heart depending on determined trends in the medical parameter.