通达信飞狐版指南针经典之测量主力仓位源码说明

真正的主力仓位是不可知的,指标仅在特定的条件下做一种推导或仅是描述股票的一种状态,但可以给我们的判断提供一个重要依据。

1.获利不抛的是主力筹码–用下移测量法.
2.横盘洗不掉的是主力筹码–用横盘测量法.
3.解套不买的是主力筹码–用解套测量法
相关资料请参考《筹码分布》一书

在大盘中级底部区域测量值达40左右,可能就是未来的龙头强势股。

首选: 流通盘<10亿+无穷成本均线向上,再结合基本面{来源于: 公式在线网}

{ZH测量仓位-通达信版}
DP0:=”SH000001$CLOSE”/MA(“SH000001$CLOSE”,13);
DP1:=IF(DP0<=0.98,0.95,IF(DP0<1 AND DP0>0.98,0.9,IF(DP0>=1.02,0.8,0.85)));
DP2:=MA(“SH000001$CLOSE”,13)>REF(MA(“SH000001$CLOSE”,13),1);
ER:=V/CAPITAL;
A0:=TMA(ER,(1-ER)*12/13,1);
A1:=WINNER(C)-REF(WINNER(C),13);
A2:=HHV((A1>=A0)*(A1-A0)*DP1,8)*100;
解套不买:(SLOPE(A2,3)>=0)*A2,COLORGREEN,STICK;
NOTEXT不买:解套不买,COLORGREEN;
B0:=DMA((C+O)/2,ER/A0);
B1:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));
B2:=WINNER(HHV(H,15)*POW(1.1,-1.9))*100;
B3:=EMA(COST(90),8);
获利不抛:(B0>=B1 AND B0>REF(B0,1) AND B3>=REF(B3,1))*B2,COLORRED,STICK;
NOTEXT不抛:获利不抛,,COLORRED;
C0:=POW(SUM(POW(C-MA(C,20),2),20)/19,0.5)/MA(C,20)*200;
C1:=SLOPE(C+O,20)/MA(C+O,20)*100;
C2:=B1>REF(B1,1) AND C0<=7 AND HHV(ABS(C1),20)<=1;
横盘洗不掉:C2*WINNER(LLV(C,30))*100,COLORYELLOW,STICK;
NOTEXT横盘:横盘洗不掉,COLORYELLOW;
STICKLINE(DP2>0,0,2,3,0),COLOR0000DC;
STICKLINE(DP2=0,0,2,3,0),COLOR00DC00;
NOTEXT20:20,COLORBLUE,DOTLINE;
NOTEXT40:40,COLORCYAN,DOTLINE;
NOTEXT60:60,COLORMAGENTA,DOTLINE;

{ZH测量排序-通达信版}
DP0:=”SH000001$CLOSE”/MA(“SH000001$CLOSE”,13);
DP1:=IF(DP0<=0.98,0.95,IF(DP0<1 AND DP0>0.98,0.9,IF(DP0>=1.02,0.8,0.85)));
ER:=V/CAPITAL;
A0:=TMA(ER,(1-ER)*12/13,1);
A1:=WINNER(C)-REF(WINNER(C),13);
A2:=HHV((A1>=A0)*(A1-A0)*DP1,8)*100;
解套法:(SLOPE(A2,3)>=0)*A2,COLORGREEN,STICK;
B0:=DMA((C+O)/2,ER/A0);
B1:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));
B2:=WINNER(HHV(H,15)*POW(1.1,-1.9))*100;
B3:=EMA(COST(90),8);
下移法:(B0>=B1 AND B0>REF(B0,1) AND B3>=REF(B3,1))*B2,COLORRED,STICK;
C0:=POW(SUM(POW(C-MA(C,20),2),20)/19,0.5)/MA(C,20)*200;
C1:=SLOPE(C+O,20)/MA(C+O,20)*100;
C2:=B1>REF(B1,1) AND C0<=7 AND HHV(ABS(C1),20)<=1;
横盘法:C2*WINNER(LLV(C,30))*100,COLORYELLOW,STICK;
流通盘:FINANCE(7)/10000/10000,NODRAW;

{ZH测量仓位-飞狐版}
DP0:=”SH000001$CLOSE”/MA(“SH000001$CLOSE”,13);
DP1:=IF(DP0<=0.98,0.95,IF(DP0<1 AND DP0>0.98,0.9,IF(DP0>=1.02,0.8,0.85)));
DP2:=MA(“SH000001$CLOSE”,13)>REF(MA(“SH000001$CLOSE”,13),1);
ER:=V/CAPITAL;
A0:=TMA(ER,(1-ER)*12/13,1);
A1:=WINNER(C)-REF(WINNER(C),13);
A2:=HHV((A1>=A0)*(A1-A0)*DP1,8)*100;
解套不买:(SLOPE(A2,3)>=0)*A2,COLORGREEN,STICK;
PARTLINE(C,解套不买),COLORGREEN;
B0:=DMA((C+O)/2,ER/A0);
B1:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));
B2:=WINNER(HHV(H,15)*POW(1.1,-1.9))*100;
B3:=EMA(COST(90),8);
获利不抛:(B0>=B1 AND B0>REF(B0,1) AND B3>=REF(B3,1))*B2,COLORRED,STICK;{ }
PARTLINE(C,获利不抛),COLORRED;
C0:=POW(SUM(POW(C-MA(C,20),2),20)/19,0.5)/MA(C,20)*200;
C1:=SLOPE(C+O,20)/MA(C+O,20)*100;
C2:=B1>REF(B1,1) AND C0<=7 AND HHV(ABS(C1),20)<=1;
横盘洗不掉:C2*WINNER(LLV(C,30))*100,COLORYELLOW,STICK;
PARTLINE(C,横盘洗不掉),COLORYELLOW;
STICKLINE(DP2>0,0,2,8,0),Color0000DC;
STICKLINE(DP2=0,0,2,8,0),Color00DC00;
PARTLINE(C,20),COLORBLUE,POINTDOT;
PARTLINE(C,40),COLORCYAN,POINTDOT;
PARTLINE(C,60),COLORMAGENTA,POINTDOT;
 

负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/161482.html,转载请注明出处。
通达信《龙头股道》全套37个无加密无未来函数指标公式源码
通达信《龙头股道》全套37个无加密无未来函数指标公式源码
刚刚 有人购买 去瞅瞅看
温馨提示:本站暂不支持手机端在线支付,请您在电脑端扫码完成支付!
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录