LC:=REF(CLOSE,1);
A:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(Abs(CLOSE-LC),4,1)*100;
顶一:BArslASTCOUNT(A>=80)>=2;
大顶:BARSLASTCOUNT(A>=80)>=5;
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
D:=MA(K,3);
连涨D:=BARSLASTCOUNT(D>=90)>=2;
顶二:连涨D;