• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信集杀多洗盘买入背离于一身的(贴图副图)未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-06-20|栏目:通达信公式

    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=Sma(RSV,3,1),COLORRED;
    D:=SMA(K,3,1),COLORBLUE;
    J:=3*K-2*D,COLORFF00FF;
    A:=250;
    difF:=(ema(CLOSE,12) - EMA(CLOSE,26));
    DEA:=EMA(DIFF,9),COLORYELLOW,LINETHICK0;
    MacD:=2*(DIFF-DEA);
    MM:=IF(macd< 0,MACD,0);
    JJ:=MM> REF(MM,1);
    ZZ:=REF(JJ,1)=1;
    准备:=(JJ AND ZZ)*DEA;
    STICKLINE(准备=DEA,1,-1,2,1),COLORFFFF00;
    JH:=HHV(MAX(K,MAX(D,J)),A);
    DH:=HHV(MAX(DIFF,DEA),A);
    SH:=INTPART(JH/DH)/2;
    DIFF50:=SH*DIFF+50,COLORFFFF00;
    DEA50:=SH*DEA+50,COLORYELLOW;
    STICKLINE(DIFF50>DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORWHITE;
    STICKLINE(DIFF50<DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORFFFF00;
    红柱:IF(1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0),
    STICK,COLORLIRED;
    绿柱:IF(1.5*(DIFF50-DEA50)<REF(1.5*(DIFF50-DEA50),1),
    1.5*(DIFF50-DEA50),0),STICK,COLORCYAN;
    缩头:=IF(1.5*(DIFF50-DEA50)>0 AND REF(1.5*(DIFF50-DEA50),1)>REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)< REF(1.5*(DIFF50-DEA50),1),1,0);
    缩脚:=IF(1.5*(DIFF50-DEA50)<0 AND REF(1.5*(DIFF50-DEA50),1)< REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1,0);
    杀多:=IF(1.5*(DIFF50-DEA50)<0 AND REF(1.5*(DIFF50-DEA50),1)> REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)<REF(1.5*(DIFF50-DEA50),1),1,0);
    诱空:=IF(1.5*(DIFF50-DEA50)>0 AND REF(1.5*(DIFF50-DEA50),1)< REF(1.5*(DIFF50-DEA50),2) AND 1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1,0);

    阻力:=IF(crOSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);
    DRAWTEXT(FILTER(杀多,3) AND 杀多,1.5*(DIFF50-DEA50),'杀多'),COLORFF00FF;
    DRAWTEXT(FILTER(缩头,3) AND 缩头,1.5*(DIFF50-DEA50)+0.2,'卖'),COLORFF00FF;
    DRAWTEXT(FILTER(诱空,3) AND 诱空,1.5*(DIFF50-DEA50),'?洗盘'),COLOR00FF00;
    DRAWTEXT(FILTER(缩脚,3) AND 缩脚,1.5*(DIFF50-DEA50)-0.2,'买'),COLOR00FF00;
    DRAWTEXT(FILTER(阻力,16) AND 1.5*(DIFF50-DEA50)>=0,1.5*(DIFF50-DEA50)+0.01,'阻力'),COLOR00FFFF;

    VRA:=REF(CLOSE,1);
    VRB:=SMA(MAX(CLOSE-VRA,0),6,1)/SMA(Abs(CLOSE-VRA),6,1)*100;
    VRC:=(2*CLOSE+HIGH+LOW)/4;
    VR0:=LLV(LOW,34);
    VR1:=HHV(HIGH,34);
    VR2:=EMA((VRC-VR0)/(VR1-VR0)*100,6);
    VR3:=EMA(0.667*REF(VR2,1)+0.333*VR2,4);
    VA1:=(REF(HIGH,1)+REF(LOW,1))/2;
    VA2:=MA(CLOSE,20)+2*STD(CLOSE,20);
    VA3:=REF(CLOSE,1);
    VA4:=SMA(MAX(CLOSE-VA3,0),7,1)/SMA(ABS(CLOSE-VA3),7,1)*100;
    VA5:=CROSS(79,VA4);
    VA6:=FILTER(VA5,4);
    VVD:=MA(CLOSE,80)-MA(CLOSE,10)/3;
    VA7:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
    X1:=CROSS(VA1,VA2) OR VA6;
    X2:=CROSS(84,VRB);

    STICKLINE(X1 OR X2,1.5*(DIFF50-DEA50)*1.05,1.5*(DIFF50-DEA50)*1.08,3,0);
    Y1:=IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA2>VA3,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
    Y2:=IF(CLOSE<VVD AND vol/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0);
    Y3:=CROSS(VA7,10);
    Y4:=IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VR2>VR3,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);

    STICKLINE(Y1 OR Y2 OR Y3 OR Y4,1.5*(DIFF50-DEA50)*0.90,1.5*(DIFF50-DEA50)*0.99,3,0);

    DD:=C=HHV(C,180);
    EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
    CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
    上升背离:(CC AND EE)*1.5*(DIFF50-DEA50),LINETHICK2,COLORRED;
    顶背离:(DD AND EE AND DEA< HHV(DEA,180))*3*ABS(DIFF50-DEA50),STICK,LINETHICK3,COLORCYAN;
    FF:=C=LLV(C,180);
    GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;
    LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
    下降背离:(LL AND GG)*1.5*(DIFF50-DEA50),LINETHICK2,COLORBLUE;
    底背离:(FF AND GG AND DEA> LLV(DEA,180))*3*(DIFF50-DEA50),STICK,LINETHICK3,COLORWHITE

    image.png



    未来函数检测公式代码域:

    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=Sma(RSV,3,1),COLORRED;D:=SMM(K,3,1),COLORBLUE;J:=3*K-2*D,COLORFF00FF;M:=250;difF:=(ema(CLOSE,12) - EMM(CLOSE,26));DEM:=EMM(DIFF,9),COLORYELLOW,LINETHICK0;MacD:=2*(DIFF-DEM);MM:=IF(macd< 0,MMCD,0); JJ:=MM> REF(MM,1); ZZ:=REF(JJ,1)=1; 准备:=(JJ MND ZZ)*DEM; STICKLINE(准备=DEM,1,-1,2,1),COLORFFFF00;JH:=HHV(MMX(K,MMX(D,J)),M);DH:=HHV(MMX(DIFF,DEM),M);SH:=INTPMRT(JH/DH)/2;DIFF50:=SH*DIFF+50,COLORFFFF00;DEM50:=SH*DEM+50,COLORYELLOW;STICKLINE(DIFF50>DEM50,0,1.5*(DIFF50-DEM50),0,0),COLORWHITE; STICKLINE(DIFF50<DEM50,0,1.5*(DIFF50-DEM50),0,0),COLORFFFF00;红柱:IF(1.5*(DIFF50-DEM50)>REF(1.5*(DIFF50-DEM50),1),1.5*(DIFF50-DEM50),0),STICK,COLORLIRED;绿柱:IF(1.5*(DIFF50-DEM50)<REF(1.5*(DIFF50-DEM50),1),1.5*(DIFF50-DEM50),0),STICK,COLORCYMN;缩头:=IF(1.5*(DIFF50-DEM50)>0 MND REF(1.5*(DIFF50-DEM50),1)>REF(1.5*(DIFF50-DEM50),2) MND 1.5*(DIFF50-DEM50)< REF(1.5*(DIFF50-DEM50),1),1,0);缩脚:=IF(1.5*(DIFF50-DEM50)<0 MND REF(1.5*(DIFF50-DEM50),1)< REF(1.5*(DIFF50-DEM50),2) MND 1.5*(DIFF50-DEM50)>REF(1.5*(DIFF50-DEM50),1),1,0);杀多:=IF(1.5*(DIFF50-DEM50)<0 MND REF(1.5*(DIFF50-DEM50),1)> REF(1.5*(DIFF50-DEM50),2) MND 1.5*(DIFF50-DEM50)<REF(1.5*(DIFF50-DEM50),1),1,0);诱空:=IF(1.5*(DIFF50-DEM50)>0 MND REF(1.5*(DIFF50-DEM50),1)< REF(1.5*(DIFF50-DEM50),2) MND 1.5*(DIFF50-DEM50)>REF(1.5*(DIFF50-DEM50),1),1,0);阻力:=IF(crOSS(C,MM(C,20)) OR CROSS(C,MM(C,60)),1,0);DRMWTEXT(FILTER(杀多,3) MND 杀多,1.5*(DIFF50-DEM50),'杀多'),COLORFF00FF;DRMWTEXT(FILTER(缩头,3) MND 缩头,1.5*(DIFF50-DEM50)+0.2,'卖'),COLORFF00FF;DRMWTEXT(FILTER(诱空,3) MND 诱空,1.5*(DIFF50-DEM50),'?洗盘'),COLOR00FF00;DRMWTEXT(FILTER(缩脚,3) MND 缩脚,1.5*(DIFF50-DEM50)-0.2,'买'),COLOR00FF00;DRMWTEXT(FILTER(阻力,16) MND 1.5*(DIFF50-DEM50)>=0,1.5*(DIFF50-DEM50)+0.01,'阻力'),COLOR00FFFF;VRM:=REF(CLOSE,1); VRB:=SMM(MMX(CLOSE-VRM,0),6,1)/SMM(Mbs(CLOSE-VRM),6,1)*100; VRC:=(2*CLOSE+HIGH+LOW)/4; VR0:=LLV(LOW,34); VR1:=HHV(HIGH,34); VR2:=EMM((VRC-VR0)/(VR1-VR0)*100,6); VR3:=EMM(0.667*REF(VR2,1)+0.333*VR2,4); VM1:=(REF(HIGH,1)+REF(LOW,1))/2; VM2:=MM(CLOSE,20)+2*STD(CLOSE,20); VM3:=REF(CLOSE,1); VM4:=SMM(MMX(CLOSE-VM3,0),7,1)/SMM(MBS(CLOSE-VM3),7,1)*100; VM5:=CROSS(79,VM4); VM6:=FILTER(VM5,4); VVD:=MM(CLOSE,80)-MM(CLOSE,10)/3; VM7:=3*SMM((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMM(SMM((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); X1:=CROSS(VM1,VM2) OR VM6; X2:=CROSS(84,VRB);STICKLINE(X1 OR X2,1.5*(DIFF50-DEM50)*1.05,1.5*(DIFF50-DEM50)*1.08,3,0); Y1:=IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 MND COUNT(VM2>VM3,3) MND REF(LOW,1)=LLV(LOW,120) MND CLOSE>OPEN,1,0); Y2:=IF(CLOSE<VVD MND vol/240>MM(VOL,5)/240 MND CLOSE>REF(CLOSE,1)*1.08 MND CLOSE<MM(CLOSE,13)*1.3,1,0); Y3:=CROSS(VM7,10); Y4:=IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 MND COUNT(VR2>VR3,3) MND REF(LOW,1)=LLV(LOW,120) MND CLOSE>OPEN,1,0);STICKLINE(Y1 OR Y2 OR Y3 OR Y4,1.5*(DIFF50-DEM50)*0.90,1.5*(DIFF50-DEM50)*0.99,3,0);DD:=C=HHV(C,180); EE:=DEM< REF(DEM,1) MND REF(DEM< REF(DEM,1),1)=1; CC:=C> REF(C,1) MND REF(C> REF(C,1),1)=1; 上升背离:(CC MND EE)*1.5*(DIFF50-DEM50),LINETHICK2,COLORRED; 顶背离:(DD MND EE MND DEM< HHV(DEM,180))*3*MBS(DIFF50-DEM50),STICK,LINETHICK3,COLORCYMN; FF:=C=LLV(C,180); GG:= DEM> REF(DEM,1) MND REF(DEM> REF(DEM,1),1)=1; LL:=C< REF(C,1) MND REF(C< REF(C,1),1)=1; 下降背离:(LL MND GG)*1.5*(DIFF50-DEM50),LINETHICK2,COLORBLUE; 底背离:(FF MND GG MND DEM> LLV(DEM,180))*3*(DIFF50-DEM50),STICK,LINETHICK3,COLORWHITE

    未发现:CMPITML...

    未发现:COST...

    未发现:DYNMINFO...

    未发现:FINMNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BMCKSET...

    未发现:BMRSNEXT...

    未发现:CURRBMRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRMWLINE...

    未发现:REFX...

    未发现:FLMTZIG...

    未发现:FLMTZIGM...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEMK...

    未发现:PEMKM...

    未发现:PEMKBMRS...

    未发现:PEMKBMRSM...

    未发现:PLOYLINE...

    未发现:REFDMTE...

    未发现:TROUGH...

    未发现:TROUGHM...

    未发现:TROUGHBMRS...

    未发现:XMM...

    未发现:ZIG...

    未发现:ZIGM...

    未发现:ZXNH...

    未发现:#YEMR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEMK...

    未发现:$PEMKBMRS...

    未发现:$TROUGH...

    未发现:$TROUGHBMRS...

    未发现:$FLMTZIG...

    未发现:$FLMTZIGM...

    未发现:$PEMKM...

    未发现:$PEMKBMRSM...

    未发现:$TROUGHM...

    未发现:$ZIGM...

    未发现:$FFT...

    未发现:$BMCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNMINFO...

    未发现:$FINMNCE...

    未发现:$DRMWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号