通达信搏涨成交量指标公式源码副图

YM1:=(H+L+C)/3;
YM2:=IF(H=L,1,H-MAX(O,C));
YM3:=IF(H=L,1,MAX(C,O)-YM1);
YM5:=IF(H=L,1,MIN(O,C)-L);
YM6:=IF(H=L,1,YM1-MIN(C,O));
YM7:=vol/IF(H=L,4,H-L);
YM8:=(YM2*YM7)+(YM3*YM7);
YM9:=(YM5*YM7)+(YM6*YM7);
YM10:=(23);
YM11:=(22);
YM12:=IF(ISLASTBAR,YM9*240/FROMOPEN,YM9);
YM13:=IF(ISLASTBAR,YM8*240/FROMOPEN,YM8);
主买:IF(ISLASTBAR AND PERIOD=5,YM10,YM12),COLORRED,NODRAW;
主卖:IF(ISLASTBAR AND PERIOD=5,YM11,YM13),COLORGREEN,NODRAW;
净量:=Abs(主买-主卖);
DRAwrECTREL(0,00,CONST(主买*300/(主买+主卖)),70,RGB(230,65,0));
DRAWRECTREL(0,70,CONST(主卖*300/(主买+主卖)),130,RGB(0,104,0));
主买1:=BUYVOL,COLORLIRED,NODRAW;
主卖1:=-SELLVOL,COLORLIBLUE,NODRAW;
净买:BUYVOL-SELLVOL,COLORMAGENTA,NODRAW;
ABC1:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
ABC2:=MOD(FROMOPEN,ABC1);
ABC3:=IF(ABC2<0.5,ABC1,ABC2);
量:=VOL,VOLSTICK;
量比:VOL/REF(MA(VOL,5),1),NODRAW,COLORAAAAAA;
ABC10:=VOL=HHV(VOL,30);
ABC11:=BARSLAST(FILTER(crOSS(0.9,ABC10),2))+1;
ABC12:=REF(VOL,ABC11);
STICKLINE(ABC11<=30,ABC12,ABC12,1,0),COLOR00CCFF;
ABC13:=VOL=LLV(VOL,20);
ABC14:=BARSLAST(FILTER(CROSS(0.9,ABC13),2))+1;
ABC15:=REF(VOL,ABC14);
STICKLINE(ABC14<=30,ABC15,ABC15,4,0),COLORFFAA00;
VOLUME:VOL,VOLSTICK;
倍量:VOL>REF(VOL,1)*2 && VOL<REF(VOL,1)*3,COLORYELLOW;
STICKLINE(倍量,0,VOL,1,0),COLORYELLOW;
三倍:VOL>=REF(VOL,1)*3,COLORMAGENTA;
STICKLINE(三倍,0,VOL,1,0),COLORFF00F5;
缩量:VOL*2<REF(VOL,1),COLORMAGENTA;
STICKLINE(缩量,0,VOL,1,0),COLOR00FF00;
博涨:CROSS(0.9,1/VOL*1000>0.01 AND "kdj.J"<0 )COLORYELLOW,LINETHICK1;
STICKLINE(博涨,0,VOL,2,0),COLORLIRED ;
DRAWICON(博涨,VOL,23);




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

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

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

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