VAR1:=REF(LOW,1);
VAR2:=SMA(Abs(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,30);
VAR5:=HHV(VAR3,30);
VARG7:=IF(LLV(LOW,58),1,0);
VAR6:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VARG7;
VAR7:=IF(VAR6>100,100,VAR6);
VARG5X:=LLV(LOW,75);
VAR8:=HHV(HIGH,75);
VARG7X:=(VAR8-VARG5X)/100;
VAR9:=SMA((CLOSE-VARG5X)/VARG7X,20,1);
VAR10:=3*VAR9-2*SMA(VAR9,15,1);
VAR11:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=(CLOSE-LLV(LOW,40))/LLV(LOW,40)*100,COLORYELLOW;
波段王:=SMA(VAR12,3,1);
建仓吸筹:=IF(VAR6,VAR6,1),COLORRED;
选股:crOSS(VAR13,建仓吸筹);
ST:=EXIST((C/REF(C,1)-1)*100>5.6,60);
TP:=OPEN>0;
SYX := HIGH - MAX(CLOSE, OPEN);
STC := Abs(CLOSE - OPEN);
TJ := SYX <= STC;
volUME:=VOL;
MAVOL1:=MA(VOLUME,5);
MAVOL2:=MA(VOLUME,10);
LC:=REF(CLOSE,1);
AA:=ABS(HIGH-LC);
BB:=ABS(LOW-LC);
CC:=ABS(HIGH-REF(LOW,1));
DD:=ABS(LC-REF(OPEN,1));
R:=IF(AA>BB AND AA>CC,AA+BB/2+DD/4,IF(BB>CC AND BB>AA,BB+AA/2+DD/4,CC+DD/4));
X:=(CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1));
SI:=16*X/R*MAX(AA,BB);
asi:=SUM(SI,0);
MASI:=MA(ASI,5);
XG:crOSS(ASI,MASI)AND ST AND TP AND V>MAVOL1 AND V>MAVOL2 AND TJ;

