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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」股市12金钗(副图 指标)


        [-----复制链接-----]

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-2-21 12:08:27
    【资料名称】:股市12金钗(副图 指标)介绍
    【资料描述】:

    股市12金钗(副图 指标)

    这个指标对于抄底和追涨能够作出准确的指示,再结合个股K线和量能情况,一盘能够做到精确抄底,而赚得盆满钵满。

    ZDS:黄色脉冲信号,今天全红,前一天非全红;黄色长柱,12指全红,上涨态势;
    红长柱:前一天全绿,今天非全绿,一般预示着盘整结束,即将上涨,可以选股;

    {十二指金叉优化版}
    N1:=3;N2:=5;N3:=9;N4:=13;N5:=21;N6:=34;
    DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
    DEA:=EMA(DIFF,N2);
    DRAWICON(DIFF>DEA,1,1);
    X1:DRAWICON(DIFF<DEA,1,2);
    DRAWTEXT(ISLASTBAR=1,1,'.MACD'),COLORFFFFFF;
    A1:=DIFF>DEA;
    RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
    K:=SMA(RSV1,N1,1);
    D:=SMA(K,N1,1);
    DRAWICON(K>D,2,1);
    X2:DRAWICON(K<D,2,2);
    DRAWTEXT(ISLASTBAR=1,2,'.KDJ'),COLORFFFFFF;
    A2:=K>D;
    LC:=REF(CLOSE,1);
    RSI1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(ABS(CLOSE-LC),N2,1))*100;
    RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
    DRAWICON(RSI1>RSI2,3,1);
    X3:DRAWICON(RSI1<RSI2,3,2);
    DRAWTEXT(ISLASTBAR=1,3,'.RSI'),COLORFFFFFF;
    A3:=RSI1>RSI2;
    RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
    LWR1:=SMA(RSV,N1,1);
    LWR2:=SMA(LWR1,N1,1);
    DRAWICON(LWR1>LWR2,4,1);
    X4:DRAWICON(LWR1<LWR2,4,2);
    DRAWTEXT(ISLASTBAR=1,4,'.LW&R'),COLORFFFFFF;
    A4:=LWR1>LWR2;
    BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
    DRAWICON(CLOSE>BBI,5,1);
    X5:DRAWICON(CLOSE<BBI,5,2);
    DRAWTEXT(ISLASTBAR=1,5,'.BBI'),COLORFFFFFF;
    A5:=CLOSE>BBI;
    MTM:=CLOSE-REF(CLOSE,1);
    MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
    MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
    DRAWICON(MMS>MMM,6,1);
    X6:DRAWICON(MMS<MMM,6,2);
    DRAWTEXT(ISLASTBAR=1,6,'.ZLMM'),COLORFFFFFF;
    A6:=MMS>MMM;
    BIAS:=(C-MA(C,N2))/MA(C,N2);
    DIF:=(BIAS-REF(BIAS,16));
    DBCD:=SMA(DIF,76,1);
    MM:=MA(DBCD,5);
    DRAWICON(DBCD>MM ,7,1);
    X7:DRAWICON(DBCD<MM,7,2);
    DRAWTEXT(ISLASTBAR=1,7,'.DBCD'),COLORFFFFFF;

    A7:=DBCD>MM;
    持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0,COLORRED;
    支撑:=LLV(持股,3),LINETHICK0,COLOR00FFFF;
    下跌:=MA(持股,12),COLOR6B8E23,LINETHICK0;{上面三行去了等号指标上面就有参数但图形去变了样}
    转向:=CROSS(持股,下跌){ AND 下跌<30};
    MA1:=MA(持股,5);
    向下:=CROSS(MA1,持股) AND MA1>80;
    DRAWICON(持股>下跌 ,8,1);
    X8:DRAWICON(持股<下跌,8,2);
    DRAWTEXT(ISLASTBAR=1,8,'.CGZ'),COLORFFFFFF;

    A8:=持股>下跌;
    MT:=C-REF(C,1);
    ZLGJ:=100*EMA(EMA(MT,N3),N3)/EMA(EMA(ABS(MT),N3),N3);
    MAZL:=MA(ZLGJ,5);
    DRAWICON(ZLGJ>MAZL,9,1);
    X9:DRAWICON(ZLGJ<MAZL,9,2);
    A9:=ZLGJ>MAZL;
    DRAWTEXT(ISLASTBAR=1,9,'.ZLGJ'),COLORFFFFFF;

    {PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
    JJ:=REF(EMA(PJJ,3),1);}
    QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2));
    HSL:=(XVL/20)/1.15;
    攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
    {GJJ:=EMA(攻击流量,8);}
    LLJX:=EMA(攻击流量,3);
    资金流量:=LLJX,LINETHICK0,COLOR0000FF;
    DRAWICON(资金流量>0,10,1);
    X10:DRAWICON(资金流量<0,10,2);
    A10:=资金流量>0;
    DRAWTEXT(ISLASTBAR=1,10,'.ZJL'),COLORFFFFFF;


    {MACD金叉:IF(A1,1,0),COLORRED;
    KDJ金叉:IF(A2,2,0),COLORRED;
    RSI金叉:IF(A3,3,0),COLORRED;
    LWR金叉:IF(A4,4,0),COLORRED;
    BBI金叉:IF(A5,5,0),COLORRED;
    MTM金叉:IF(A6,6,0),COLORRED;
    DBCD金叉:IF(A7,7,0),COLORRED;
    CGZ金叉:IF(A8,8,0),COLORRED;
    ZLGJ金叉:IF(A9,9,0),COLORRED;
    ZJL金叉:IF(A10,10,0),COLORRED;}


    WJ:=(H+L+C)/3;
    V1:=IF(H=L,1,H-MAX(O,C));
    V2:=IF(H=L,1,MAX(C,O)-WJ);
    V3:=IF(H=L,1,MIN(O,C)-L);
    V4:=IF(H=L,1,WJ-MIN(C,O));
    V5:=VOL/IF(H=L,4,H-L);
    V6:=(V1*V5);
    V7:=(V2*V5);
    V8:=(V3*V5);
    V9:=(V4*V5);
    买盘:=(V9+V8);
    卖盘:=(V6+V7);
    买卖差:=买盘-卖盘;
    DDX:=买卖差;
    DX:=MA(买卖差,5)*20;
    DDX1:=SMA(DX,3,1);
    DDX2:=SMA(DDX1,3,1);
    DDX3:=(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;
    DRAWICON(DDX1>DDX2,11,1);
    DRAWICON(DDX1<DDX2,11,2);
    DRAWTEXT(ISLASTBAR=1,11,'.DDX'),COLORWHITE;
    A11:=DDX1>DDX2;

    量:=V;
    换手:=V/CAPITAL*100;
    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    买盘1:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
    卖盘1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
    DLX:=(买盘1-(-卖盘1))/量*换手;
    DLX1:=SUM(DLX,6);
    DLX2:=MA(DLX1,5);
    DRAWICON(DLX1>DLX2,12,1);
    DRAWICON(DLX1<DLX2,12,2);
    DRAWTEXT(ISLASTBAR=1,12,'.动力线'),COLORWHITE;
    A12:=DLX1>DLX2;

    STICKLINE((A1+A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9+A10+A11+A12)>11,0,12,0,0),COLORYELLOW;
    预选:=IF((DIFF<DEA AND K<D AND RSI1<RSI2 AND LWR1<LWR2 AND CLOSE<BBI AND MMS<MMM AND DBCD<MM AND 持股<下跌 AND ZLGJ<MAZL AND 资金流量<0 AND DDX1<DDX2 AND DLX1<DLX2),1,0),NODRAW,LINETHICK0;
    准备买入:IF((CROSS(0.99,预选)),12.5,0),STICK,COLORRED,LINETHICK2;
    涨买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12,1)=0,3,0),COLORYELLOW,LINETHICK2;

    {预选:=DIFF<DEA AND K<D AND RSI1<RSI2 AND LWR1<LWR2 AND CLOSE<BBI AND MMS<MMM AND DBCD<MM AND 持股<下跌 AND ZLGJ<MAZL AND 资金流量<0,COLOR0000FF,LINETHICK3,STICK;}
    {准备:CROSS(0.99,预选)*10,COLORLIBLUE,LINETHICK2,STICK;}
    {买入:(DIFF>DEA AND K>D AND RSI1>RSI2 AND LWR1>LWR2 AND CLOSE>BBI AND MMS>MMM AND DBCD>MM AND 持股>下跌 AND ZLGJ>MAZL AND 资金流量>0)*10,COLORYELLOW,LINETHICK2;}

    {上涨:IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12,3,0),COLORYELLOW,LINETHICK1;
    晴天:BARSLASTCOUNT(A1 AND A2 AND A3 AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10 AND A11 AND A12),LINETHICK0;
    雨天:BARSLASTCOUNT((MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉+DBCD金叉+CGZ金叉+ZLGJ金叉+ZJL金叉)>0 AND (MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉+DBCD金叉+CGZ金叉+ZLGJ金叉+ZJL金叉)<21 ),LINETHICK0;
    雪天:BARSLASTCOUNT((MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉+DBCD金叉+CGZ金叉+ZLGJ金叉+ZJL金叉)=0),LINETHICK0;};
    下边:=0;
    上边:=12.5;

    {涨不停买入:(A1+A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9+A10+A11+A12)>6
    AND REF((A1+A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9+A10+A11+A12)<7,1),COLORYELLOW,LINETHICK3;
    {选股:IF(指导线>6 ,1,0),LINETHICK3,COLORFF00FF;};
    {(A1 AND A2 AND A3 AND A4 AND A5 AND A6),COLORFFFF00;};

    {STICKLINE(A1 AND A2 AND A3 AND A4 AND A5 AND A6,0,6,0.1,0),COLORYELLOW;
    涨不停买入:A1 AND A2 AND A3 AND A4 AND A5 AND A6=1
    AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,COLORYELLOW,LINETHICK3;
    {0;防止显示字符不全,可不用,也可用黑色BLACK不显示出来};








    gd38033


    【下载地址隐藏】:                    点:回复可见地址
    游客,如果您要查看本帖隐藏内容请回复






    上一篇:「指标」定海神针(副图 指标)
    下一篇:「指标」海神短线神技(副图/选股 指标)
    回复

    举报

    QQ|

    GMT+8, 2024-11-13 12:23

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