Back to Community
ADX custom factor for pipeline

I developed a numpy based ADX custom factor for pipeline that gives an exact match to talib, but it is slow.
Currently it uses for loops for Wilder smoothing of ATR, +DI, -DI, and ADX.
I'm looking for ideas to replace the for loops with something faster and more pythonic.

1 response

Not sure why the notebook was not attached when I created the post, but here it is (I hope).

Loading notebook preview...