Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How to measure the slope for OBV(on balance volume)?/help-with-talib-linear-regression

I am trying to use "obv" in my strategy but since the obv indicator y_axis is not giving you valuable pieces of information, we need to measure the slope in order to detect the up or downtrend.
I tried to use the OBV slope with linear regression in ta_lib as documented, but the results are different from what I am expecting.
Can someone please help me to set the right slope for this indicator?
In addition to my question, I am looking for a trend_indicator for "OBV".
Thanks