only call ta-lib function if length >= lookback.