这是一个只用的成交量公式,名称:vvol2,
公式有上涨下跌股票家数,股票的板块所属,个股题材,虚拟成交量,时间。,,,,,你会喜欢的。
涨家数:INDEXADV,NODRAW,COLORRED;
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);虚拟成交量:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),虚拟成交量,0,-1,-1),COLOR00C0C0;VOLUME:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*3 && C>REF(C,1);STICKLINE(AA,0,V,0.05,0),COLOR99FFFF,NODRAW;换手率:V/CAPITAL*100,NODRAW;成交量比:VOL/REF(VOL,1),NODRAW;DRAWNUMBER(ISLASTBAR,(V*1.2),换手率),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR,0.01,0,0,DYBLOCK),COLORFF6000;DRAWTEXT_FIX(ISLASTBAR,0.08,0,0,HYBLOCK),COLORFF6000;DRAWTEXT_FIX(ISLASTBAR,0.15,0,0,GNBLOCK),COLORFF6000;DRAWTEXT_FIX(1,0.01,0.2,0,'主题投资:')COLOR0000FF,NODRAW;DRAWTEXT_FIX(1,0.07,0.2,0,EXTERNSTR(0,24))COLOR0000FF,NODRAW;DRAWTEXT_FIX(1,0.01,0.2,0,'个股题材: ')COLORYELLOW;DRAWTEXT_FIX(1,0.07,0.2,0,EXTERNSTR(0,21))COLOR0000FF;AAA1:=STRCAT('沪深总上涨家数:',CON2STR(DYNAINFO(60),0));AAA2:=STRCAT('沪深总下跌家数:',CON2STR(DYNAINFO(61),0));DRAWTEXT_FIX(ISLASTBAR,0.5,0,1,AAA1),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,AAA2),COLORGREEN;DRAWTEXT_FIX(1,0.95,0.02,1,':'),COLORRED;DRAWTEXT_FIX(1,0.99,0.02,1,'分'),COLORRED;DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN<121,0.93,0.02,0,INTPART((34200+FROMOPEN*60)/3600));DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN>120,0.93,0.02,0,INTPART((34200+FROMOPEN*60+5400)/3600));DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN<121,0.96,0.02,0,60*(((34200+FROMOPEN*60)/3600)-INTPART((34200+FROMOPEN*60)/3600)));DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND FROMOPEN>120,0.96,0.02,0,60*(((34200+FROMOPEN*60+5400)/3600)-INTPART((34200+FROMOPEN*60+5400)/3600)));
|