DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
V1:=MacD>=0.3;
V3:=MACD<REF(MACD,1);
V4:=COUNT(V3,3)=3;
V5:=COUNT(V1,4)>0;
V6:=C>REF(H,1);
V7:=DIF>DEA;
G:=MA(C,10)>MA(C,21) AND MA(C,5)>MA(C,10) AND MA(C,3)>MA(C,55);
REF(V4,1)=1 AND V5 AND V6 AND V7 AND G ;