股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
    上一主题 下一主题

    [通达信] 「指标」通达信天堂地狱之门副图指标 源码


        [-----复制链接-----]

    22万

    主题

    22万

    帖子

    14

    精华

    积分
    11040
    楼主
    2024-1-15 10:22:01
    【资料名称】:通达信天堂地狱之门副图指标 源码介绍
    【资料描述】:

    通达信天堂地狱之门副图指标 源码





    ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}
    SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算}
    ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率}
    ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}
    ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}
    ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);{//走牛天数}
    ZSHJJ:=EMA(ZSHTL,89);{//散户警戒}
    ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}
    ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}
    SH8:=EMA(ZSHTL,8);
    DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
    {散户套牢筹码}
    STICKLINE(C>0,ZSHTL,ZZLKP,0,0),COLOREEEEEE;
    {散户筹码警戒}
    STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,1,0),COLORAAAAAA;
    {主力控盘筹码}
    STICKLINE(C>0,ZZLKP,0,0,0),COLORBLUE;
    {铸顶风险区}
    STICKLINE(ZZLKP>75,ZZLKP,0,2,0),COLORFFFFFF;
    {顶部:(ZZLKP>75),COLORFFFFFF;}
    {主力筹码警戒}
    STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,4,0),COLORRED;
    {筑底散兵坑}
    STICKLINE(ZSHTL>=90,ZZLKP,0,5,0),COLOR66FFCC;
    {底部:(ZSHTL>=90),COLOR66FFCC;}
    {筹码总量上升}
    IF(ZCMZL,ZCMZL>REF(ZCMZL,1),DRAWNULL),COLOR0066FF,LINETHICK1;
    {增量资金};
    {//------【数值显示】}
    散户套牢系数:INTPART(ZSHTL),COLORYELLOW;
    主力控盘系数:INTPART(ZZLKP),COLORCYAN;
    资金流入强度:ZJLRQD,LINETHICK2,COLORRED;
    市场筹码总量:INTPART(ZCMZL),COLORWHITE,NODRAW;
    资金流入:CROSS(ZZLJJ>REF(ZZLJJ,1),0.5),COLORMAGENTA;
    STICKLINE(CROSS(ZZLJJ>REF(ZZLJJ,1),0.5),125,主力控盘系数,2,0),COLORMAGENTA;
    DRAWTEXT(CROSS(ZZLJJ>REF(ZZLJJ,1),0.5),110,' 天堂'),COLORYELLOW;
    DRAWTEXT(CROSS(ZZLJJ>REF(ZZLJJ,1),0.5),90,' 地狱'),COLORYELLOW;
    DRAWICON(CROSS(ZZLJJ>REF(ZZLJJ,1),0.5),90,1);
    {铸顶风险区}
    STICKLINE(ZZLKP>75,ZZLKP,0,2,0),COLORFFFFFF;
    STICKLINE(CROSS(ZZLKP>75,0.5),125,主力控盘系数,3,0),COLORWHITE;
    DRAWTEXT(CROSS(ZZLKP>75,0.5),110,' 铸顶'),COLORGREEN;
    DRAWTEXT(CROSS(ZZLKP>75,0.5),90,' 风险'),COLORGREEN;
    DRAWICON(CROSS(ZZLKP>75,0.5),90,2);
    铸顶风险:CROSS(ZZLKP>75,0.5);
    N1:=BARSLAST(CROSS(ZZLJJ,REF(ZZLJJ,1)));
    N2:=BARSLAST(CROSS(REF(ZZLJJ,1),ZZLJJ));
    资金跟踪:IF(N1<N2,N1+1,0),COLORMAGENTA ;
    VARF:=REF(LOW,1)*0.9;
    VAR10:=LOW*0.9;
    VAR11:=(VAR10*VOL+VARF*(CAPITAL-VOL))/CAPITAL;
    VAR12:=EMA(VAR11,30);
    VAR13:=CLOSE-REF(CLOSE,1);
    VAR14:=MAX(VAR13,0);
    VAR15:=ABS(VAR13);
    VAR16:=SMA(VAR14,7,1)/SMA(VAR15,7,1)*100;
    VAR17:=SMA(VAR14,13,1)/SMA(VAR15,13,1)*100;
    VAR18:=BARSCOUNT(CLOSE);
    VAR19:=SMA(MAX(VAR13,0),6,1)/SMA(ABS(VAR13),6,1)*100;
    VAR1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
    VAR1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
    VAR1C:=SMA((SMA(VAR1B,4,1)-50)*2,3,1);
    VAR1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
    VAR1E:=SMA(VAR1D,4,1);
    VAR1F:=SMA(VAR1E,3,1);
    VAR20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
    VAR21:=VAR19<=25 AND VAR1A<-95 AND VAR20>20 AND VAR1C<-30 AND VAR1F<30 AND VAR12-CLOSE>=-0.25 AND VAR16<22 AND VAR17<28 AND VAR18>50;
    超跌: STICKLINE(VAR21,0,120,2,0),COLORCYAN;



    gd56874


    【下载地址隐藏】:                    点:回复可见地址
    游客,如果您要查看本帖隐藏内容请回复






    上一篇:「指标」通达信MACD常赚副图指标 源码
    下一篇:「指标」通达信底部资金流进副图指标 源码
    回复

    举报

    QQ|

    GMT+8, 2024-11-15 01:30

    快速回复 返回顶部 返回列表