Hi i would like to check if i'm invested in either of 2 pairs. If i am not invested in one of them then i would like to initiate my buy/sell IF conditional statement.  I've tried doing an or statement like "if eurusd invested is false or gbpnzd invest is false " then check for buy signal (using WILR and slow EMA) but this hasn't worked. I"ve been working on this for like 24 hours. i've searched forums  as well. does anyone know how to do this? I don't want the algo to check for opportunities with my array of eurusd and gbpnzd then buy and hold one at a time. It either does that or it will keep triggering the same signal on one pair and triple purchase lots on it. 

Author