TS:=BARSCOUNT(CLOSE)>=10;
MM:EMA((3*CLOSE+HIGH+LOW+OPEN)/6,20),colorgray,LINETHICK1;
FL:HHV(MM,5),LINETHICK1,coloryellow;
FS:MM-(FL-MM),LINETHICK1,colorred;
DRAWICON(FL=FS AND REF(FL,1)>REF(FS,1) AND TS ,L,42);
DRAWICON(FL>FS AND REF(FL,1)=REF(FS,1) AND TS ,H*1.008,43);
MD:=C<MA(C,N) AND REF(C,1)>REF(MA(C,N),1);
STICKLINE (MD,O,C,2,0),colorgreen;
ZT:=C/REF (C,1)>=1.095 AND C=H;
STICKLINE (ZT,O,C,2,0),colormagenta;
IF CODELIKE('399')=0 AND CODELIKE('000001')=0 THEN DRAWTEXT_FIX(ISLASTBAR ,0.25,0.1,0,'题材概念'+" "+BLOCK(3,8)),coloryellow;
IF CODELIKE('399')=0 AND CODELIKE('000001')=0 THEN DRAWTEXT_FIX(ISLASTBAR ,0.15,0.1,0,"行业"+ " "+BLOCK(0,8)),coloryellow;
IF CODELIKE('399')=0 AND CODELIKE('000001')=0 THEN DRAWTEXT_FIX(ISLASTBAR ,0.15,0.1755,0,"细分行业"+ " "+BLOCK(1,8)),coloryellow;