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

    正文概述    2024-04-13 15:53:31  

    boll20:=MA(CLOSE,20);
    UB20:=BOLL20+2*STD(CLOSE,20);
    LB20:=BOLL20-2*STD(CLOSE,20);
    BOLL10:=MA(CLOSE,10);
    UB10:=BOLL10+2*STD(CLOSE,10);
    LB10:=BOLL10-2*STD(CLOSE,10);
    N:=9;M:=3;
    RSV:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;
    K:SMA(RSV,M,1),COLOREE90FF,LINETHICK2,NODRAW;
    D:SMA(K,M,1),COLORFFFFFF,NODRAW;
    J:IF(3*K-2*D>100,100,3*K-2*D),COLOR999000,NODRAW;
    RSF6:100-SMA(MAX(C-REF(C,1),0),6,1)/SMA(Abs(C-REF(C,1)),6,1)*100,COLOR00FFFF,LINETHICK2,NODRAW;
    XXX2:DRAWLINE(crOSS(D,K),HHV(K,15),REF(CROSS(D,K),1),REF(HHV(K,15),1),1),COLORFFF000,DOTLINE;
    XXX1:DRAWLINE(CROSS(K,D) AND REF(K,1)<35,LLV(K,15),REF(CROSS(K,D) AND REF(K,1)<35,1),REF(LLV(K,15),1),1),COLOR0000FF,DOTLINE;
    DIF:=EMA(C,12)-EMA(C,26);
    DEA:=EMA(DIF,9);
    macd:=20*(DIF-DEA);
    MacDABS:=IF(PERIOD=1,10*ABS(MACD),IF(PERIOD=2,5*ABS(MACD),IF(PERIOD=3,4*ABS(MACD),IF(PERIOD=4,3*ABS(MACD),IF(PERIOD=5,2*ABS(MACD),ABS(MACD))))));
    STICKLINE(MACD>0,MACDABS,0,2,1),COLORRED;
    STICKLINE(MACD>0 AND MACD STICKLINE(MACD<0,MACDABS,0,2,1),COLORAA0000;
    STICKLINE(MACD<0 AND MACD>=REF(MACD,1),MACDABS,0,2,1),COLOR2255DD;
    RSF6,COLOR00FFFF,LINETHICK2;
    K,COLOREE90FF,LINETHICK2;
    D,COLORFFFFFF;
    J,COLOR999000;
    底部:IF((L J抄底:IF(CROSS(J,0) AND (COUNT(L0 OR COUNT(L0),75,100),COLOR00FFFF,LINETHICK2;
    K抄底:IF(CROSS(K,D) AND REF(K,1)<35 AND (COUNT(L0 OR COUNT(L0),75,100),COLORFF00FF,LINETHICK2;
    高位风险:IF(H>UB20 AND H>UB10 AND K>95,25,0),COLOR00FF00,LINETHICK2;
    背离风险:IF((H>UB20 OR H>UB10) AND MIN(UB20,UB10)/MAX(UB20,UB10)>0.95 AND K95,20)>0,35,0),COLORFF0000,LINETHICK2;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信乘风买卖指标公式 加入收藏