融胜轨道通达信(通达信牛熊线指标)

股票入门 2023-01-13 11:34www.16816898.cn炒股票新手入门
  • 通达信超赞的主图指标公式是怎样的
  • 趋势资金最佳介入点通达信指标公式源码
  • 求通达信顶底趋势指标源码
  • 通达信自动画趋势线指标公式
  • 1、通达信超赞的主图指标公式是怎样的

    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;
    由于公式字符过多,这里限制数量无法发出,

    2、趋势资金最佳介入点通达信指标公式源码

    内容来自用户:孙玲玲

    趋势+资金+最佳介入点V1:=MA(C,3)=HHV(MA(C,3),7);V2:=MA(C,3)>MA(C,5);V3:=MA(V,5)>MA(V,10)1.01;V4:=COUNT(MA(C,1)>REF(C,1),2)=2;LC20:=REF(CLOSE,1);RSI20:=SMA(MAX(CLOSE-LC20,0),4.1,1)/SMA(ABS(CLOSE-LC20),4.1,1)100;STICKLINE(CROSS(RSI20,11)1,-10,20,2,0),COLORYELLOW;VAR3A:=3;VAR2A:=3SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1)-2SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100,5,1),3,1);MTM:=C-REF(C,1);DX:=100EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);YXF:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);加仓:IF(FILTER(YXF=1,5),20,-10),STICK,COLORBLUE,LINETHICK3;A51:=3SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))100,5,1)-2SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))100,5,1);FY:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))100;QS:(MA(3SMA(A54,6,1)-2SMA(SMA(A54,5,1),5,1),2)),LINETHICK2,COLORRED;
    HLM1:=MA(HHV(H,485),17);HLM2:=MA(HHV(H,222),17);HLM3:=MA(HHV(H,96),17);HLM4:=MA(LLV(L,485),17);HLM5:=MA(LLV(L,222),17);HLM6:=MA(LLV(L,96),17);HLM7:=MA((HLM10.558+HLM20.558+HLM30.558+HLM40.96+HLM50.96+HLM60.96)/6,17);HLM8:=MA((HLM10.55+HLM20.55+HLM30.65+HLM41.25+HLM51.23+HLM61.2)/6,17);HLM9:=MA((HLM10.68+HLM20.68+HLM30.68+HLM41.3+

    3、求通达信顶底趋势指标源码

    顶底趋势指标(通达信)
    此指标是我精心收藏的指标,无未来函数,真正的好指标。图片演示在下面网址里.
    趋势:SMA(((CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))100),3,1) ,COLORGREEN;
    STICKLINE(趋势>50,趋势,50,4,0),COLOR32329B;
    STICKLINE(50>趋势,趋势,50,4,0),COLOR326400;
    IF(趋势>50, 趋势,DRAWNULL), COLORRED;
    RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))100;
    K:=SMA(RSV,3,1);
    D:=SMA(K,3,1);
    TYP:=(HIGH+LOW+CLOSE)/3;
    CCI:=(TYP-MA(TYP,14))/(0.015AVEDEV(TYP,14));
    DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);
    DEA:=EMA(DIFF,6);
    MACD:=2(DIFF-DEA);
    转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);
    STICKLINE(转点=1,50,50,6,0),COLORYELLOW;
    STICKLINE(转点=0,50,50,6,0),COLORCYAN;
    顶部:90,COLORYELLOW;
    底部:10,COLORCYAN;
    判断:SMA(趋势,3,1),COLORFF00FF, LINETHICK2;
    IF( 趋势>判断,判断,DRAWNULL), COLORYELLOW, LINETHICK2;
    IF( 趋势<判断,判断,DRAWNULL) ,COLORFFF000,LINETHICK2;
    DRAWICON(CROSS(趋势,判断),判断,1);
    DRAWICON(CROSS(趋势,顶部),顶部,2);
    LC:= REF(CLOSE,1);
    RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)100;
    VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))100-70;
    VAR2:=SMA(VAR1,9,1)+100;
    VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))100;
    VAR4:=SMA(VAR3,3,1);
    VAR5:=SMA(VAR4,3,1)+100;
    VAR6:=VAR5-VAR2;
    短线1: IF(VAR6>45,VAR6-45,0),COLORA6B8C1;
    VAR2Q:=REF(LOW,1);
    VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)100;
    VAR4Q:=EMA(IF(CLOSE1.3,VAR3Q10,VAR3Q/10),3);
    VAR5Q:=LLV(LOW,30);
    VAR6Q:=HHV(VAR4Q,30);
    VAR7Q:=IF(MA(CLOSE,58),1,0);
    VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q2)/2,0),3)/999VAR7Q;
    VR2:=REF(LOW,1);
    VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)100;
    VR4:=EMA(IF(CLOSE1.3,VR310,VR3/10),3);
    VR5:=LLV(LOW,30);
    VR6:=HHV(VR4,30);
    VR7:=IF(MA(CLOSE,58),1,0);
    VR8:=EMA(IF(LOW<=VR5,(VR4+VR62)/2,0),3)/618VR7;
    VR9:=IF(VR8>100,100,VR8);
    主力进场:STICKLINE(VR9>-150,0,VR9,3,0), , COLORFF00FF;
    洗盘:IF(VR9<REF(VR9,1),VR9,0),COLORGREEN,NODRAW;
    STICKLINE(VR9<REF(VR9,1),0,VR9,3,0),COLORGREEN;
    短线获利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,60,25,2,0),COLORYELLOW;
    VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))100;
    VARK2:=REVERSE(VARK1);
    VARK3:=SMA(VARK1,3,1);
    逃顶:=CROSS(82,RSI);
    STICKLINE( 逃顶,逃顶,20,5,0),COLORFF5500;
    STICKLINE( 逃顶,逃顶,30,3,0),COLORFF8800;
    STICKLINE( 逃顶,逃顶,30,2,0),COLORFFAA00;
    STICKLINE( 逃顶,逃顶,30,1,0),COLORFFCC00;
    D1:=(C+L+H)/3;
    D2:=EMA(D1,6);
    D3:=EMA(D2,5);
    BBUY:=CROSS(D2,D3);
    风险区:80,COLORFF85FF;
    安全区:20,COLORYELLOW,POINTDOT;
    天线:100,COLORFFFF00;
    强弱线:50,COLORGREEN,POINTDOT;
    DRAWICON(BBUY,(LOW 1),1);
    VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)100;
    DRAWICON(CROSS(82,VARR1),HIGH,15);
    DRAWTEXT(CROSS(82,VARR1),35,'逃'),COLORYELLOW;
    MAV:=(2C+H+L)/4;
    VAR9:=LLV(LOW,34);
    VAR7:=HHV(HIGH,34);
    SK:= EMA((MAV-VAR9)/(VAR7-VAR9)100,13);
    SD: EMA(0.667REF(SK,1)+0.333SK,2);
    高抛:80, POINTDOT;
    低吸:20, POINTDOT;
    强弱分界:50, POINTDOT;
    DRAWTEXT(CROSS(SD,16),低吸,'●主力'),COLORF0FF00,LINETHICK3;

    4、通达信自动画趋势线指标公式

    内容来自用户:聚文汇

    通达信自动画趋势线指标公式
    参数n 5A1:=REF(H,N)=HHV(H,2N+1); B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); D1:=FILTER(C1,N);{高点}A2:=REF(L,N)=LLV(L,2N+1); B2:=FILTER(A2,N);C2:=BACKSET(B2,N+1); D2:=FILTER(C2,N);{低点}E1:=(REF(LLV(L,2N),1)+REF(HHV(H,2N),1))/2; E2:=(H+L)/2;{高低点出现在同一K线上时可作取舍}H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(C)=1;L1:=(D2 AND NOT(D1 AND E1<E2)); H2:=D1 AND NOT(D2 AND E1>=E2);X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);{过滤后低点}L2:=LD OR ISLASTBAR OR BARSCOUNT(C)=1;X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2));G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);{过滤后高点}R1:=BACKSET(ISLASTBAR,BARSLAST(HD)+1); S1:=R1>REF(R1,1); {前一高}T1:=BACKSET(ISLASTBAR,BARSLAST(LD)+1); U1:=T1>REF(T1,1); {前一低}R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2); S2:=R2>REF(R2,1); {前二高}T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2); U2:=T2>REF(T2,1); {前二低}T3:=BACKSET(U2,REF(BARSLAST(LD),1)+2); U3:=T3>REF(T3,1); {前三低}T4:=BACKSET(U3,REF(BARSLAST(LD),1)+2); U4:=

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