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

    正文概述    2024-05-04 03:56:11  

    N:=20;M:=32;P1:=80;P2:=100;

    VAR1:=(C+H+O+L)/4;

    卖出:=XMA(VAR1,N)*(1+P1/1000),COLORFFFFFF,LINETHICK3;

    买入:=XMA(VAR1,M)*(1-P2/1000),COLOR0000FF,LINETHICK3;

    DRAWBAND(卖出,RGB(200,50,55),卖出*1.03,RGB(0,100,50));

    DRAWBAND(买入,RGB(0,55,0),买入*0.97,RGB(55,55,0));

    幅度:100*(卖出-买入)/买入,NODRAW;

    MA1:=MA(VAR1,3);

    STICKLINE(卖出 LOW AND 卖出 STICKLINE(卖出 MIN(C,O) AND 卖出 STICKLINE(卖出 LOW AND 卖出 STICKLINE(卖出 STICKLINE(卖出 STICKLINE(买入 LOW AND 买入 STICKLINE(买入 MIN(C,O) AND 买入 STICKLINE(买入 LOW AND 买入 DRAWTEXT(CROSS(C,卖出),卖出*1.05, #39;卖出 #39;),COLOR00FFFF;

    机会来临:=REF(IF((MA(C,5)-C)/C 0.04 AND (MA(C,10)-MA(C,5))/MA(C,5) 0.04,30,0),1),COLORF00FF0,LINETHICK2;

    RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

    K2:=REF(MA(RSV2,3),1)+(RSV2-REF(MA(RSV2,3),1))/3;

    D2:=REF(MA(K2,3),1)+(K2-REF(MA(K2,3),1))/3;

    J2:=3*K2-2*D2;

    BB1:=EMA(J2,5);

    BB2:=REF(BB1,1);

    :=CROSS(BB1,BB2);

    DRAWTEXT(CROSS(C,买入) AND BB1 BB2 AND C REF(O,2),买入*0.95, #39;买入 #39;),COLOR0000FF;

    DRAWICON(CROSS(C,买入) AND 金叉 AND 机会来临 ,LOW*0.96,26);

    DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100;

    DEA:EMA(DIF,9);

    MACD:(DIF-DEA)*2,COLORSTICK;

    DRAWICON(CROSS(DIF,DEA),DEA,1);

    DRAWICON(CROSS(DEA,DIF),DEA,2);

    IF(DIF DEA,DIF,DRAWNULL),COLORGREEN;


    DD:=C=HHV(C,180);

    EE:=DEA REF(DEA,1) AND REF(DEA REF(DEA,1),1)=1;

    CC:=C REF(C,1) AND REF(C REF(C,1),1)=1;

    顶:=(DD AND EE AND DEA HHV(DEA,180))*DEA;

    A2:=BARSLAST(REF(CROSS(DEA,DIF),1));

    {顶背:=REF(CLOSE,A2+1) CLOSE AND REF(DIF,A2+1) DIF AND CROSS(DEA,DIF);}

    DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORRED,LINETHICK2;

    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

    K:SMA(RSV,9,3),COLORYELLOW;

    D:SMA(K,9,3),COLORWHITE;

    J:3*K-2*D,COLORMAGENTA;

    IF(J D,J,DRAWNULL),COLORFFEE44;

    0,COLORRED,LINETHICK2;20,COLORLIMAGENTA;{50,COLORWHITE;}

    80,COLORBLUE;100,COLORGREEN,LINETHICK2;

    DRAWTEXT(ISLASTBAR,0, #39;高安全区 #39;),COLORRED;

    DRAWTEXT(ISLASTBAR,20, #39;安 全 区 #39;),COLORLIMAGENTA;

    DRAWTEXT(ISLASTBAR,80, #39;风 险 区 #39;),COLORBLUE;

    DRAWTEXT(ISLASTBAR,100, #39;高风险区 #39;),COLORGREEN;

    A1:=BARSLAST(REF(CROSS(DIF,DEA),1));

    B1:=REF(C,A1+1) C AND REF(DIF,A1+1) DIF AND CROSS(DIF,DEA);

    A22:=BARSLAST(REF(CROSS( quot;KDJ.K quot;(9,3,3), quot;KDJ.D quot;(9,3,3)),1));

    B2:=REF(C,A22+1) C AND REF( quot;KDJ.K quot;(9,3,3),A22+1) quot;KDJ.K quot;(9,3,3) AND CROSS( quot;KDJ.K quot;(9,3,3), quot;KDJ.D quot;(9,3,3));

    A3:=BARSLAST(REF(CROSS( quot;RSI.RSI1 quot;(6,12,24), quot;RSI.RSI2 quot;(6,12,24)),1));

    B3:=REF(C,A3+1) C AND REF( quot;RSI.RSI1 quot;(6,12,24),A3+1) quot;RSI.RSI1 quot;(6,12,24) AND CROSS( quot;RSI.RSI1 quot;(6,12,24), quot;RSI.RSI2 quot;(6,12,24));

    DRAWTEXT(B1,DEA-0.20, #39;▲MACD底背 #39;),COLORWHITE;

    DRAWTEXT(B2,D-0.20, #39;●KDJ底背 #39;),COLORFF00FF;

    {DJ:=CROSS(J,D) AND D 20;

    DRAWTEXT(DJ,J-0.3, #39;低金叉 #39;),COLORCYAN;

    MDJ:=CROSS(DIF,DEA) AND DEA 0;

    DRAWTEXT(MDJ,DEA-0.3, #39;低金叉 #39;),COLORGREEN;

    DRAWTEXT(CROSS(DEA,DIF),DIF+0.3, #39;死叉 #39;),COLORYELLOW;

    DRAWTEXT(CROSS(D,J),J+0.3, #39;死叉 #39;),COLORRED;}

    A:=CROSS(DIF,DEA) AND CROSS(K,D) AND CROSS(J,D);

    DRAWICON(A,LOW*0.98,1);

    B4:CROSS(DIF,DEA) AND CROSS( quot;KDJ.K quot;(9,3,3), quot;KDJ.D quot;(9,3,3));

    DRAWTEXT(B4,L-0.20, #39;★金叉 #39;),COLOR0099FF;

    DRAWICON(CROSS(K,D),D,1);

    DRAWICON(CROSS(D,K),D,2);

    BA:=DEA REF(DEA,1);

    BB:=SUM(BA,5) =4;

    BC:=C O;

    BD:=SUM(BC,5) =2;

    BXG:FILTER(BB AND BD AND J REF(J,1) AND REF(J,1) REF(J,2),3);

    STICKLINE(BXG,HHV(J,60),HHV(J,60)-20,1,0),COLORRED;

    SS:=EMA(C,11);

    LL:=(EMA(C,1)+EMA(C,2)+EMA(C,3)+EMA(C,5))/4;

    {短:EMA(LL,2),COLORGREEN,LINETHICK2;}

    {长:EMA(SS,2),COLORMAGENTA,LINETHICK2;}

    AA:=(C-LLV(C,10))/(HHV(C,10)-LLV(C,10));

    (CROSS(AA,0.05)-1);

    image.png

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 波段王加强版指标 加入收藏