Hi I managed to get a list of all rsi and Kama values of my stock list but I can seem to be able to accomplish the same with MFI. Any tip from a python guru here?
rsi = prices.apply(t.RSI, timeperiod=context.rsi_window_size).iloc[-1]
#OK
kama = prices.apply(t.MA, matype=6,timeperiod=5).iloc[-1]
#OK
mfi = prices.apply(t.MFI, high=highs, volume=volumes, low=lows, close=prices, timeperiod=14).iloc[-1]
#error
best, Peter