股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信成交量监盘副图指标


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 00:09:46

以下是通达信成交量监盘副图指标

通达信成交量监盘副图指标

源码

STICKLINE(VOL>0 AND C>O,VOL,0,2.9,0),COLOR1472FF;
STICKLINE(VOL>0 AND C<O,VOL,0,2.9,0),COLOR148A14;
MA18:=EMA(CLOSE,18);
加码价:=((C-REF(MA18,1))/18+MA18)*1;
加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);
STICKLINE(VOL>0 AND 加码条件,VOL,0,2.9,0),COLORYELLOW;
F:=100*(C-REF(C,1))/REF(C,1);
今小昨:=IF(C<REF(O,1) AND F<0,1,0);
S1:=今小昨;
今小前:IF(C<REF(O,2) AND F<0,1,0),LINETHICK0;
S2:=今小前;
今量:VOL/10000,LINETHICK0;
STICKLINE(VOL>0 AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),VOL,0,2.9,1),COLORMAGENTA;
STICKLINE(VOL>0 AND TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,VOL,0,2.9,1),COLORBLUE;

YE:=(HIGH+LOW+CLOSE)/3;
YE1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
YE2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-YE);
YE3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
YE4:=IF(HIGH=LOW,1,YE-MIN(CLOSE,OPEN));
YE5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
YE6:=SUM((YE1*YE5),1);{散户卖出}
YE7:=SUM((YE2*YE5),1);{主力卖出}
YE8:=SUM((YE3*YE5),1);{散户买入}
YE9:=SUM((YE4*YE5),1);{主力买入}
买:(YE9+YE8)/10000,LINETHICK0,COLORWHITE;
STICKLINE((YE9+YE8)>0,(YE9+YE8),0,2.9,0),COLOR0000AA;
STICKLINE((YE6+YE7)>0,(YE6+YE7),0,0.2,0),COLORCYAN;
STICKLINE((YE6+YE7)>0 AND TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,(YE6+YE7),0,0.2,0),COLORBLUE;
STICKLINE((YE6+YE7)>0 AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),(YE6+YE7),0,0.2,0),COLORMAGENTA;
卖:(YE6+YE7)/10000,LINETHICK0,COLORGREEN;
STICKLINE((YE6+YE7)>0 AND TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,(YE6+YE7),0,0.1,0),COLORBLUE;
STICKLINE((YE6+YE7)>0 AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),(YE6+YE7),0,0.1,0),COLORGREEN;





回复

举报

QQ|

GMT+8, 2024-11-17 14:34

快速回复 返回顶部 返回列表