• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • [股票基础知识]通达信源码:金风分时精简,看图解势,至尊天机线

    发布时间: 2022-05-05 21:33 首页:股票一点通>股票公式>通达信公式> 阅读()
    1、金风分时精简

    分时主图,做T神器,显示精准买卖点,显示竞价量、竞价动能、流通市值行业概念


    自己非常珍爱做T神器,显示买卖点,尤其对于中线上升通道趋势股非常有用。
    这二天连续操作锦和商业、财富趋势,分时赚了10余点。( 顶尖财经 股票学院: )

    分时主图上还简单明了的显示基本行业、基本概念、另外竞价量、竞价动能、流通市值在显示其上,对于短线打板低吸中路等非常有价值。

    一共两个公式,分时主图公式可以改名,但引用公式名为“分时引用jin”这个不要改名。

    {金风分时精简}

    {涨停时间}
    DRAWNUMBER(FILTER(CROSS(C,DYNAINFO(3)*1.1-0.01),60),C*0.99,TIME),COLORYELLOW;
    {所属板块}
    DRAWTEXT_FIX(C>0,0.09,0.78,0,DYBLOCK),COLORYELLOW,LINETHICK2;{地域}
    DRAWTEXT_FIX(C>0,0.35,0.78,0,HYBLOCK),COLORYELLOW,LINETHICK2;{行业}
    DRAWTEXT_FIX(C>0,0.09,1,0,GNBLOCK),COLORCYAN,LINETHICK2;{概念}
    DRAWICON(FILTER(CROSS(C,DYNAINFO(3)*1.1-0.01),60),C,1);
    DRAWNUMBER(FILTER(CROSS(C,DYNAINFO(3)*1.1-0.01),60),C*0.99,TIME),COLORWHITE;
    {划线与买卖拉冲突标记}
    XG:HHV(H,480),DOTLINE,COLORCYAN;
    STICKLINE(FILTER(CROSS(C,REF(XG,1)),10) AND C>REF(XG,1),C*0.998,C,1,0),COLORWHITE;{和突配套的白色柱子}
    DRAWTEXT(FILTER(CROSS(C,REF(XG,1)),10) AND C>REF(XG,1),C*0.995,'突')AND CRQ:=DATETODAY(DATE)-DATETODAY(REF(DATE,TOTALBARSCOUNT-CURRBARSCOUNT))+1;
    JY:=BARSLAST((RQ-REF(RQ,1))!=WEEKDAY-REF(WEEKDAY,1) OR TOTALBARSCOUNT-CURRBARSCOUNT=0)+1;
    MA01:=REF(C,JY);
    MA02:=REF(MA01,JY);
    MA03:=REF(MA02,JY);
    MA04:=REF(MA03,JY);
    MA05:=REF(MA04,JY);
    MA6:=REF(MA05,JY);
    MA7:=REF(MA6,JY);
    MA8:=REF(MA7,JY);
    MA9:=REF(MA8,JY);
    H1:=MAX(DYNAINFO(3),DYNAINFO(5));
    L1:=MIN(DYNAINFO(3),DYNAINFO(6));
    P1:=H1-L1;
    阻力:L1+P1*8/9,COLORLIRED,DOTLINE;
    支撑:L1+P1*0.5/9,COLORGREEN,DOTLINE;

    XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE));
    主力:=EXPMA(CLOSE/XX,20);
    大户:=EXPMA(CLOSE/XX,60);
    散户:=EXPMA(CLOSE/XX,120);
    底:=1;
    中:=1.022,NODRAW;
    高:=1.033;



    DRAWICON(LONGCROSS(支撑 ,C,2),C-0.01,7);
    STICKLINE(LONGCROSS(支撑,C,2),C,阻力,0,-1),COLORCYAN;

    DRAWICON(LONGCROSS(C,阻力,2)AND CSTICKLINE(LONGCROSS(C,阻力,2),C,支撑,0,-1),COLORRED;



    {流通市值}
    DRAWTEXT_FIX(1,0.60,0.78,0,STRCAT(STRCAT('流通市值:',CON2STR(FINANCE(46)*C/100000000,2)),'亿元'))COLORYELLOW;


    {竞价情况}
    JJCJL:=DYNAINFO(15)/DYNAINFO(4)/100;
    JJJEDW:=IF(DYNAINFO(15)>10000,'万元','元');
    JJJE:=IF(DYNAINFO(15)>10000,CON2STR(DYNAINFO(15)/10000,1),CON2STR(DYNAINFO(15),1));
    JJJE1:=STRCAT(JJJE,JJJEDW);
    JJ:=STRCAT('竞价量额:',STRCAT(CON2STR(JJCJL/10000,2),'万手'));
    JJ1:=STRCAT(JJ,' = ');

    DRAWTEXT_FIX(1,0.09,0.65,0,STRCAT(JJ1,JJJE1))COLORMAGENTA;{竞价量额位置}
    {DRAWTEXT_FIX(1,0.95,0.50,0,STRCAT('占昨成交:',STRCAT(CON2STR(DYNAINFO(15)/分时引用.昨日额#DAY*100,2),'%')))COLORYELLOW;}

    今日竞价股数:=DYNAINFO(15)/DYNAINFO(4);
    ZSPJ:=分时引用JIN.ZSP#DAY;
    A:=今日竞价股数/FINANCE(46)*10000*(O-ZSPJ)/ZSPJ;
    DRAWTEXT_FIX(1,0.70,0.65,0,STRCAT(STRCAT('竞价动能:',CON2STR(A,2)),''))COLORYELLOW;



    2、看图解势

    周期:=15; 过滤:=8; 选股:=-26; 抄底:=-40;

    VAR1:=MA(CLOSE,5);
    VAR2:=MA(CLOSE,10);
    VAR3:=MA(CLOSE,20);
    VAR4:=MA(CLOSE,30);
    VAR5:=(VAR1+VAR2+VAR3+VAR4)/4;
    VAR6:=(VAR5-REF(VAR5,周期))/REF(VAR5,周期)*100;
    VAR7:=(VAR5-REF(VAR5,周期))/REF(VAR5,周期)*100;
    VAR8:=EMA(VAR6,过滤);
    底部注意: STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6低位转强: STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,1,0),COLOR62B3FF;
    买点: STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,VAR6,VAR8,2,0), COLORRED;
    坚定持股: STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,1,0),COLORFF00FF ;
    谨慎观望: STICKLINE(VAR6REF(VAR8,1) AND VAR6>0,VAR6,VAR8,2,0),COLOR00FFFF ;
    果断持币: STICKLINE(VAR6VAR9:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)*100;
    VARA:=VAR9>1*REF(VAR9,1) AND VAR9<选股 AND VAR9>抄底*1.5;
    VARB:=VOL/CAPITAL*100;
    VARC:=LLVBARS(LOW,50);
    VARD:=SUM(VOL,VARC);
    VARE:=HHVBARS(HIGH,50);
    VARF:=SUM(VOL,VARE);
    VAR10:=(CLOSE-REF(OPEN,VARE))/REF(OPEN,VARE)*100;
    VAR11:=VARF/CAPITAL*100;
    VAR12:=(CLOSE-REF(OPEN,VARC))/REF(OPEN,VARC)*100;
    VAR13:=VARD/CAPITAL*100;
    VAR14:=MA(CLOSE,3);
    VAR15:=REF(CLOSE,2)*0.865;
    VAR16:=REF(CLOSE,13)*0.772;
    VAR17:=MIN(VAR15,VAR16);
    VAR18:=MA(CLOSE,13);
    超跌: IF((CLOSE-VAR17)/CLOSE<0.03 AND VAR10<-35 AND SUM(VARB,5)/5<1.8,1,0)*10, COLORWHITE;
    DRAWTEXT(超跌,超跌,' 抄底 '),COLORFF0000 ;
    VAR19:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
    VAR1A:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;
    VAR1B:=EMA(VAR1A,9);
    VAR1C:=2*(VAR1A-VAR1B);
    DRAWTEXT(VAR1A<-50 AND VAR19>7 AND VAR1ADRAWTEXT(VAR1A<-50 AND VAR19>7 AND VAR1A>=VAR1B,5,'追'), COLORWHITE;
    STICKLINE(VAR1A<-50 AND VAR19>7,0,-10,5,0),COLORFFFF00 ;




    3、至尊天机线

    {至尊天机线,中国涨停板}

    CG:MA(C,21),COLOR00FF00,LINETHICK2;
    FL:HHV(CG,3),COLORFF0000,LINETHICK2;
    FS:CG-(FL-CG),COLORRED,LINETHICK2;
    TY:=C;
    上收:=C; 上开:=O;上高:=H; 上低:=L;
    上轨:MA(REF(HHV(上收,21),1),21),CIRCLEDOT,COLOR00FFFF,LINETHICK0;
    下轨:MA(REF(LLV(上收,30),1),21),CIRCLEDOT,COLORRED ,LINETHICK0 ;
    STICKLINE(OPEN>=CLOSE ,O,C,3,0 ),COLOR00FF00;
    STICKLINE(OPEN>=CLOSE ,O,C,1.5,0 ),COLOR00FF00;
    STICKLINE(OPEN>=CLOSE ,O,C,0.5,0 ),COLOR00FF00;
    STICKLINE(CLOSE>OPEN,O,C,3,0 ),COLORRED;
    STICKLINE(CLOSE>OPEN,O,C,1.5,0 ),COLORRED;
    STICKLINE(CLOSE>OPEN,O,C,0.5,0 ),COLORRED;
    STICKLINE(CLOSE>OPEN,OPEN,LOW,0,0),COLORRED;
    STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0,0 ),COLORRED;
    STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0,0 ),COLOR00FF00;
    STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0,0),COLOR00FF00;


    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map