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

    正文概述    2024-04-14 13:56:17  

    源码

    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);

    DEA:=EMA(DIFF,9);

    多头:STICKLINE(DIFF>DEA,C,O,5,0),colorred;

    STICKLINE(DIFF>DEA,H,L,0,0),colorred;Q_1:=C-REF(C,1);

    Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);

    Q_3:=CROSS(EMA(C,19),EMA(C,7));

    Q_4:=CROSS(EMA(C,7),EMA(C,19));

    Z1:=L=LLV(L,BARSLAST(Q_3)+1);

    Z2:=LLV(L,BARSLAST(Q_3)+1);

    Z3:=H=HHV(H,BARSLAST(Q_4)+1);

    Z4:=HHV(H,BARSLAST(Q_4)+1);

    Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0);

    Y1:=H=HHV(H,BARSLAST(Q_4)+1);

    Y2:=HHV(H,BARSLAST(Q_4)+1);

    Y3:=L=LLV(L,BARSLAST(Q_3)+1);

    Y4:=LLV(L,BARSLAST(Q_3)+1);

    Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0);

    X1:=LLV(Q_2,2)=LLV(Q_2,7) ;

    X2:=COUNT(Q_2<0,2);

    X3:=CROSS(Q_2,MA(Q_2,2));

    X4:=REF(Q_B,1)

    X5:=Q_A>REF(Q_B,1);

    买进:=(X1 AND X2 AND X3) AND X4 AND X5;

    TJ:=IF(Q_B

    堪称一绝:IF(REF(TJ,1)=0 AND TJ>=1,80,10),STICK,colorred;

    持币:IF(Q_B

    地狱底:0,colorgray;

    地狱线:10,colorgray;

    地平线:20,colorlimagenta;

    天际线:80,colorgray;

    A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV

    (L,55))*100,5,1);

    FY:=EMA(A51,5);

    A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

    VAR2:=TROUGHBARS(3,15,1)<10;

    VAR3:=PEAKBARS(3,15,1)<5;

    VAR4:=IF(VAR2=1,50,0);

    VAR5:=IF(VAR3=1,50,0);

    底部:=IF(VAR4=50,10,0);

    头部:=IF(VAR5=50,20,60);

    未来买入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,50,0),COLOR0000CC,LINETHICK2;

    未来卖出:IF(头部=20 AND REF(头部,1)=20 AND REF(头部,2)=60,20,60),colorgreen,LINETHICK2;

    参考买入延迟线:底部,LINETHICK1 ,colormagenta;
     

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺买点卖点KDJ公式 加入收藏