MAA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA120:=SMA(C,120,1);
ZH:=Abs(MAA5-MA20)/MA20*100<=10;
GG:=ABS(MAA5-MA30)/MA30*100<=10;
HH:=MAA5>REF(MAA5,1);
QS:=MA20>REF(MA20,1);
ZZ:=MA30>REF(MA30,1);
DTPL:=MA20>MA30 AND MA30>MA120;
QQ:=DTPL AND QS AND ZZ AND COUNT(HH,4)<=1;
HS:=C>MAA5 AND ((HH AND NOT(REF(HH,1))) OR C>REF(C,3));
TT:=HS AND (ZH OR GG) AND QQ;
RR:=CAPITAL>3000000;
WW:=TT AND NOT(REF(TT,1));
WW1:=crOSS(macd.MacD,0) AND C>MA(C,5);
DT:=MA(AMOUNT,6)>MA(AMOUNT,12) AND MA(AMOUNT,12)>MA(AMOUNT,24);
启动:WW AND COUNT((MA10>MA20),5)=5 AND WW1 AND DT AND RR;