以下是通达信量能线副图源码新创(无源码的请下载附件导入)
很多人偏爱成交量,记得刚入股市的时候就听人讲炒股要看成交量,可我对VOL成交量指标一直没看好,忽高忽低的柱子把我头都看晕了 有时看股价已经涨得很高了,但成交量并没放大,有的成交量放大了,股价反而跌了......我还是喜欢看比较直观的线条指标。但有人让我做个量能指标,研究了两天就索性把成交量指标做成了线条的形状,一是我看起来比较直观,二是便于选股。也不知对大家有没有帮助?喜欢的可以试一试,有问题也可以指出,行也好,不行也好,大家留个言,以便以后改进,让你稳妥赚钱
M1 2.00 500.00 5.00
M2 2.00 500.00 10.00
N 2.00 500.00 10.00
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1))))),NODRAW;
MTIME:=MOD(FROMOPEN,TOTAL),NODRAW;
CTIME:=IF(MTIME<0.5,TOTAL,MTIME),NODRAW;
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*(TOTAL+3)/(CTIME+3),DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0,NODRAW;
VOLUME:VOL,VOLSTICK,NODRAW;
MAVOL1:MA(VOLUME,M1),COLOR99EEEE;
MAVOL2:MA(VOLUME,M2),COLORFFCC00,LINETHICK1;
量趋势:EMA(MAVOL2,N),COLORRED,LINETHICK3;
IF(量趋势>REF(量趋势,1),量趋势,DRAWNULL),COLORRED,LINETHICK3;
IF(量趋势<REF(量趋势,1),量趋势,DRAWNULL),COLORGREEN,LINETHICK3;
836100759.jpg
836199151.png
836299785.png
|