通达信牛熊主图指标(过黑马线就牛主图指标公

股票知识 2023-01-11 12:59www.16816898.cn股票入门基础知识
  • 如何把通达信的副图指标修改成主图指标?
  • 怎么编写通达信炒股软件的主图指标
  • 通达信超赞的主图指标公式是怎样的
  • 通达信指标公式源码自适应牛熊分界主图(有图)牛熊一目了然
  • 主图出现“黑马”字样预警公式
  • 牛熊分界线指标怎么看 牛熊分界线通用指标公式
  • 请求高手给这个主图指标改成通达信的股公式(1)短牛大牛(2)短牛中牛大牛(3)短牛各三个选股公式非常...
  • 1、如何把通达信的副图指标修改成主图指标?

    功能-专家系统-公式管理器 选择你要修改的公式,会进入指标公式编辑器,将右侧画线方法修改为主图叠加,就是主图指标.

    2、怎么编写通达信炒股软件的主图指标

    假设三条线分别的线1,线2,线3(假设是ma(c,3),ma(c,4),ma(c,5))
    用条件语句,
    if(线1>线2,线2,dranull); 意思时如果线1>线2,输出线2,否则不输出
    if(线2>线3,线2,dranull); 意思时如果线2>线3,输出线2,否则不输出
    if(线1>ref(线1,),线2,dranull); 意思时如果线1>昨天线1,输出线2,否则不输出
    这样的话不是三条线都输出成一条了吗?

    3、通达信超赞的主图指标公式是怎样的

    Z1:=STRCAT(HYBLOCK,' ');
    Z2:=STRCAT(Z1,DYBLOCK);
    Z3:=STRCAT(Z2,' ');
    DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORLIRED;
    DRAWTEXT_FIX(ISLASTBAR,0,0.03,0,EXTERNSTR(0,3)),COLORWHITE;
    DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,EXTERNSTR(0,6)),COLORLIBLUE;
    DRAWTEXT_FIX(ISLASTBAR,0,0.09,0,EXTERNSTR(0,12)),COLORLIGREEN;{老王}
    DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,FGBLOCK),COLORLIMAGENTA;
    DRAWTEXT_FIX(ISLASTBAR,0,0.12,0,EXTERNSTR(0,1)),COLORYELLOW;{融胜}
    主力成本线:EMA(COST(9),250),COLORBROWN,DOTLINE;
    {牛马线买点公式升级版}
    MID:=(3CLOSE+LOW+OPEN+HIGH)/6;
    牛线:(20MID+19REF(MID,1)+18REF(MID,2)+17REF(MID,3)+16REF(MID,4)+15REF(MID,5)+14REF(MID,6)+13REF(MID,7)+12REF(MID,8)+11REF(MID,9)+10REF(MID,10)+9REF(MID,11)+8REF(MID,12)+7REF(MID,13)+6REF(MID,14)+5REF(MID,15)+4REF(MID,16)+3REF(MID,17)+2REF(MID,18)+REF(MID,20))/210,COLORRED;
    马线:MA(牛线,8),COLORWHITE;
    DRAWICON( FILTER(CROSS(牛线,马线),20),马线-0.002 ,1);
    DRAWTEXT(CROSS(牛线,马线),LOW0.984,'买'),COLORRED,LINETHICK2;
    止损价:H0.95,LINETHICK0.5,COLORRED;
    庄家:(20MID+19REF(MID,1)+18REF(MID,2)+17REF(MID,3)+
    16REF(MID,4)+15REF(MID,5)+14REF(MID,6)+
    13REF(MID,7)+12REF(MID,8)+11REF(MID,9)+
    10REF(MID,10)+9REF(MID,11)+8REF(MID,12)+
    7REF(MID,13)+6REF(MID,14)+5REF(MID,15)+
    4REF(MID,16)+3REF(MID,17)+2REF(MID,18)+REF(MID,20))/210,COLORRED;
    IF(庄家>=REF(庄家,1),庄家,DRAWNULL),COLORRED,LINETHICK4;
    IF(庄家<=REF(庄家,1),庄家,DRAWNULL),COLORGREEN,LINETHICK2;
    DRAWBAND(牛线,RGB(255,87,22),马线,RGB(0,30,255));
    MA60:MA(CLOSE,60),COLORGRAY;
    N1:=10;
    TK:=CONST(HHVBARS(V,10)),COLOR0000FF,LINETHICK1;
    量能平台:IF(CURRBARSCOUNT<=N1+3,CONST(IF(TK=0,C,REF(C,TK))),DRAWNULL),COLORGRAY,LINETHICK1;
    NOTEXT_新量能点:IF(CURRBARSCOUNT=TK+1,量能平台,DRAWNULL),CIRCLEDOT,COLORFFFFFF,LINETHICK9;
    DRAWTEXT(ISLASTBAR,量能平台,'量能平台'),COLORGRAY;
    {稳涨}
    红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW;
    轨道:MA(MA(CLOSE,3),3),COLOR32CD32,LINETHICK2;
    NOTEXT_升:IF(红轨道>=轨道,轨道,DRAWNULL),COLORMAGENTA,LINETHICK2;
    机构:(L2_VOL(0,0) - L2_VOL(0,1))10000/FINANCE(7),NODRAW,COLORRED;
    大户:(L2_VOL(1,0) - L2_VOL(1,1))10000/FINANCE(7),NODRAW,COLORMAGENTA;
    主力:机构+大户,NODRAW,COLORYELLOW;
    STICKLINE(主力>0,O,C,1.5,1),COLORRED;
    STICKLINE(主力<0,O,C,1.5,1),COLORCYAN;
    STICKLINE(大户>0,O,C,1,0),COLORMAGENTA;
    STICKLINE(大户<0,O,C,1,0),COLORGREEN;
    STICKLINE(机构>0 AND 大户>0,O,(O+C)/2,1,0),COLORRED;
    STICKLINE(机构<0 AND 大户>0,C,(O+C)/2,1,0),COLORCYAN;
    STICKLINE(机构>0 AND 大户<0,O,(O+C)/2,1,0)COLORMAGENTA;
    STICKLINE(机构<0 AND 大户<0,C,O,1,0)COLORLICYAN;
    累计:=SUM(主力,30),COLORMAGENTA;
    均值:=EMA(累计,MIN(10,30)),COLORWHITE;
    {红}
    STICKLINE(CROSS(累计,均值),H,L,0,0),COLORRED,LINETHICK1;
    STICKLINE(CROSS(累计,均值),CLOSE,OPEN,1.4,0),COLOR000088;
    STICKLINE(CROSS(累计,均值),CLOSE,OPEN,1,0),COLOR0000BB;
    STICKLINE(CROSS(累计,均值),CLOSE,OPEN,0.6,0),COLOR0000DD;
    STICKLINE(CROSS(累计,均值),CLOSE,OPEN,0,0),COLOR0000FF;
    {蓝}
    STICKLINE(CROSS(均值,累计),H,L,0,0),COLORFF8800,LINETHICK1;
    STICKLINE(CROSS(均值,累计),CLOSE,OPEN,1.4,0),COLORBB4400;
    STICKLINE(CROSS(均值,累计),CLOSE,OPEN,1,0),COLORCC5500;
    STICKLINE(CROSS(均值,累计),CLOSE,OPEN,0.6,0),COLORDD6600;
    STICKLINE(CROSS(均值,累计),CLOSE,OPEN,0,0),COLOREE7700;
    {高低点定位}
    G0:=(XMA(XMA(H,30),30)-XMA(XMA(L,30),30))+XMA(XMA(H,30),30);
    D0:=XMA(XMA(L,30),30)-(XMA(XMA(H,30),30)-XMA(XMA(L,30),30));
    G01:=(XMA(XMA(H,30),30)-XMA(XMA(L,30),30))0.5+XMA(XMA(H,30),30);
    D01:=XMA(XMA(L,30),30)-(XMA(XMA(H,30),30)-XMA(XMA(L,30),30))0.5;
    GO0:=(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))3+XMA(XMA(H,60),60);
    DO0:=XMA(XMA(L,60),60)-(XMA(XMA(H,60),60)-XMA(XMA(L,60),60))3;
    STICKLINE(CURRBARSCOUNT=1,G0,G0,100,5),COLORGREEN;
    STICKLINE(CURRBARSCOUNT=1,D0,D0,100,5),COLORMAGENTA;
    STICKLINE(CURRBARSCOUNT=1,GO0,GO0,100,5),COLORLIBLUE;
    STICKLINE(CURRBARSCOUNT=1,DO0,DO0,100,5),COLORRED;
    DRAWTEXT(ISLASTBAR,G0,'卖'),COLORGREEN;
    DRAWTEXT(ISLASTBAR,D0,'买'),COLORMAGENTA;
    DRAWTEXT(ISLASTBAR,GO0,'顶'),COLORLIBLUE;
    DRAWTEXT(ISLASTBAR,DO0,'底'),COLORRED;
    由于公式字符过多,这里限制数量无法发出,

    4、通达信指标公式源码自适应牛熊分界主图(有图)牛熊一目了然

    内容来自用户:育龙投资

    自适应牛熊分界主图(有图)牛熊一目了然
    短期均线不能很好地屏蔽市场的噪声,往往产生虚假的进场信号;长期均线在判断趋势上一般比较准确,长期均线有着严重滞后的问题。当价格沿一个方向快速移动时,短期的移动平均线是最好的。当价格在横盘的过程中,长期移动平均线是最好的。我们理想中的移动平均线是什么样子的呢?当价格无目标地移动时,它的反映会比较慢,像长期移动平均线;当价格有了快速变化的时候,它又能很快地跟上价格的走势,像短期移动平均线。这样的移动平均线存在吗?存在!这就是考夫曼自适应均线(这是从网上找的,接下来的才是本人改编的)本人依据网上找的考夫曼自适应均线,在实战中不断摸索,确定了适合自己的参数。,为了更加清晰显示当前市况,将市况划分为牛区和熊区,牛区持股,熊区观望。均线(牛熊分界)红色代表牛市,绿色代表熊市,蓝色代表震荡市。如此清晰,操作中还会被套吗?所以严格说来,这个指标应该是一个改编的指标,并不完全是原创,但由本人改编成这样的形式,在全网是独此一家的。DIR2:=ABS(CLOSE-REF(CLOSE,30));VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),30);ER2:=DIR2/VIR2;CS2:=ER2(0.8-2/24)+2/24;CQ2:=CS2CS2;AMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK1;牛熊分界:AMA2,STICK,COLORGRAY;{

    5、主图出现“黑马”字样预警公式

    多空线:=SMA((O+CLOSE+HIGH+LOW)/4,3,1);
    强命线:=EMA(COST(81),10);
    CTX:=(3C+H+L+O)/6;
    IONG:=(8CTX+7REF(CTX,1)+6REF(CTX,2)+5REF(CTX,3)+4REF(CTX,4)+3REF(CTX,5)+2REF(CTX,6)+REF(CTX,8))/36;
    CTXIONG:=VOL=HHV(VOL,10) AND VOL>2REF(VOL,1) AND CLOSE>IONG AND C>O;
    XG:=FILTER(CTXIONG,5);
    BB1:=CROSS(多空线,强命线);
    VBR1:=EMA(CLOSE,8);
    VBR2:=EMA(CLOSE,20);
    YA:=IF(C>=O,AMOUNT,0);
    YAOBV:=SUM(YA,0);
    MOBV:=SUM(AMOUNT,0);
    BL:=100YAOBV/MOBV;
    MABL3:=IF(BARSSINCE(C)>=3,MA(BL,3),50);
    MABL30:=IF(BARSSINCE(C)>=30,MA(BL,30),MABL3);
    SSS3:=COUNT(CROSS(VBR1,VBR2),10)>=1;
    SSS4:=COUNT(CROSS(MABL3,MABL30),10)=1;
    SC:COUNT(XG,5)>=1 AND BB1 AND SSS3 AND SSS4;

    6、牛熊分界线指标怎么看 牛熊分界线通用指标公式

    这类指标一般都是均线系统指标,看你以那个周期为均线参数

    7、请求高手给这个主图指标改成通达信的股公式(1)短牛大牛(2)短牛中牛大牛(3)短牛各三个选股公式非常...

    (1)短牛
    N1:=5;N2:=10;
    LC:=REF(CLOSE,1);
    RSI5:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)10;
    RSI10:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)10;
    VAR1:=C-REF(C,1);
    VAR2:=100EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
    MA5:=EMA(C,5);
    MA13:=EMA(C,13);
    UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
    (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
    (MA5,MA13))+1),0) ;
    DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
    (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
    (MA13,MA5))+1),0) ;
    短牛:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
    REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
    (2)中牛
    N1:=5;N2:=10;
    LC:=REF(CLOSE,1);
    RSI5:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)10;
    RSI10:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)10;
    VAR1:=C-REF(C,1);
    VAR2:=100EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
    MA5:=EMA(C,5);
    MA13:=EMA(C,13);
    UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
    (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
    (MA5,MA13))+1),0) ;
    DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
    (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
    (MA13,MA5))+1),0) ;
    中牛:REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)0.82;
    3)大牛
    N1:=5;N2:=10;
    LC:=REF(CLOSE,1);
    RSI5:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)10;
    RSI10:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)10;
    VAR1:=C-REF(C,1);
    VAR2:=100EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
    MA5:=EMA(C,5);
    MA13:=EMA(C,13);
    UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
    (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
    (MA5,MA13))+1),0) ;
    DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
    (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
    (MA13,MA5))+1),0) ;
    HR:=HHV(HIGH,55);
    HRY:=LLV(LOW,55);
    HRY11:=HRHRY;
    HRY33:=SQRT(HRY11);
    大牛:REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;

    Copyright © 2016-2025 www.16816898.cn 168股票网 版权所有 Power by