BA1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BA2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BA3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR1:=LLV(LOW,36);
VAR2:=HHV(HIGH,30);
VAR3:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*4,4)*25;
MM:=(BA1+2*BA2+3*BA3)/6;
MN:=MA(MM,3);
MT:=MA(MM,5);
DBL:=IF(MN<-5,1,0);
选股:CROSS(MN,MT) AND DBL;