OK, managed to sort it out, many thanks.
A few other questions please:
1. Is there a command for the bar's range (High - Low), or would I have to make a variable for that too.
2. Is it possible to round DOWN a number. So 5.3074 to 2 decimal places is 5.30 not 5.31.
3. In my scan results can I have a column for yesterday's high, I only see yesterday's close or volume in column chooser.
Many thanks
NH