当前位置:首页 > 通达信公式 > 正文

通达信纯净成交量(源码附图说明)

2017-09-05网络 编 辑:翔博软件


S:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,0)))));
 T:=IF(S!=0,MOD(FROMOPEN,S),0);
 VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD<=5 AND S!=0 AND T>0 AND FROMOPEN<240,VOL*S/T,
 IF(CURRBARSCOUNT=1 AND PERIOD=6 AND (WEEKDAY!=6 OR WEEKDAY!=7),VOL*(5/WEEKDAY),VOL));
 STICKLINE(CURRBARSCOUNT=1 AND PERIOD<=6 AND PERIOD>0,VVOL,0,-1,-1),COLOR00C0C0;
 VOL,VOLSTICK;

 A:=BARSLAST(DAY!=REF(DAY,1) OR BARSCOUNT(C)=0)+1;
 STICKLINE(A=1 AND PERIOD<=4,CONST(HHV(VOL,120)),0,0,-1),COLOR0000BB;
 STICKLINE(A=1 AND C>O AND PERIOD<=4,CONST(HHV(VOL,120)),CONST(HHV(VOL,120))*29/30,0.5,0),COLORRED;
 STICKLINE(A=1 AND C<=O AND PERIOD<=4,CONST(HHV(VOL,120)),CONST(HHV(VOL,120))*29/30,0.5,0),COLORCYAN;
 MA5:IF(PERIOD>4,MA(VVOL,5),DRAWNULL),COLOR00FFFF;
 MA10:IF(PERIOD>4,MA(VVOL,10),DRAWNULL),COLORFF00FF;
 MA20:MA(VVOL,20),COLOR00FF00,DOTLINE;
大家都爱看
查看更多热点新闻
点击进入翔博软件旗下掌上指标--自助下载指标