Jamie
To do that you need to add a bar index parameter ie high(barIndex,inv("D")) where barIndex is -1 for the prior bar, -2 for two bars ago, etc.
See also the formulas included in the OHLC folder for an example of how to do it using the .getValue() method
Alex
Comment