最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信十指金叉指标公式

    正文概述    2024-04-13 16:21:38  

    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 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 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 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 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 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 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 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 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(CLOSEOPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE 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;
    预选:IF((DIFF 选股:IF((CROSS(0.99,预选)),13,0),STICK,COLORFF9150,LINETHICK3;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信十指金叉指标公式 加入收藏