I want to append the momentum indicator to a list so I can find the mean and build a moving average of that indicator. Is this possible to do with Tradewave?
yes but that would be needlessly hacky
would be easier just to stick with direct talib implementation and avoid tradewave's api so you have array output from mom to begin with
PAIR = info.primary_pair
import talib as ta
close = data[PAIR].period(250,'close')
mom = ta.MOM(close, 20)
ma_mom = ta.MA(mom, 20)
plot('mom', mom[-1], secondary=True)
plot('ma_mom', ma_mom[-1], secondary=True)
Thanks litepresence! I am lost without you
here's an example of warming up RSI without use of talib
Ya, i'm going to stick to talib. I tired to build a momentum indicator from scratch here https://tradewave.net/strategy/nADLXgOGvi and ran into warmup issues. Looks like I can build on top of talib and have my bot function at start.