• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【配资炒股】【通达信】六脉神剑+选股指标公式

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

    DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
    DEA:=EMA(DIFF,5);
    A1:=DIFF>DEA;
    MACD金叉:IF(A1,1,0),COLORRED;
    RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
    K:=SMA(RSV1,3,1);
    D:=SMA(K,3,1);
    DRAWICON(K>D,2,1);
    DRAWICON(KD;
    KDJ金叉:IF(A2,2,0),COLORRED;
    LC:=REF(CLOSE,1);
    RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
    RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
    DRAWICON(RSI1>RSI2,3,1);
    DRAWICON(RSI1RSI2;
    RSI金叉:IF(A3,3,0),COLORRED;
    RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
    LWR1:=SMA(RSV,3,1);
    LWR2:=SMA(LWR1,3,1);
    DRAWICON(LWR1>LWR2,4,1);
    DRAWICON(LWR1LWR2;
    LWR金叉:IF(A4,4,0),COLORRED;
    BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
    DRAWICON(CLOSE>BBI,5,1);
    DRAWICON(CLOSEBBI;
    BBI金叉:IF(A5,5,0),COLORRED;
    MTM:=CLOSE-REF(CLOSE,1);
    MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
    MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
    DRAWICON(MMS>MMM,6,1);
    DRAWICON(MMSMMM;
    MTM金叉:IF(A6,6,0),COLORRED;
    涨买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0),COLORYELLOW,LINETHICK2;
    上涨:IF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,7,0),COLORYELLOW,LINETHICK2;
    晴天:BARSLASTCOUNT(A1 AND A2 AND A3 AND A4 AND A5 AND A6),LINETHICK0;
    雨天:BARSLASTCOUNT(MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉>0 AND MACD金叉+KDJ金叉+RSI金叉+LWR金叉+BBI金叉+MTM金叉DEA;
    RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
    K:=SMA(RSV1,3,1);
    D:=SMA(K,3,1);
    A2:=K>D;
    LC:=REF(CLOSE,1);
    RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
    RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
    A3:=RSI1>RSI2;
    RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
    LWR1:=SMA(RSV,3,1);
    LWR2:=SMA(LWR1,3,1);
    A4:=LWR1>LWR2;
    BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
    A5:=CLOSE>BBI;
    MTM:=CLOSE-REF(CLOSE,1);
    MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
    MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
    A6:=MMS>MMM;
    涨买入:IF((A1 AND A2 AND A3 AND A4 AND A5 AND A6) AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,7,0);

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

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

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

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