How do we use supertrend indicator in Pyalgotrade?
There are a few indicators supported from the talib integration
But supertrend is not in that list.
There are other libraries that support supertrend - for example this stackoverflow thread: SuperTrend code using pandas python has an implementation from pandas_ta
And other direct python implementations (meaning without any libraries) of supertrend.
Will be great if we someone can guide on how to code custom indicators in PyAlgotrade