def calculate_up_down_label(last_close, close):
    """ Calculate the label for a given input. The label is a boolean with True if the current closing time is higher
    than the last closing time and False if equal or lower.

    :param last_close: closing price of last candle
    :param close: closing price of current candle
    :return: boolean
    """
    return close > last_close