最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 大智慧大盘指数副图指标公式

    正文概述    2024-04-12 23:16:04  

    大智慧,大盘指数,副图,指标公式

     

    分析个股的强弱,少不了要对比大盘的走势,因此一直用大盘指数副图指标来配合个股的分析,一直以来用的是分析家,大智慧,但这两款软件的大盘函数只对应上证和深证,不包含中小板和创业板指数,应用上未免先天不足,无法满足结构性行情的需要(这方面通达信要好一些)!经过长时间的观察发现,沪深300指数的走势和上证大盘吻合度很高,深成指次之,中小板联动性不强,创业板联动最差。究其原因,沪深300指数里面的成分股,深成指入选68支,占比22.7%, 中小板35只, 占比 11.7% ;上证入选197只,占比65.7%;创业板没有一只入选。这也就意味着如果还以大智慧现有的大盘函数来做指数副图,偏差会越来越大了!根据以上的分析,我将整个市场的股票重新分配到不同的指数里面,分析的准确性也就有了明显的提高!大家可以参考使用

     

    {指标一 指数副图}
    M5:MA("DPSJYY.SP",5);
    M10:MA("DPSJYY.SP",10);
    M20:MA("DPSJYY.SP",20);
    M55:MA("DPSJYY.SP",55),LINETHICK2;
    M120:MA("DPSJYY.SP",125),LINETHICK2;
    M250:MA("DPSJYY.SP",250),COLORCYAN,LINETHICK2;
    STICKLINE("DPSJYY.SP">"DPSJYY.KP" OR "DPSJYY.SP"="DPSJYY.KP" AND "DPSJYY.SP">REF("DPSJYY.SP",1),"DPSJYY.ZD","DPSJYY.ZG",0.5,0),LINETHICK5,color010000;
    STICKLINE("DPSJYY.SP">"DPSJYY.KP" OR "DPSJYY.SP"="DPSJYY.KP" AND "DPSJYY.SP">REF("DPSJYY.SP",1),"DPSJYY.KP","DPSJYY.SP",7,0),LINETHICK5,color010000;
    STICKLINE("DPSJYY.SP"<"DPSJYY.KP" OR "DPSJYY.SP"="DPSJYY.KP" AND "DPSJYY.SP"<=REF("DPSJYY.SP",1),"DPSJYY.ZD","DPSJYY.ZG",0.5,0),LINETHICK5,color010000;
    STICKLINE("DPSJYY.SP"<"DPSJYY.KP" OR "DPSJYY.SP"="DPSJYY.KP" AND "DPSJYY.SP"<=REF("DPSJYY.SP",1),"DPSJYY.KP","DPSJYY.SP",7,0),LINETHICK5,color010000;
    STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",7,0),color0022CC;
    STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",6,0),color0033DD;
    STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",5,0),color0044EE;
    STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",4,0),color0055FF;
    STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",3,0),color0066FF;
    STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",2,0),color0077FF;
    STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",1,0),color0088FF;
    STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.SP","DPSJYY.ZG",0,0),color0088FF;
    STICKLINE("DPSJYY.SP">="DPSJYY.KP","DPSJYY.KP","DPSJYY.ZD",0,0),color0088FF;
    STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",7,0),color00AA00;

    STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",6,0),color00BB11;
    STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",5,0),color00CC22;
    STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",4,0),color00DD22;
    STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",3,0),color00EE33;
    STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",2,0),color00FF33;
    STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.SP","DPSJYY.KP",1,0),color00FF66;
    STICKLINE("DPSJYY.SP"<="DPSJYY.KP","DPSJYY.ZG","DPSJYY.ZD",0,0),color00FF66;
    DRAWGBKLAST(c>1,STRIP(RGB(15,80,225),RGB(0,0,0),1));

    {指标二 DPSJYY)
    ZG:if((STRTONUM(STKLABEL)>2000 and STRTONUM(STKLABEL)<2999 OR STRTONUM(STKLABEL)=399005),"399005$HIGH",IF((STRTONUM(STKLABEL)>300000 and STRTONUM(STKLABEL)<300500 OR STRTONUM(STKLABEL)=399006),"399006$HIGH",IF((INBLOCK('沪深300')=1 ),"399300$HIGH",INDEXH)));
    ZD:if((STRTONUM(STKLABEL)>2000 and STRTONUM(STKLABEL)<2999 OR STRTONUM(STKLABEL)=399005),"399005$LOW",IF((STRTONUM(STKLABEL)>300000 and STRTONUM(STKLABEL)<300500 OR STRTONUM(STKLABEL)=399006),"399006$LOW",IF((INBLOCK('沪深300')=1 ),"399300$LOW",INDEXl)));
    SP:if((STRTONUM(STKLABEL)>2000 and STRTONUM(STKLABEL)<2999 OR STRTONUM(STKLABEL)=399005),"399005$CLOSE",IF((STRTONUM(STKLABEL)>300000 and STRTONUM(STKLABEL)<300500 OR STRTONUM(STKLABEL)=399006),"399006$CLOSE",IF((INBLOCK('沪深300')=1 ),"399300$CLOSE",INDEXc)));
    kP:if((STRTONUM(STKLABEL)>2000 and STRTONUM(STKLABEL)<2999 OR STRTONUM(STKLABEL)=399005),"399005$open",IF((STRTONUM(STKLABEL)>300000 and STRTONUM(STKLABEL)<300500 OR STRTONUM(STKLABEL)=399006),"399006$open",IF((INBLOCK('沪深300')=1 ),"399300$open",INDEXo)));
     

     

     


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大智慧大盘指数副图指标公式 加入收藏