均价:=(HIGH+LOW+CLOSE)/3;
大盘均价:=(INDEXH+INDEXL+INDEXC)/3;
个股趋势:=SMA(((均价-LLV(均价,28))/(HHV(均价,28)-LLV(均价,28))*100),3,1);
大盘趋势:=SMA(((大盘均价-LLV(大盘均价,28))/(HHV(大盘均价,28)-LLV(大盘均价,28))*100),3,1);
cyc5:=CYC(5);
CYC34:=CYC(34);
VAR1:=LLV(LOW,13);
VAR2:=HHV(HIGH,13);
散户:=SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1);
VAR3:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),5,1)*100;
操作:=EMA(VAR3,3);
XG1:=大盘趋势-个股趋势;
XG:CYC5< CYC34 AND crOSS(操作,散户)AND 操作<60 AND XG1<45 AND C/REF(C,1)>1.06;