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

    正文概述    2024-04-13 03:49:19  

    趋势快慢线指标
    本指标比较简单实用,彩色飘带红色持股,绿色持币。
    配合均线,成交量,大盘和其他指标使用。

    DIF:=EMA(C,12)-EMA(C,26);
    DEA:=EMA(DIF,9);
    MACD:=(DIF-DEA)*2,COLORSTICK;
    MACD翻红:CROSS(DIF,DEA);
    SAR翻红:CROSS(C,SAR(10,2,20));
    EMA翻红:CROSS(EXPMA(C,7),EXPMA(C,21));
    LC:=REF(CLOSE,1);
    RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
    TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
    HD:=(HIGH - REF(HIGH,1));
    LD:=(REF(LOW,1) - LOW);
    DMP:=SUM(IF(((HD 0) AND (HD LD)),HD,0),10);
    DMM:=SUM(IF(((LD 0) AND (LD HD)),LD,0),10);
    PDI:=((DMP * 100) / TR1);
    MDI:=((DMM * 100) / TR1);
    ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
    AV:=(RSI5 + ADX);
    DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
    WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
    NEWVOL:=(RSI5 - WR10);
    阶段底部:=(AV + NEWVOL);
    出击:CROSS(阶段底部,0);
    DIF3:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA3:=EMA(DIF3,9);
    MACD3 := 2*(DIF3-DEA3);
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    J:=3*K-2*D;
    止跌:MACD3 REF(MACD3,1) AND REF(MACD3,2) =REF(MACD3,1) AND J 50 AND C REF(C,1) AND C O AND J REF(J,1);
    MTM:=C-REF(C,1);
    DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
    YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX 0,2) AND CROSS(DX,MA(DX,2)),1,0);
    蓝:IF(FILTER(YXF=1,5),20,0),colorliblue,LINETHICK3;
    红: IF(FILTER(YXF=1,5),10,0),colorred,LINETHICK2;
    黄: IF(FILTER(YXF=1,5),5,0),coloryellow,LINETHICK1;
    TYP0:=(CLOSE+OPEN)-H/3;
    V0:=SUM(IF(TYP0 REF(TYP0,1),TYP0*VOL,1),15)/SUM(IF(TYP0 REF(TYP0,1),TYP0*VOL,1),15);
    F0:100-(100/(1+V0));//隐藏;
    TYP:=(CLOSE+OPEN)-H/3;
    V1:=SUM(IF(TYP REF(TYP,1),TYP*VOL,1),10)/SUM(IF(TYP REF(TYP,1),TYP*VOL,1),10);
    F1:100-(100/(1+V1));//隐藏;
    TYP1:=(CLOSE+OPEN)-H/3;
    V2:=SUM(IF(TYP1 REF(TYP1,1),TYP1*VOL,1),13)/SUM(IF(TYP1 REF(TYP1,1),TYP1*VOL,1),13);
    F2:100-(100/(1+V2));//隐藏;
    快线:(F0+F1+F2)/3,ColorFFFFFF,linethick1;
    趋线:EMA(快线,15),Color0000FF ,linethick2;
    慢线:EMA(快线,5,),colorliblue,linethick1;
    FILLRGN(快线,慢线,快线 慢线,RGB(255,0,255,),快线 慢线,colorgreen);
    FILLRGN(慢线,快线,慢线 快线,RGB(50,255,0,),快线 慢线,colorred);
    STICKLINE(V 0,50,50,4,0),colorgray;
    STICKLINE(V 0,30,30,4,0),Color0000FF;
    STICKLINE(V 0,70,70,4,0),Color00FF00;
    M1 := EMA( CLOSE, 9 );
    M2 := EMA( CLOSE, 18 );
    MD : M1 - M2, colorwhite, LINETHICK3;
    MM := EMA( MD, 3 );
    吸 : IF( MD = MM AND MD 0, MD, DRAWNULL ), colorlired, LINETHICK3;
    拉 : IF( MD = MM AND MD = 0, MD, DRAWNULL ), colorred, LINETHICK3;
    派 : IF( MD MM AND MD = 0, MD, DRAWNULL ), colorgreen, LINETHICK3;
    落 : IF( MD MM AND MD 0, MD, DRAWNULL ), colorwhite, LINETHICK3;
    VAR1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100);
    VAR2:=REVERSE(VAR1);
    VAR3:=SMA(VAR1,5,1);
    K:=SMA(VAR3,3,1);
    D:=SMA(K,3,1);
    85,STICK,Linethick7,ColorFF0000;
    DRAWTEXT(CROSS(K,D) AND (D 18),15,''),Color00FF00;
    DRAWTEXT(CROSS(D,K) AND (D 75),85,''),ColorFFFFFF;
    STICKLINE((K = D),K,D,6,0),Color0000A8;
    STICKLINE((K = D),K,D,5,0),Color0000C0;
    STICKLINE((K = D),K,D,4,0),Color0000E0;
    STICKLINE((K = D),K,D,3,0),Color0000F0;
    STICKLINE((K = D),K,D,2,0),Color0000D0;
    STICKLINE((K = D),K,D,1,0),Color8080FF;
    STICKLINE((K = D),K,D,6,0),Color008800;
    STICKLINE((K = D),K,D,5,0),Color009900;
    STICKLINE((K = D),K,D,4,0),Color00AA00;
    STICKLINE((K = D),K,D,3,0),Color00BB00;
    STICKLINE((K = D),K,D,2,0),Color00CC00;
    STICKLINE((K = D),K,D,1,0),Color00DD00;


    同花顺趋势快慢线副图指标

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺趋势快慢线副图指标 加入收藏