最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信新红股绿币副图指标 源码 选股 无未来

    正文概述    2024-04-14 17:14:21  

     

    红线出现时入场,消失时离场,只有绿线时观望

    通达信源码:
    A:EMA((CLOSE-REF(C,1))/REF(C,1)*10-(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)
    *10,5),LINETHICK1,COLORRED;
    STICKLINE(A>0,0,A,1,2),COLORRED;
    STICKLINE(A<0,0,A,1,2),COLORGREEN;
    HSNP1:=CLOSE-REF(CLOSE,1);
    HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);
    HSNP3:=REF(CLOSE,1)-CLOSE;
    HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);
    HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);
    HSNP6:=100-100/(1+HSNP5);
    HSNP7:=EMA(HSNP6,21);
    HSNP8:=EMA(HSNP7,5);
    HSNP:=EMA(HSNP7,3);
    NP:=(HSNP7-HSNP);
    NL:=(HSNP-HSNP7);
    STICKLINE(NL<0,0,NL,1,2),COLOR0B0B77;
    STICKLINE(NP<0,0,NP,1,2),COLOR666666;
    JJ :=(C*2+H+L)/4;
    SK := EMA(JJ,13) - EMA(JJ,21);
    SD := EMA(SK,3);
    SP := EMA(SK,10);
    长线1:IF(SD>=SP,SD,SP),LINETHICK1,COLORFFFFAA;
    长线2:IF(SP-SD,SP,SD),LINETHICK1,COLORWHITE;
    A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
    B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
    做多:IF(A1>=B1,A1,B1),LINETHICK1,COLORRED;
    做空:IF(B1-A1,B1,A1),LINETHICK1,COLORGREEN;

    ---------------------------------------------------------------------------------------

    同花顺源码:无未来

    A:EMA((CLOSE-REF(C,1))/REF(C,1)*10-(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*10,5);
    STICKLINE(A>0,0,A,5,0),colorred;
    STICKLINE(A<0,0,A,5,0),colorgreen;
    HSNP1:=CLOSE-REF(CLOSE,1);
    HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);
    HSNP3:=REF(CLOSE,1)-CLOSE;
    HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);
    HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);
    HSNP6:=100-100/(1+HSNP5);
    HSNP7:=EMA(HSNP6,21);
    HSNP8:=EMA(HSNP7,5);
    HSNP:=EMA(HSNP7,3);
    NP:=(HSNP7-HSNP);
    NL:=(HSNP-HSNP7);
    STICKLINE(NL<0,0,NL,5,0),COLORaaaaaa;
    STICKLINE(NP<0,0,NP,5,0),COLOR004999;
    Ll:0;
    JJ :=(C*2+H+L)/4;
    SK := EMA(JJ,13) - EMA(JJ,21);
    SD := EMA(SK,3);
    SP := EMA(SK,10);
    长线1:IF(SD>=SP,SD,SP),LINETHICK2,COLORFFFFAA;
    长线2:IF(SP-SD,SP,SD),LINETHICK2,color00ffff;
    A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
    B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
    做空:IF(A1>=B1,A1,B1),LINETHICK2,colorgreen;
    做多:IF(B1-A1,B1,A1),LINETHICK2,colorred;

    --------------------------------------------------------------------------------------
    选股源码:
    A1:=EMA(CLOSE,7)-EMA(CLOSE,21);
    B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
    做空:=IF(A1>=B1,A1,B1);
    做多:=IF(B1-A1,B1,A1);
    xg:做空=做多;
     

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信新红股绿币副图指标 源码 选股 无未来 加入收藏