if 条件1 and 条件2 and 条件3 then buy();
if 条件1 or 条件2 or 条件3 then buyshort();
if not(条件1 and 条件2 and 条件3) then buyshort();
怎么不一样?除了没写如果满足两条的情况,都是上述的处理逻辑。你可以自己尝试写下
if not(条件1 and 条件2 and 条件3) then buyshort();
if 条件1 or 条件2 or 条件3 then buyshort();
if (条件1 and 条件2) OR (条件2 and 条件3) OR (条件1 and 条件3) then buy();
if 条件1 and 条件2 and 条件3 then buy();