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

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

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

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

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

{STICKLINE((CJL),L,L*333333333,100,0),COLOR0099FF,LINETHICK9;}

ZT:=C/REF(C,1)>1.09 AND H=C;

DRAWSL(ZT,H,0,50,0)COLORYELLOW,LINETHICK9;

DRAWSL(ZT,L,0,50,0)COLORYELLOW,LINETHICK9;

DRAWSL(ZT,(H+L)/2,0,50,0)COLORYELLOW,LINETHICK9;

AA:O=L ;

STICKLINE(AA AND TIME<=0933 ,C,O*0.90,2,0),COLORGREEN,LINETHICK9;

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))>95;

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

日:=120; 昨前:=3;

高1:=REF(HHV(H,日),昨前);

低1:=REF(LLV(L,日),昨前);

H1:=高1-(高1-低1)*0.191;

H2:=高1-(高1-低1)*0.382;

H3:=高1-(高1-低1)*0.5;

H4:=高1-(高1-低1)*0.618;

H5:=高1-(高1-低1)*0.809;

LOW2:=REFDATE(H5,DATE),COLORYELLOW,LINETHICK3;

LOW1:=REFDATE(低1,DATE),COLORGREEN,LINETHICK3;

DRAWICON(CROSS(C,LOW2) AND TIME<=0933 AND L,L,5);