beyond202104 发表于 2023-8-28 16:39:23

成交量vvol2,有上涨下跌家数板块题材(通达信公式 副图 源...

这是一个只用的成交量公式,名称: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)));




123457899 发表于 2023-8-29 17:13:30

谢谢楼主,共同发展

123459540 发表于 2023-9-11 13:04:46

群众力量就是大,分享万岁!

一品菊花茶酪 发表于 2023-10-9 23:06:42

为你点赞

123457920 发表于 2024-1-14 23:09:11

爱你,么么哒,哈哈……

123457166 发表于 2024-2-26 05:48:09

沙发,多多点赞好好学习

帅太子涌 发表于 2024-4-5 17:58:17

沙发,多多点赞好好学习

朕涉你无罪腿 发表于 2024-4-9 17:29:00

牛人一个
页: [1]
查看完整版本: 成交量vvol2,有上涨下跌家数板块题材(通达信公式 副图 源...