Difference between ATR and TR indicator on pi

It seems that there are two indicator one is ATR and TR coder say that code for ATR is TR() but when plotted on backrest or chart it plots TR and not ATR.
Seems something wrong.
In that case what is code for ATR it’s not TR() for sure