Difficult to say without seeing the lay-out of your schedule and without knowing what Excel version you are using.
The 2nd formula references 5 alternating rows like H7, H9, H11, H13 and H15. Then it hops over 7 rows and references H21. Could you re-design the schedule so that you can address entire ranges rather than individual cells?
With a modern Excel version, the formula could then look something like this (note my Excel version uses commas to separate function arguments):
=IF(OR(SUM(--(PAIRS!H5:H10="BUY"))=6,SUM(--(PAIRS!H12:H13="BUY"))>0),"W1 Trend Buy","")

And I'm sure others can come-up with alternatives.