How can I test the previous day or the previous week's price levels? For example, I want to see if the ES continuous contract open>prev open buy 1 share. If open < prev open, do nothing? I like to do this for previous day high and previous weeks high and other levels such as these. Any help or guidance is greatly appreciated.