最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信牛熊量能买卖副图测试图未加密选股指标公式源码

    正文概述    2022-06-07 00:00:00  

    3.3,COLOR555555;
    0.45,COLOR555555;
    R0:=1;
    ma5:=MA(R0,5);
    最小值:=LLV(LOW,10);
    最大值:=HHV(HIGH,25);
    波动线:=ema((CLOSE-最小值)/(最大值-最小值)*4,4);
    平均线:EMA(波动线,3);
    主力攻击:=R0-(Abs(REF(R0,1))+ABS(REF(R0,2))+ABS(REF(R0,3))+ABS(REF(R0,4))+ABS(REF(R0,5))/2)>0 AND 平均线>=REF(平均线,1) AND REF(平均线,1)<REF(平均线,2);
    主力撤退:=R0+(ABS(REF(R0,1))+ABS(REF(R0,2))+ABS(REF(R0,3))+ABS(REF(R0,4))+ABS(REF(R0,5))/2)<0 AND 平均线<=REF(平均线,1) AND REF(平均线,1)>REF(平均线,2);
    DRAWTEXT(主力攻击>0,1.5,'主进'),colorred;
    DRAWTEXT(主力撤退<0,2.8,'主退'),colorgreen;
    信息:=平均线>=REF(平均线,1);
    走强:=CLOSE>MA(CLOSE,20)AND CLOSE>MA(CLOSE,5);
    走弱:=CLOSE<MA(CLOSE,10)AND CLOSE<MA(CLOSE,5);
    量:=vol>MA(VOL,5);
    STICKLINE(平均线>=REF(平均线,1),波动线,REF(波动线,1),6,0),colorred;
    STICKLINE(平均线<REF(平均线,1),波动线 ,REF(波动线,1),6,0),colorgreen;
    D:=信息=1 AND REF(信息,1)=0 AND (REF(信息,2)+REF(信息,3)=0) AND 平均线<0.5;
    S:=信息=1 AND REF(信息,1)=0 AND (REF(信息,2)+REF(信息,3)=0) AND 走强=1 AND REF(走强,1)=0 AND 量=1;
    DD:=平均线>2 AND (信息=0 AND REF(信息,1)=1) AND (REF(信息,2)+REF(信息,3)=2);
    TZ:=(信息=0 AND REF(信息,1)=1) AND (REF(信息,2)+REF(信息,3)=2) AND MA5<0 AND 走弱=1 AND 平均线>1;
    DRAWTEXT(D=1,1.75,'极底'),colorred;
    DRAWTEXT(S=1,平均线,'升');
    DRAWTEXT(DD=1,平均线,'顶');
    DRAWTEXT(TZ=1,平均线,'下');
    IF(平均线>=REF(平均线,1),平均线,DRAWNULL),colorred,LINETHICK2;
    IF(平均线<REF(平均线,1),平均线,DRAWNULL),colorgreen,LINETHICK2;
    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);
    wr10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
    ZCJL:=(RSI5 - WR10);
    最佳买入:=(AV + ZCJL);
    最佳买入选股:=IF(crOSS(最佳买入,0),1,0);
    VAR5:=SMA(最佳买入选股,3,1);
    VAR6:=SMA(VAR5,3,1);
    VAR7:=SMA(VAR6,3,1);
    建仓买点:=IF(CROSS(VAR6,VAR7) AND (VAR6<40),5,0);
    DRAWTEXT(建仓买点,0.75,'建仓'),colorred;
    VAR8:=REF(CLOSE,2);
    会员:=SMA(MAX(CLOSE-VAR8,0),7,1)/SMA(ABS(CLOSE-VAR8),7,1)*100;
    逃亡:=IF(会员< REF(会员,1) AND 会员>79,会员,0);
    DRAWTEXT(逃亡,3.1,'逃'),coloryellow;
    DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1)AND C<REF(O,1)AND C/O>=1.01,1,'见底'),colorlired;
    DRAWTEXT(C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),1,'绝底'),colorred;
    VAR11:=REF(LOW,1);
    VAR12:=SMA(ABS(LOW-VAR11),3,1)/SMA(MAX(LOW-VAR11,0),3,1)*100;
    VAR13:=EMA(IF(CLOSE*1.2,VAR12*10,VAR12/10),3);
    VAR14:=LLV(LOW,38);
    VAR15:=HHV(VAR13,38);
    VAR16:=IF(LLV(LOW,90),1,0);
    VAR17:=EMA(IF(LOW<=VAR14,(VAR13+VAR15*2)/2,0),3)/618*VAR16;
    CDXS:=HHV(VAR17,0)/2.6;
    STICKLINE(VAR17,0.53,VAR17/CDXS+0.53,0.6,0),colorwhite;
    HUA:=(CLOSE - LLV(LOW,14)) / (HHV(HIGH,14) - LLV(LOW,14)) * 1.2 * CLOSE;
    NV1:=EMA(HUA,4);
    NV2:=EMA(HUA,8);
    DRAWICON(CROSS(NV1,NV2) AND CLOSE/OPEN>1.05,0.5,1);
    DRAWICON(CROSS(NV2,NV1) AND COUNT(CROSS(NV1,NV2) AND CLOSE/OPEN>1.05 ,20) ,3.2,2);
    HUA2:=SMA(MAX(CLOSE-REF(CLOSE,1),0),16,2)/SMA(ABS(CLOSE/REF(CLOSE,1)),16,2)*100;
    XIAN:=SMA(HUA2,3,1);
    NV3:=SMA(XIAN,3,1);
    XINV:=3*XIAN-2*NV3;
    买入条件:=CROSS(XINV,NV3);
    卖出条件:=CROSS(NV3,XINV);
    DRAWICON( 卖出条件,3.3,2),coloryellow;
    DRAWICON(买入条件,0.4,222),colorwhite;
    HXN:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);
    DRAWTEXT(HXN>90 AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1) AND COUNT(HXN>90,30)=1,平均线-0.25, '见涨'),,colorlired;
    HXJZ:=MA((2*CLOSE+HIGH+LOW)/4,5);
    BZTD:=HXJZ*89/100;
    DRAWTEXT(CROSS(LOW,BZTD),1.25,'必涨'),colorred;
    花:=EMA(SLOPE(1,1)+C,3),colorred;
    女:=EMA(SLOPE(1,1)+C,7),colorblue;
    STICKLINE(花>女 ,0.5,0.53,6,0) ,colorred;
    STICKLINE(花<=女 ,0.5,0.53,6,0),colorgreen;
    RJ:=1;
    RSI_1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
    RSI_2:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
    RSI_3:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
    相对强弱:=0.5*RSI_1+0.31*RSI_2+0.19*RSI_3;
    WAVE_1:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),3,1);
    WAVE_2:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),5,1);
    WAVE_3:=SMA(100*(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)),8,1);
    短线波段:=0.5*WAVE_1+0.31*WAVE_2+0.19*WAVE_3;
    风险系数:=0.5*相对强弱+0.5*短线波段,coloryellow;
    CD1:=IF(风险系数<20 AND CLOSE>OPEN AND RJ>0,1,0);
    CD2:=IF(风险系数<20 AND LOW>=REF(LOW,1) AND CLOSE>LOW AND RJ>0,1,0);
    CD3:=IF(REF(风险系数,1)<20 AND 风险系数>REF(风险系数,1),1,0);
    SIGnaLBUY:=(CD1=1 OR CD2=1 OR CD3=1);
    CD:=(SIGNALBUY AND COUNT(SIGNALBUY,3)=1);
    DRAWTEXT(CD,0.5,'抄底'),COLOR0099FF;
    dif:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
    DEA:=EMA(DIF,9);
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,9,3);
    D_:=SMA(K,9,3);
    GZ:=CROSS(DIF,DEA) AND CROSS(K,D_);
    DRAWTEXT(GZ,2,'金叉'),COLOR0099FF;



    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信牛熊量能买卖副图测试图未加密选股指标公式源码 加入收藏