NumOpenLong>0 or TradeIsLong, if in a TMF or for(.._trades) loop.