N:=9;
M:=3;
P:=50;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
H_L:=0.05*CONST(HHV(vol,240));
实:V,VOLSTICK;
虚:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),虚,0,-1,-1),COLOR00C0C0;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1) AND C>O,V,0,2,1),COLORRED;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1) AND C
量倍数:V/REF(V,1),NODRAW,COLOR9988FF;
缩倍量:=量倍数<0.52,COLORGREEN;
倍量柱:BETWEEN(量倍数,1.88,5),COLORYELLOW ;
百高量:V>REF(HHV(V,100),1),COLORWHITE;
百地量:V=LLV(V,100) OR V<=LLV(V,100)*1.1,COLORLIBLUE;
历史底:V=LLV(V,0) AND V>0,COLORWHITE;
历史高:V=HHV(V,0),COLORFF00FF;
发烧柱:V>REF(V,1)*4.5,COLORFF00FF;
倍量阴:=倍量柱 AND C买卖比:DYNAINFO(23)/DYNAINFO(22),COLORBBFF00;
百低比:V/REF(LLV(V,100),1),NODRAW,COLORFFFF00;
热度:IF(AMOUNT/C/(HHV(AMOUNT,20)/HHV(C,20))>1,1,AMOUNT/C/(HHV(AMOUNT,20)/HHV(C,20)))*100,NODRAW,COLORF00FFF;
近日地量:V=LLV(V,P) AND NOT(H=L) AND P>=50;
DRAWICON(发烧柱 AND C>REF(C,1)*1.09,V*1.2,39);
DRAWICON(发烧柱 AND CDRAWICON(缩倍量,V*1.64,1),COLOR66FF00;
DRAWICON(百地量,V*1.15,23),COLORLIBLUE;
DRAWICON(历史底,V+1000,23);
DRAWICON(历史高,V*1.02,43);
STICKLINE(近日地量,V*1.4,V*1.5,0,1),COLORRED;
STICKLINE(近日地量,V*1.8,V*2.2,0,1),COLORLIBLUE;
STICKLINE(近日地量,V*2.4,V*2.8,0,1),COLORLIBLUE;
V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100;地量群:=COUNT(V100,5)>=3;
DRAWTEXT(FILTER(地量群,4),V+2*H_L,'地量群'),COLORGRAY;
STICKLINE((百高量 AND (C>O OR (C
STICKLINE(百高量 AND C
STICKLINE(历史高,0,V,3,0),COLORFF00FF;
STICKLINE(JYZY,0,V,0.5,0),COLORRED;
STICKLINE(假阳,0,V,0.5,0),COLORGREEN;
STICKLINE((倍量柱 AND (C>O OR (C
STICKLINE(倍量柱 AND C
STICKLINE(发烧柱 AND C
ANB:=IF(K,V,0);
DRAWLINE(ANB,V,REF(ANB,1),REF(V,1),1),DOTLINE,COLORGREEN;
市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
{板块排名}
TAX:=HORCALC(HYBLOCK,105,1,DRAWNULL);
TAA:=STRCAT(HYBLOCK,' 排名 :');
DRAWTEXT_FIX(ISLASTBAR,0.70,0.005,0,STRCAT(TAA,CON2STR(TAX,0)));