Ralph,
Your suggestions seem to have done the trick!

Thank you for spending your time to help another. The indicator is now staying current with the current bar. I hope someday to be able to repay the favor. I've posted the working indicator for all who are interested.
Thanks again!