Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
Var2:=EMA(EMA(EMA(Var1,4),4),4);
SJ: =(Var2-REF(Var2,1))/REF(Var2,1)*100;
SD:= MA(SJ,2);
SK:= MA(SJ,1);
VAR4:=(LOW+HIGH+CLOSE)/3;
操作:=MA(VAR4,5);
XZX:=HHV(操作,30);
买卖:=LLV(操作,13);
J:=买卖+0.0001;
JC:=crOSS(操作,j);
ZF:=(HHV(H,7)-LLV(L,7))/LLV(L,7)>0.07 AND (HHV(H,7)-LLV(L,7))/LLV(L,7)<0.18;
LSJC:=COUNT(sk>=SD,7)>0;
QD:=LLV(sk,12);
小双底:COUNT(JC,10)>0 AND L<买卖 AND 买卖=REF(买卖,5) ,colorred;