Ty1W:=(INDEXC-ma(INDEXC,58))/MA(INDEXC,58)<-0.14;
T2yW:=(C-ema(C,58))/EMA(C,58)<-0.12;
VARY3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
VARY4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
VARY5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
VARY6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
VARY7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
VARY8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
VARY9:=(VARY3+VARY4+VARY5+VARY6+VARY7+VARY8)/6;
VARYB:=Abs(VARY6-VARY8);
VARYC:=(VARY9+VARYB)/2;
VAR04Y:=VARYC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND vol/CAPITAL*100<2;
VARO5Y:=LLV(LOW,27);
VARO6Y:=HHV(HIGH,34);
VARO7Y:=EMA((CLOSE-VARO5Y)/(VARO6Y-VARO5Y)*4,4)*25;
尖刀A:FILTER(VAR04Y AND VARO7Y<6 AND C<REF(C,1)*1.04 AND REF(C<O AND KDJ.J<=3,1),5);