• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【配资炒股】【通达信】十二指金叉指标公式

    发布时间: 2020-04-13 15:56 首页:股票一点通>股票公式>通达信公式> 阅读()

    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(DIFFDEA;
    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(KD;
    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(RSI1RSI2;
    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(LWR1LWR2;
    BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
    DRAWICON(CLOSE>BBI,5,1);
    X5:DRAWICON(CLOSEBBI;
    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(MMSMMM;
    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(DBCDMM;
    持股:=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 下跌80;
    DRAWICON(持股>下跌 ,8,1);
    X8:DRAWICON(持股下跌;
    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(ZLGJMAZL;
    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(CLOSEOPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE0,10,1);
    X10:DRAWICON(资金流量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(DDX1DDX2;
    量:=V;
    换手:=V/CAPITAL*100;
    VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
    买盘1:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSEOPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEDLX2,12,1);
    DRAWICON(DLX1DLX2;
    STICKLINE((A1+A2 + A3 + A4 + A5 + A6 + A7 + A8 + A9+A10+A11+A12)>11,0,12,0,0),COLORYELLOW;
    预选:=IF((DIFF

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map