Average True Range Problem

Hi, I have had some trouble calling the average true range indicator in my paper trading account. Sometimes the ATR comes back correct (or at least it seems correct) but sometimes it comes back as a ridiculously high number, which couldn’t possibly be the correct ATR.

If anyone has advice I’d appreciate it.

Which api are you using ?

some of the indicators are manipulated, that throws the ATR off

What’s the correct API to use to get ATR of a stock?