DRAWTEXT_FIX(1,0.073,0,0,HYBLOCK),COLORRED; {行业}

DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND C>4,0.9,0.8,0,DYNAINFO(9)),COLORMAGENTA;

LC:=REF(CLOSE,1);

WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;

活跃:=(WRSI-WR10);

活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2));

DRAWTEXT_FIX(1,0.20,0.25,1,STRCAT(STRCAT('活跃:',CON2STR(活跃度比,2)),'%')),COLORCYAN;

CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));

DRAWTEXT_FIX(01,0.01,0.01.0,0,CJL),COLOR0099FF;

均价线:SUM(C*V,240)/SUM(V,240),COLORYELLOW;

分时线:=CLOSE;

REFDATE(分时线,DATE),DOTLINE,COLORLIBLUE;

AA1:=REF(HHV(C,0),1);

AA2:=REF(HHV(V,0),1);

AA3:=AA1/DYNAINFO(3)<1.05;

AA4:=CROSS(C,AA1) AND V>AA2 AND AA3;

DRAWICON(AA4 AND TIME<=0932,分时线,1);

{}

A1:=MA(CLOSE,5);

A2:=MA(CLOSE,10);

A3:=MA(CLOSE,20);

A4:=MA(CLOSE,60);

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

C3:=REF(C,1);

ZD:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);

连板吃肉:(ZD AND VOL>REF(V,1)*2.1 AND C>REF(C,1)AND CLOSE>A1 AND CLOSE>A2 AND CLOSE>A3

AND CLOSE>A4 AND MACD>=REF(MACD,1)*2.1)*999,COLORYELLOW;