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

    正文概述    2024-04-13 15:13:52  

    MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    牛线:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210;
    马线:=MA(牛线,6);
    STICKLINE(C>牛线,2.5,4,2,0),COLORLIRED,LINETHICK1;
    STICKLINE(C<马线,2.5,4,2,0),COLORLIGREEN,LINETHICK1;
    STICKLINE(牛线>=C AND C>=马线,2.5,4,2,0),COLORGREEN,LINETHICK1;
    A:=MAX(MA(C,60),MA(C,120));
    B:=MIN(MA(C,60),MA(C,120));
    STICKLINE(C>=A,0.5,2,2,0),COLORLIRED,LINETHICK1;
    STICKLINE(C<=B,0.5,2,2,0),COLORLIGREEN,LINETHICK1;
    STICKLINE(A>=C AND C>=B,0.5,2,2,0),COLORGREEN,LINETHICK1;
    R:=0;
    E:=MAX(MA(C,45),MA(C,90));
    F:=MIN(MA(C,45),MA(C,90));
    STICKLINE(C>E,-1.5,0,2,0),COLORLIRED,LINETHICK1;
    STICKLINE(C STICKLINE(E>=C AND C>=F,-1.5,0,2,0),COLORGREEN,LINETHICK1;
    J:=MAX(MA(C,30),MA(C,60));
    K:=MIN(MA(C,30),MA(C,60));
    STICKLINE(C>J,-3.5,-2,2,0),COLORLIRED,LINETHICK1;
    STICKLINE(C STICKLINE(J>=C AND C>=K,-3.5,-2,2,0),COLORGREEN,LINETHICK2;
    MA5:=MA(C,5);
    MA13:=MA(C,13);
    MA21:=MA(C,21);
    MA34:=MA(C,34);
    MA55:=MA(C,55);
    MA89:=MA(C,89);
    MA144:=MA(C,144);
    MA233:=MA(C,233);
    TMP1:=IF(C>MA5,1,0);
    TMP2:=IF(C>MA13,1,0);
    TMP3:=IF(C>MA21,1,0);
    TMP4:=IF(C>MA34,1,0);
    TMP5:=IF(C>MA55,1,0);
    TMP6:=IF(C>MA89,1,0);
    TMP7:=IF(C>MA144,1,0);
    TMP8:=IF(C>MA233,1,0);
    强弱钝化线:TMP1+TMP2+TMP3+TMP4+TMP5+TMP6+TMP7+TMP8+-3.8,COLORYELLOW,LINETHICK2;
    LC:=REF(CLOSE,1);
    rsi:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(Abs((CLOSE - LC)),3,1)) *89.06);
    FF:=EMA(CLOSE,3);
    MA15:=EMA(CLOSE,21);
    { }
    DRAWTEXT(crOSS(FF,MA15),-4,'↖底'),COLORLIRED;
    RSI1:=((SMA(MAX((CLOSE - (REF(CLOSE,1))),0),3,1) / SMA(ABS((CLOSE - (REF(CLOSE,1)))),3,1))*89.06);
    DRAWTEXT(CROSS(88,RSI1) AND (MA(C,3))>(EMA(C,3)) ,4,'↙顶'),COLORGREEN;
    AA:=(HHV(HIGH,20) - (2 * ATR));
    BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
    SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
    BBB:=BArslAST(BB);
    SSSB:=BARSLAST(SSS);
    B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
    B1B:=BARSLAST(B1);
    B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
    B2B:=BARSLAST(B2);
    B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
    DRAWTEXT((B1 = 1),-4,'↖跟进'),COLORYELLOW;
    DRAWTEXT((B2 = 1),-4,'↖加码'),COLORFFAAFF;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信资金密码指标公式 加入收藏