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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺机构主动买卖副图指标 源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-29 12:03:42
同花顺机构主动买卖副图指标 源码介绍

同花顺机构主动买卖副图指标 源码

量能指标中青色是主动卖出,白色是被动卖出,粉色是主动买入,粉黄是被动买入,黄柱是净买大于0,绿柱是净买小于0

r1:=ZDMR[-1];
r2:=BDMR[-1];
r3:=-ZDMC[-1];
r4:=-BDMC[-1];
a:=(r1+r2);
b:=(r3+r4);
d:=a+b;
e:=a-b;
STICKLINE(C>REF(C,1),0,e,8,1),colorred;
STICKLINE(C<=REF(C,1),0,e,8,1),colorfff000;
STICKLINE(d<0,-d,0,8,0),color00ff00;
STICKLINE(d>0,d,0,8,0),color00ffff;
STICKLINE(C,a,0,4,0),coloraa00bb;
STICKLINE(C,a,0,3,0),colorcc22bb;
STICKLINE(C,a,0,2,0),colordd33bb;
STICKLINE(C,a,0,1,0),coloree44bb;
STICKLINE(C,a,r1,4,0),color2266aa;
STICKLINE(C,a,r1,3,0),color3377cc;
STICKLINE(C,a,r1,2,0),color4488dd;
STICKLINE(C,a,r1,1,0),color9955ee;
STICKLINE(C,e,a,4,0),coloraaaaaa;
STICKLINE(C,e,a,3,0),colorbbbbbb;
STICKLINE(C,e,a,2,0),colorcccccc;
STICKLINE(C,e,a,1,0),colordddddd;
STICKLINE(C,e,a-r4,4,0),Colorff6600;
STICKLINE(C,e,a-r4,3,0),Colorff7722;
STICKLINE(C,e,a-r4,2,0),Colorff8833;
STICKLINE(C,e,a-r4,1,0),Colorff9955;
mv5:MA(e,5);
mv10:MA(e,10);
mv35:MA(e,35);
mv135:MA(e,135);
a3:=SUM(a,1)/1000000;
b3:=SUM(b,1)/1000000;
VOL1=SUM(VOL,1)/1000000;
y:=a3-b3;
z:=y/VOL1*100;






gd47475

回复

举报

QQ|

GMT+8, 2024-11-18 17:26

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