def ATR(barDs, count, timeperiod=(- (2 ** 31))):
 return call_talib_with_hlc(barDs, count, talib.ATR, timeperiod)

def ATR ( barDs , count , timeperiod = ( - ( 2 ** 31 ) ) ) : return call_talib_with_hlc ( barDs , count , talib . ATR , timeperiod )
average true range .