B:=C>REF(C,1);D:=C=REF(C,1);E:=C<REF(C,1);M:=6;F:=COUNT(B,M)+COUNT(D,M)+COUNT(E,M);上升概率:100*COUNT(B,M)/F;下跌概率:100*COUNT(E,M)/F;平盘概率:100*COUNT(D,M)/F;v1:=(C-LLV(L,9))/(HHV(H,15)-LLV(L,9))*100;v2:=SMA(v1,3,1);v3:=SMA(v2,3,1);A1:IF(C/MA(C,3)>=1.05 AND MA(AMOUNT,3)/MA(AMOUNT,20)>1.5 AND COUNT(V3<20,20)>=1,100,0);