neobabix/indicators/alligator.py
def check_bull_bar_dataframe(self, candles_2rows_dataframe):
        '''
        checks if current bar is bull divergent bar
        :return True if current bar is bull divergent bar, else False
        :param candles_2rows_dataframe: dataframe that consists of two rows of candles in chronological order, created by get_num_rows(self, n)
        '''

        # check if current bar is bull divergent bar.
        if float(candles_2rows_dataframe['Low'][0]) > float(candles_2rows_dataframe['Low'][1]) and \
                float(candles_2rows_dataframe['Close'][1]) > \
                (float(candles_2rows_dataframe['High'][1]) + float(candles_2rows_dataframe['Low'][1])) / 2:
            return True
        else:
            return False

        checks if current bar is bull divergent bar
        :return True if current bar is bull divergent bar, else False
        :param candles_2rows_dataframe: dataframe that consists of two rows of candles in chronological order, created by get_num_rows(self, n)
        
checks if current bar is bull divergent bar
:return True if current bar is bull divergent bar, else False
:param candles_2rows_dataframe: dataframe that consists of two rows of candles in chronological order, created by get_num_rows(self, n)
checks if current bar is bull divergent bar : return True if current bar is bull divergent bar else False : param candles_2rows_dataframe : dataframe that consists of two rows of candles in chronological order created by get_num_rows ( self n )
def check_bull_bar_dataframe(self, candles_2rows_dataframe):
        if float(candles_2rows_dataframe['Low'][0]) > float(candles_2rows_dataframe['Low'][1]) and \
                float(candles_2rows_dataframe['Close'][1]) > \
                (float(candles_2rows_dataframe['High'][1]) + float(candles_2rows_dataframe['Low'][1])) / 2:
            return True
        else:
            return False
def check_bull_bar_dataframe ( self , candles_2rows_dataframe ) : if float ( candles_2rows_dataframe [ 'Low' ] [ 0 ] ) > float ( candles_2rows_dataframe [ 'Low' ] [ 1 ] ) and float ( candles_2rows_dataframe [ 'Close' ] [ 1 ] ) > ( float ( candles_2rows_dataframe [ 'High' ] [ 1 ] ) + float ( candles_2rows_dataframe [ 'Low' ] [ 1 ] ) ) / 2 : return True else : return False
checks if current bar is bull divergent bar
:return True if current bar is bull divergent bar, else False
:param candles_2rows_dataframe: dataframe that consists of two rows of candles in chronological order, created by get_num_rows(self, n)
checks if current bar is bull divergent bar : return True if current bar is bull divergent bar else False : param candles_2rows_dataframe : dataframe that consists of two rows of candles in chronological order created by get_num_rows ( self n )
'''
        checks if current bar is bull divergent bar
        :return True if current bar is bull divergent bar, else False
        :param candles_2rows_dataframe: dataframe that consists of two rows of candles in chronological order, created by get_num_rows(self, n)
        ''' # check if current bar is bull divergent bar.
self
candles_2rows_dataframe