We have received a lot of questions about the usage of ref(), which is used for looking up previously returned values of indicators plotted on advanced charts within an EFS formula. Our documentation doesn't include information on ref() yet. For a detailed explanation of the syntax and usage of ref(), please download RefUsage.efs and RefUsage2.efs from our EFS Database group.
ref(nRelativeOffset, nNumBars)
ref(nRelativeOffset, nNumBars)