公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

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

2024-1-6 17:46| 发布者: admin| 查看: 66| 评论: 0

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

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

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

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 && VOLSTICKLINE(倍量,0,VOL,1,0),COLORYELLOW;
三倍:VOL>=REF(VOL,1)*3,COLORMAGENTA;
STICKLINE(三倍,0,VOL,1,0),COLORFF00F5;
缩量:VOL*2STICKLINE(缩量,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);



鲜花

握手

雷人

路过

鸡蛋
返回顶部