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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 更准确的机构散户分时买入卖出占比源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-19 09:48:05
更准确的机构散户分时买入卖出占比源码介绍

更准确的机构散户分时买入卖出占比源码

注意: 如果碰到涨停或者跌停,上面的指标就不是很准确了。。

{机构买卖}
A1:=(VOL*C)/100;
A2:=SUM(IF(A1>80 AND ( C>REF(C,1) OR ( C=REF(C,1) AND ( REF(C,1)>REF(C,2) OR (REF(C,1)=REF(C,2) AND (REF(C,2)>REF(C,3) OR (REF(C,2)=REF(C,3) AND (REF(C,3)>REF(C,4) OR ( REF(C,3)=REF(C,4) AND ( REF(C,4)>REF(C,5) OR (REF(C,4)=REF(C,5) AND REF(C,5)>REF(C,6)) ) ) ) )) )) )),A1,0),0);
A3:=SUM(IF(A1>80 AND ( C<REF(C,1) OR ( C=REF(C,1) AND ( REF(C,1)<REF(C,2) OR (REF(C,1)=REF(C,2) AND (REF(C,2)<REF(C,3) OR (REF(C,2)=REF(C,3) AND (REF(C,3)<REF(C,4) OR ( REF(C,3)=REF(C,4) AND ( REF(C,4)<REF(C,5) OR (REF(C,4)=REF(C,5) AND REF(C,5)<REF(C,6)) ) ) ) )) )) )),A1,0),0);
A4:=SUM(IF(A1<80 AND ( C>REF(C,1) OR ( C=REF(C,1) AND ( REF(C,1)>REF(C,2) OR (REF(C,1)=REF(C,2) AND (REF(C,2)>REF(C,3) OR (REF(C,2)=REF(C,3) AND (REF(C,3)>REF(C,4) OR ( REF(C,3)=REF(C,4) AND ( REF(C,4)>REF(C,5) OR (REF(C,4)=REF(C,5) AND REF(C,5)>REF(C,6)) ) ) ) )) )) )),A1,0),0);
A5:=SUM(IF(A1<80 AND ( C<REF(C,1) OR ( C=REF(C,1) AND ( REF(C,1)<REF(C,2) OR (REF(C,1)=REF(C,2) AND (REF(C,2)<REF(C,3) OR (REF(C,2)=REF(C,3) AND (REF(C,3)<REF(C,4) OR ( REF(C,3)=REF(C,4) AND ( REF(C,4)<REF(C,5) OR (REF(C,4)=REF(C,5) AND REF(C,5)<REF(C,6)) ) ) ) )) )) )),A1,0),0);

A6:=((A2+A3)+A4)+A5;
A7:=IF((BARSTATUS=2),((100*A2)/A6),0);
A8:=IF((BARSTATUS=2),((100*A3)/A6),0);
A9:=IF((BARSTATUS=2),((100*A4)/A6),0);
A10:=IF((BARSTATUS=2),((100*A5)/A6),0);


选股:3*A2>A6 AND A2>A3 AND DYNAINFO(14)<0.05 AND DYNAINFO(7)>0 AND CAPITAL<10000000;
 


 




 



gd23831

回复

举报

QQ|

GMT+8, 2024-11-17 04:50

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