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

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;



来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图