No, the error message looks like inconsistent series. This has nothing to do with skipping bars, but could mean the ATR call itself is somewhere skipped.