My trading universe will be limited to USDCAD, EURUSD, AUDUSD, USOIL and XAUUSD.

I want to be able scan these pairs to see if the previous day was a new high compared against previous minus one. ie. the day before the previous. 

Once we have identified these pairs it will be available for a 15 min day strategy. My problem is that since im looking at minute data for my strategy how do i look at daily data from the previous todays to fullfill my first daily criteria 

Author