If the ever updating chart is a problem, just print out the string result of TimeToStr( Time[shiftOfTheBarYouLookingAtViaiCustom] ) - the Time[..] is constant once you have printed it out and not then matter if chart gets more bars such that Time[shift] no longer maps same datum/bar.