Traceback (most recent call last): File "F:/GZH/stock/src/com/gzh/stock49.py", line 32, in <module> and df['close'].iloc[-4] > df['ma_5'].iloc[-1]