昨量差:DYNAINFO(15)/DYNAINFO(4) / REF(V,1),NODRAW;
今量差:(10000 * DYNAINFO(15)/DYNAINFO(4)) / FINANCE(7),NODRAW;
周量差:DYNAINFO(15)/DYNAINFO(4)/ MA(vol,5),NODRAW;
月涨差:((C - REF(C,20)) / REF(C,20)) * 100,NODRAW;
季量差:DYNAINFO(15)/DYNAINFO(4)/ MA(VOL,60),NODRAW;
百量差:DYNAINFO(15)/DYNAINFO(4) / LLV(VOL,100),NODRAW;
量能选:昨量差>6 AND 周量差>4 AND 季量差>10 AND 今量差>70 AND 百量差>80 AND BETWEEN(月涨差,10,70) AND C>3,NODRAW;
DRAWTEXT_FIX(1,0.50,0.70,0,STRCAT(STRCAT('百量差',CON2STR(百量差,0)),'%')),COLORMAGENTA;
DRAWTEXT_FIX(1,0.40,0.60,0,STRCAT(STRCAT('季量差',CON2STR(季量差,0)),'%')),COLORYELLOW;
DRAWTEXT_FIX(1,0.30,0.50,0,STRCAT(STRCAT('月涨差',CON2STR(月涨差,0)),'%')),COLORWHITE;
DRAWTEXT_FIX(1,0.20,0.40,0,STRCAT(STRCAT('周量差',CON2STR(周量差,0)),'%')),COLORGREEN;
DRAWTEXT_FIX(1,0.10,0.30,0,STRCAT(STRCAT('今量差',CON2STR(今量差,0)),'%')),COLORCYAN;
DRAWTEXT_FIX(1,0.00,0.20,0,STRCAT(STRCAT('昨量差',CON2STR(昨量差,0)),'%')),COLORRED;
DRAWTEXT_FIX(1,0.93,0.20,0,STRCAT(STRCAT('=',CON2STR(量能选=1,0)),'买')),COLORWHITE;
DRAWTEXT_FIX(1,0.92,0.30,0,STRCAT(STRCAT('=',CON2STR(量能选=1,0)),'--买买')),COLORRED;
DRAWTEXT_FIX(1,0.91,0.40,0,STRCAT(STRCAT('=',CON2STR(量能选=1,0)),'----买买买')),COLORGREEN;
DRAWTEXT_FIX(1,0.90,0.50,0,STRCAT(STRCAT('=',CON2STR(量能选=1,0)),'------买买买买')),COLORMAGENTA;