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

    正文概述    2024-04-13 01:17:31  

    用法:5个箭头向上买入,5个箭头向下卖出,实际上有一个箭头向下就可以跑

    input:N1(3,1,100),N2(5,1,100),N3(8,1,100),N4(13,1,100),N5(21,1,100),N6(34,1,100);
    DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);
    DEA:=EMA(DIFF,N2);
    DRAWICON(DIFF>DEA,1,7),ALIGN1;
    DRAWICON(DIFF DRAWTEXT(BARSTATUS=2,1,' macd'),COLORFFFFFF;
    A1:=DIFF>DEA;
    RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;
    K:=SMA(RSV1,N1,1);
    D:=SMA(K,N1,1);
    DRAWICON(K>D,2,7),ALIGN1;
    DRAWICON(K DRAWTEXT(BARSTATUS=2,2,' kdj'),COLORFFFFFF;
    A2:=K>D;
    LC:=REF(CLOSE,1);
    rsi1:=(SMA(MAX(CLOSE-LC,0),N2,1))/(SMA(Abs(CLOSE-LC),N2,1))*100;
    RSI2:=(SMA(MAX(CLOSE-LC,0),N4,1))/(SMA(ABS(CLOSE-LC),N4,1))*100;
    DRAWICON(RSI1>RSI2,3,7),ALIGN1;
    DRAWICON(RSI1 DRAWTEXT(BARSTATUS=2,3,' RSI'),COLORFFFFFF;
    A3:=RSI1>RSI2;
    RSV:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100;
    Lwr1:=SMA(RSV,N1,1);
    LWR2:=SMA(LWR1,N1,1);
    DRAWICON(LWR1>LWR2,4,7),ALIGN1;
    DRAWICON(LWR1 DRAWTEXT(BARSTATUS=2,4,' LW&R'),COLORFFFFFF;
    A4:=LWR1>LWR2;
    bbi:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4;
    DRAWICON(CLOSE>BBI,5,7),ALIGN1;
    DRAWICON(CLOSE DRAWTEXT(BARSTATUS=2,5,' BBI'),COLORFFFFFF;
    A5:=CLOSE>BBI;
    mtm:=CLOSE-REF(CLOSE,1);
    mms:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1);
    MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);
    DRAWICON(MMS>MMM,6,7),ALIGN1;
    DRAWICON(MMS 指导线:(A1+A2+A3+A4+A5),linethick2,COLORFFFF00;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧五指金叉指标公式 加入收藏