Unadjusted 52-High

I want to calculate the proximity of the current share price to the 52 week high. “Price / PriceH” will not work because PriceH is not adjusted for future splits and dividends. How can I fix this?

I think HighVal(252) or HighVal(252,0,#High) would work depending on whether you want highest close or highest high.

Walter

Thank you Walter! It seems to work. When I use ShowVar(@rm_high,HighVal(252,0,#High)) for the ticker ESI p123, Yahoo and Morningstar show 10.83. When I do the same with CEQP p123 shows 82.90, Yahoo 92.80 and Morningstar 94.00. CEQP had this Tuesday before the open a reverse split of 10:1.