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

    正文概述    2024-04-14 17:03:59  

    MA5:MA(C,5),COLORWHITE;
    MA10:MA(C,10),COLORBLUE;
    MA30:MA(C,21),COLORRED;
    MA7:=MA(CLOSE,1);
    转强:=(6*H+5*REF(H,1)+4*REF(H,2)+3*REF(H,3)+2*REF(H,4)+1*REF(H,5))/(6+5+4+3+2+1);
    转弱:=(6*L+5*REF(L,1)+4*REF(L,2)+3*REF(L,3)+2*REF(L,4)+1*REF(L,5))/(6+5+4+3+2+1);
    BB2:=IF(C>REF(转强,1),1,IF(CDD2:=BArslAST(NOT(BB2=0));
    B:=IF(BB2=0,REF(BB2,DD2),BB2);
    中短:=IF(B=-1,MA(HIGH,6),MA(LOW,6));
    STICKLINE(((OPENSTICKLINE(((OPEN>CLOSE)AND(MA7>中短)),OPEN*1.002,CLOSE*0.998,3.05,0),COLORRED;
    DRAWKLINE(H,O,L,C);
    STICKLINE(MA7<中短,HIGH,MAX(C,O)*1.002,0,1),COLORCYAN;
    STICKLINE(MA7<中短,LOW,MIN(C,O)*0.998,0,1),COLORCYAN;
    STICKLINE(MA7>中短,HIGH,MAX(C,O)*1.002,0,1),COLORRED;
    STICKLINE(MA7>中短,LOW,MIN(C,O)*0.998,0,1),COLORRED;
    {以下为bs买卖点信息项}
    DRAWICON(crOSS(MA7,中短),L*0.997,7);{买入图标}
    DRAWICON(CROSS(中短,MA7),H/0.981,8);{卖出图标}
    {加仓点}
    AAA7:=C-REF(C,1);
    AAA8:=100*EMA(EMA(AAA7,6),6)/EMA(EMA(ABS(AAA7),6),6);
    BU:=(LLV(AAA8,2)=LLV(AAA8,7) AND COUNT(AAA8<0,2) AND CROSS(AAA8,MA(AAA8,2)));
    JCD:=MA(C,10)>REF(MA(C,10),1) AND MA(C,5)>MA(C,10) AND V>MA(V,5) AND CROSS(C,MA(C,5));
    {暗渡陈仓}
    CC1:=REF(C,1);
    C2:=REF(C,2);
    C3:=REF(C,3);
    C4:=REF(C,4);
    C5:=REF(C,5);
    C6:=REF(C,6);
    O1:=REF(O,1);
    O2:=REF(O,2);
    O3:=REF(O,3);
    O4:=REF(O,4);
    P1:=C2<=C3 AND C2<=C4 AND C2<=C5 AND C2<=C6;
    P2:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20);
    P3:=C>O AND CC1>C2;
    P4:=C>CC1;
    P:=P1 AND P2 AND P3 AND P4 AND CC1/C2<=1.05;
    STICKLINE(JCD OR BU OR P,O+0.6*(C-O),C,2.9,0),COLOR8000FF;
    STICKLINE(JCD OR BU OR P,O+0.3*(C-O),O+0.6*(C-O),2.9,0),COLORYELLOW;
    STICKLINE(JCD OR BU OR P,O,O+0.3*(C-O),2.9,0),COLORRED;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信暗渡陈仓主图指标公式 加入收藏