def bbands_inside_kchannels(dataframe_name):
    """Creates signals for long position
    Args:
        dataframe_name (df): Dataframe containing indicator data for Bollinger Bands and Keltner Channels
    Returns:
        A dataframe of:
            original data passed to function,
            bbkc_squeeze (flt): Signals column (1.0 = True, 0.0 = False)
    """

    # Create signal for bollinger band is inside keltner channel
    selection = dataframe_name.loc[((dataframe_name['bb_upper'] < dataframe_name['kc_upper']) & (dataframe_name['bb_lower'] >= dataframe_name['kc_lower'])), :].index
    dataframe_name['bbkc_squeeze'] = 0.0
    dataframe_name.loc[selection, 'bbkc_squeeze'] = 1.0
    
    # Return dataframe with features and target
    return dataframe_name