CM1:=EMA(CLOSE,3);
CM2:=EMA(CLOSE,8);
CM3:=EMA(CM2,13);
CM4:=EMA(CM2,55);
CVAR1:=EMA(CM3,55);
CVAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
CVAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);
CVAR4:=REF(CLOSE,1);
CVAR5:=SMA(MAX(CLOSE-CVAR4,0),7,1)/SMA(Abs(CLOSE-CVAR4),7,1)*100;
CVAR6:=crOSS(79,CVAR5);
CVAR7:=FILTER(CVAR6,4);
CA7:=(2*C+H+L)/4;
CVAR10:=LLV(LOW,34);
CVAR11:=HHV(HIGH,34);
CSK:=EMA((CA7-CVAR1)/(CVAR2-CVAR1)*100,7);
CSD:=EMA(0.667*REF(CSK,1)+0.333*CSK,5);
买进2:IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND vol>=1.5*MA(VOL,5) AND
COUNT(CSK>=CSD,3) AND REF(LOW,1)=LLV(LOW,120),1,0);