I want to compare a stock with SPY to get the relative strength. Say if SPY is making a new high but the interest stock is not making a new high, then the interest stock is relative weak compared with SPY. And vice versa. I want to find out the relative strong or relative weak stocks in real time (intraday). Is there any screener that I can use or an indicator? If I am going to write an indicator, I think I should be able to use the specific time as a parameter(say 10:01 or 10:16) instead of a number to indicate the bar of "how many minutes ago" to get the bar information. Does anyone know which software I can use specific time as a parameter to specify a bar?