最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 赵机三宝指标 (源码)

    正文概述    2024-04-07 06:48:19  
    DIFF:=(EMA(C,5)-EMA(C,26))/EMA(C,26)*1000,COLOR000000;
    DDEA:=EMA(DIFF,50),COLOR000000;
    MACD:2*(DIFF-DDEA)+50,COLOR000000;
    STICKLINE(MACD REF(MACD,1)AND MACD 50,50,MACD,1,0),COLORCYAN;
    STICKLINE(MACD REF(MACD,1)AND MACD 50,50,MACD,1,0),COLORCYAN;
    STICKLINE(MACD REF(MACD,1)AND MACD 50,50,MACD,1,0),COLORYELLOW;
    STICKLINE(MACD REF(MACD,1)AND MACD 50,50,MACD,1,0),COLORFF00FF;
    BIAS1:=(C-MA(C,6))/MA(C,6)*100;
    BIAS2:=(C-MA(C,12))/MA(C,12)*100;
    BIAS3:=(C-MA(C,24))/MA(C,24)*100;
    BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
    乖离:=MA(BIAS,3);
    STICKLINE(CROSS(BIAS,乖离) AND 乖离 -9,8,0,2,0),COLORYELLOW;
    中轴:50,COLORWHITE;
    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
    %K:MA(RSV,M1),COLORBLUE;
    %D:MA(%K,M2),COLORAA00DD;
    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIF,9);
    VAR1:=HHV(DEA,53);
    VAR2:=LLV(DEA,55);
    VAR3:=DEA-(DIF-DEA);
    UP:=IF(DIF VAR1 AND DEA=VAR1,MAX(LLV(VAR1,10),VAR3),VAR1);
    DN:=IF(DIF VAR2 AND DEA=VAR2,MIN(HHV(VAR2,10),VAR3),VAR2);
    下美人眼:IF(DIF DN,-5,DRAWNULL),COLOR00BB00,LINETHICK3; {通达信}
    上美人眼:IF(DIF UP,104,DRAWNULL),COLOR00BB00,LINETHICK3; {通达信};
    J:=3*%K-2*%D,COLORWHITE;
    OBV:=%K;
    AAA1:=REF(OBV,5)=HHV(OBV,2*5+1);
    BBB1:=FILTER(AAA1,5);
    CCC1:=BACKSET(BBB1,5+1);
    DDD1:=FILTER(CCC1,5);{高点}
    AAA2:=REF(OBV,5)=LLV(OBV,2*5+1);
    BBB2:=FILTER(AAA2,5);
    CCC2:=BACKSET(BBB2,5+1);
    DDD2:=FILTER(CCC2,5);{低点}
    DRAWICON(DDD1,OBV,8);
    DRAWICON(DDD2,OBV,7);
    六日RSI:SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100,LINETHICK2,COLORRED;
    趋势线:DRAWLINE(六日RSI =HHV(六日RSI,10),六日RSI,六日RSI =LLV(六日RSI,3),HHV(六日RSI,3),1),COLORCYAN;
    上穿:=CROSS(六日RSI,趋势线);
    DRAWICON(上穿 AND 六日RSI 75,趋势线,25);
    {www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
    P:=5; N1:=6; HIGHN:=20;
    LC:=REF(CLOSE,1);
    AA:=REF(六日RSI,HIGHN)=HHV(六日RSI,2*HIGHN+1);
    QY:=BACKSET(AA,HIGHN+1);
    CC:=FILTER(QY,HIGHN) AND 六日RSI=HHV(六日RSI,HIGHN+1);
    DDD:=BARSLAST(CC);
    GDTS:=IF(CC,CURRBARSCOUNT,0);
    DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);
    GDCS1:=CONST(DINGBUTS);
    DINGBUTS1:=REF(DINGBUTS,DDD+1);
    GDCS2:=CONST(DINGBUTS1);
    AA1:=REF(六日RSI,HIGHN)=LLV(六日RSI,2*HIGHN+1);
    QY1:=BACKSET(AA1,HIGHN+1);
    CC1:=FILTER(QY1,HIGHN) AND 六日RSI=LLV(六日RSI,HIGHN+1);
    DD1:=BARSLAST(CC1);
    DDTS:=IF(CC1,CURRBARSCOUNT,0);
    DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);
    DDCS1:=CONST(DDTS1);
    DDTS2:=REF(DDTS1,DD1+1);
    DDCS2:=CONST(DDTS2);
    A1:=REF(六日RSI,P)=HHV(六日RSI,2*P+1);
    B1:=FILTER(A1,P);
    C1:=BACKSET(B1,P+1);
    D1:=FILTER(C1,P);
    A2:=REF(六日RSI,P)=LLV(六日RSI,2*P+1);
    B2:=FILTER(A2,P);
    C2:=BACKSET(B2,P+1);
    D2:=FILTER(C2,P);
    R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);
    S11:=R11 REF(R11,1);
    T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);
    U11:=T11 REF(T11,1);
    MID:=MA(六日RSI,20);
    UPPER:=MID + 2*STD(六日RSI,20);
    LOWER:=MID - 2*STD(六日RSI,20);
    高:=REF(HHV(六日RSI,360),1);
    低:=REF(LLV(六日RSI,240),1);
    DRAWICON(CC,六日RSI*1.03,2);
    DRAWICON(CC1,六日RSI*0.97,1);
    高压:DRAWLINE(CURRBARSCOUNT=GDCS2,六日RSI,CURRBARSCOUNT=GDCS1,六日RSI,1) COLORBLUE,POINTDOT,LINETHICK4;
    低支:DRAWLINE(CURRBARSCOUNT=DDCS2,六日RSI,CURRBARSCOUNT=DDCS1,六日RSI,1) COLORRED,POINTDOT,LINETHICK4;
    阻力:DRAWLINE(D1,六日RSI,S11,六日RSI,1),COLORYELLOW;
    支撑:DRAWLINE(D2,六日RSI,U11,六日RSI,1),COLOR00FF00;
    DRAWTEXT(CROSS(六日RSI,LOWER),LOWER,'抄'),COLOR00FF00;
    DRAWTEXT(CROSS(LOWER,六日RSI),LOWER,'▼'),COLOR00FF00;
    DRAWTEXT(CROSS(六日RSI,高),MID,'年高'),COLORYELLOW;
    DRAWTEXT(CROSS(低,六日RSI),MID,'年低'),COLORYELLOW;
    DRAWTEXT(CROSS(UPPER,六日RSI),UPPER,'逃'),COLORYELLOW;
    DRAWTEXT(CROSS(六日RSI,UPPER),UPPER,'▲'),COLORYELLOW;
    VM:MA(六日RSI,N1),COLORFF00FF,NODRAW;
    STICKLINE(CROSS(BIAS,乖离) AND 乖离 -9,6,0,2,0),COLORRED;
    DRAWTEXT(ISLASTBAR AND 六日RSI REF(六日RSI,1),VM,' ▲'),COLORDD00FF;
    DRAWTEXT(ISLASTBAR AND 六日RSI REF(六日RSI,1),VM,' ▼'),COLORCCEE00;

    通达信赵机三宝指标公式


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 赵机三宝指标 (源码) 加入收藏