twopirllc / pandas-ta

Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 150+ Indicators
https://twopirllc.github.io/pandas-ta/
MIT License
5.5k stars 1.08k forks source link

[bug] the ATR func use the RMA calc #39

Closed homily closed 4 years ago

homily commented 4 years ago

@twopirllc Thanks for creating this wonderful python module. I'm extensively using this module for my algos.

when i use the ATR func,the return different with tradingvew. it mabe use rma to calc. so the ATR=RMA(TA,lengh)

can you update it? Thanks !

twopirllc commented 4 years ago

Hello @homily,

Thanks for using the module. I'll take a look at it when I get a chance.

Also there will likely be differences with TradingView to a minor degree since they are using their proprietary Pinescript language, which is likely Javascript and not Python nor C. I test the indicators against those that exist in the industry standard TA Lib.

Thanks

homily commented 4 years ago

ok, thanks