最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信飞狐版指南针经典之测量主力仓位源码说明

    正文概述    2024-04-13 11:30:39  

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

    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;
     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信飞狐版指南针经典之测量主力仓位源码说明 加入收藏