for i in range(0, len(df['low']): # loop that goes through first candle till last
    if df['low'][i]< df['low'][i-1]: # Current low less than previous low
        blah blah blah                # write your logic
array=Data of array   # array is the variable in which we have stored the data of array
import pandas as pd
# lets create a variable Stock1
Stock1 = pd.DataFrame(array)