V1:=MA(C,5)>MA(C,20) AND C>MA(C,20);V2:=MACD.macd>=0;V3:=V1 AND V2;V4:=C>O AND REF(C,2)>REF(O,2);V5:=C>O AND REF(C,3)>REF(O,3);(V3 AND V4) OR (V3 AND V5);