Hello,
I would like to feed talib.ROC function the averages of the 14 period EMA based on 15m bar highs and the 14 period EMA based on 15m bar lows. I have not been able to accomplish such a goal. Although I am quite confident that if there is no quick solution I can simply code my own ROC function to work with what I have, I would like to avoid such an inconvenience if possible.
Is there a way to feed the talib.ROC function custom data, in this case the average of 2 emas?
I suspect that one solution may be converting the ema_mid list into a pandas dataframe but I am not sure how to make that work.
Thanks for any and all help!