TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
CCI修正1:=EMA(EMA(EMA(CCI,2),2),2);
CCI修正2:=EMA(EMA(EMA(CCI,3),2),2);
X:=(CROSS(CCI修正1,CCI修正2) OR (CCI修正1 >=CCI修正2))
AND CCI修正1>=-101 AND CCI修正1>=REF(CCI修正1,1)
AND REF(CCI修正1,1)<-101 ;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
K1:= EMA(EMA(EMA(K,2),2),2);
D1:= EMA(EMA(EMA(D,2),2),2);
J1:= EMA(EMA(EMA(J,2),2),2);
Y:= J1 > REF(J1,1) ;
X AND Y;
VA11:=100-3*SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,34)-LLV(LOW,13))*100,13,1)+2*SMA(SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,34)-LLV(LOW,13))*100,13,1),6,1);
VA21:=100-3*SMA((OPEN-LLV(LOW,13))/(HHV(HIGH,34)-LLV(LOW,13))*100,13,1)+2*SMA(SMA((OPEN-LLV(LOW,13))/(HHV(HIGH,34)-LLV(LOW,13))*100,13,1),6,1);
VA31:=VA11REF(VOL,1) AND CLOSE>REF(CLOSE,1);
(VA31 AND COUNT(VA31,21)=3)*0.6;