When the market opens, the first print will be both the high and the low for the session, so maybe you can code it as long if c = open + (ave...
Separate names with a comma.