您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:指南针经典之测量主力仓位通达信飞狐版(源码+图例+说明)

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


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-03-05 08:50:00
公式简介:

指标源自一个指南针指标,在这先感谢原作者

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

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;



 


[url=http://www.goodgupiao.com/gupiaogongshi/18176.html][B]指南针经典之测量主力仓位通达信飞狐版(源码+图例+说明)[/B][/url]