通达信均量画矩形指标公式

VM:=11;N:=11;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
Vvol:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
V5:=MA(V,VM);
T:=ALIGNRIGHT(MOD(CURRBARSCOUNT,N));
HH:=HHV(V5,N);
STICKLINE(T=1,0,HH,0,0),COLORYELLOW;
STICKLINE(T=0,0,REFX(HH,BARSNEXT(T=1)),0,0),COLORYELLOW;
DRAWLINE(T=0,REFX(HH,BARSNEXT(T=1)),T=1,HH,0),COLORYELLOW;
DRAWLINE(T=1,HH,T=0,REFX(HH,BARSNEXT(T=1)),0),COLORBLacK;
VM1:=22;N1:=22;
VM5:=MA(V,VM1);
T1:=ALIGNRIGHT(MOD(CURRBARSCOUNT,N1));
HH1:=HHV(V5,N1);
STICKLINE(T1=1,0,HH1,0,0),COLORYELLOW;
STICKLINE(T1=0,0,REFX(HH1,BARSNEXT(T1=1)),0,0),COLORWHITE;
DRAWLINE(T1=0,REFX(HH1,BARSNEXT(T1=1)),T1=1,HH1,0),COLORWHITE;
DRAWLINE(T1=1,HH1,T1=0,REFX(HH1,BARSNEXT(T1=1)),0),COLORBLACK;
两倍量:=SUM(V>REF(V,1)*1.9,5)=2;
STICKLINE(两倍量,0,VOL,0.7,30),COLORMAGENTA;
倍量:=VOL/REF(VOL,1)>=1.9;
STICKLINE(倍量,0,VOL,1,0),COLORFF00FF;
STICKLINE(倍量,0,VOL*2/3,1.5,0),COLORFF0000;
STICKLINE(倍量,0,VOL/2,2,0),COLOR00FFFF;
STICKLINE(倍量,0,VOL/3,2.5,0),COLOR00FF00;
STICKLINE(倍量,0,VOL/4,3,0),COLORFFFFFF;




未来函数检测结果如下:
该公式包含未来函数:BARSNEXT
该公式包含未来函数:REFX
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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