VAR1:=WINNER(CLOSE*0.900)*100;
VAR2:=vol/CAPITAL*100;
VAR3:=VAR1-VAR2;
VAR4:=VAR3<1;
VAR5:=VAR3>=1 AND VAR3<5;
VAR6:=VAR3>=5 AND VAR3<10;
VAR7:=VAR3>=10 AND VAR3<25;
VAR8:=VAR3>=25;
极弱股:=IF(VAR4, (-10), 0),COLORLICYAN;
弱势股:=IF(VAR5, (-5), 0)LINETHICK3,COLORBROWN;
转型股:=IF(VAR6, 5, 0)LINETHICK2,COLORMAGENTA;
强势股:=IF(VAR7, 10, 0)LINETHICK3,COLORRED;
主升浪:=IF(VAR8, 15, 0)LINETHICK4,COLORLIRED;
XG1:=(主升浪 AND REF(转型股,1)) OR (主升浪 AND REF(弱势股,1)) OR (主升浪 AND REF(极弱股,1));
XG2:=(强势股 AND REF(转型股,1)) OR (强势股 AND REF(弱势股,1)) OR (强势股 AND REF(极弱股,1));
XG3:=(转型股 AND REF(弱势股,1)) OR (转型股 AND REF(极弱股,1));
XG:(XG1 OR XG2 OR XG3) AND V/REF(V,1)>1.8 AND C/REF(C,1)>1.035;