Try this
Data Validation
In Settings change Allow to Custom
and enter this as a formula
=(AND(P3<>"",OR(Q3="",Q3="-",Q3="+")))
Q3 will only accept blank, plus or minus if P3 has a value
otherwise it will accept anything.
(You didn't say what Q3 should accept if P3 DOESN'T have a value)