神奇指标网
  • 神奇指标

    通达信线性趋势主图底部主升浪副图指标源码-通达信指标公式

      以下是通达信线性趋势主图底部主升浪副图指标源码和截图通达信线性趋势主图底部主升浪副图指标源码:    风雨中线趋势:=(MA(CLOSE,28)+MA(CLOSE,22)+MA(CLOSE,20)+MA(CLOSE,30))/4,coloryellow;    运动轨迹:MA((CLOSE+HIGH+LOW)/3,4);    初级压力:=HHV(运动轨迹,18);    中级压力:=HHV(运动轨迹,41);    低位支撑:LLV(运动轨迹,18);    VAR1:=MA((CLOSE+HIGH+LOW)/3,4);    VAR2:=EMA(VAR1,1);    VAR3:=REF(VAR2,1);    FILLRGN(VAR2,VAR3,VAR2>VAR3,RGB(0,255,0));    FILLRGN(VAR2,VAR3,VAR2<=VAR3,RGB(0,255,255));    中:=(MA(CLOSE,28)+MA(CLOSE,22)+MA(CLOSE,20)+MA(CLOSE,30))/4;    PARTLINE(中,中<REF(中,1),RGB(255,255,0),中>REF(中,1),RGB(255,0,0),1,RGB(255,255,0));    xg:=CROSS(VAR2,VAR3);    DRAWICON(xg,LOW,'buy');    VAR2:=REF(LOW,1);    VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;    VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);    VAR5:=LLV(LOW,34);    VAR6:=HHV(VAR4,34);    VAR7:=IF(LLV(LOW,56),1,0);    VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;    AA:=VAR8>REF(VAR8,1);    DJ:=REF(LLV(L,100),3);    ZD:=REFDATE(DJ,DATE);    XG:=L=ZD;    XGA:=AAANDXG;    XG1:=XGA>REF(XGA,1);    DX:=XG1>REF(XG1,1);    DRAWTEXT(FILTER(DX=1,5),36,'超'),COLORYELLOW;    DRAWTEXT(FILTER(DX=1,5),31,'底'),COLORYELLOW;    STICKLINE(DX,40,25,1,0),COLORYELLOW;    STICKLINE(DX,25,10,2,0),COLOR00FF00;    STICKLINE(DX,10,0,2,0),COLORBLUE;    STICKLINE(DX,25,15,0.5,0),COLORRED;    STICKLINE(DX,15,6,1,0),COLOR00FF00;    STICKLINE(DX,6,0,2,0),COLORBLUE;    线性趋势主图源码    M1:=3;M2:=6;M3:=12;M4:=24;    熊市区:MA((2*L+C)/3,20),COLORCYAN,NODRAW;    牛市区:MA((H+2*C)/3,20),COLORRED,NODRAW;    STICKLINE(熊市区,熊市区,L,0,-1),COLORLICYAN;    STICKLINE(C>牛市区,熊市区,L,0,-1),COLOR0090FF;    STICKLINE(C>熊市区ANDC<牛市区,L,熊市区,0,-1),COLORWHITE;    DRAWBAND(熊市区,RGB(60,60,60),牛市区,RGB(60,60,60));    STICKLINE(C>熊市区ANDC<牛市区,牛市区,熊市区,2,0),COLORWHITE;    STICKLINE(C>熊市区ANDC>=O,O,C,3,1),COLORRED;    STICKLINE(C>熊市区ANDC>=O,H,C,0,0),COLORRED;    STICKLINE(C>熊市区ANDC<O,O,C,2.5,0),COLORCYAN;    STICKLINE(C>熊市区ANDC<O,O,C,1.8,0),COLORRED;    买入:=CROSS(C,牛市区);    STICKLINE(C>熊市区ANDC<O,O,H,0,1),COLORRED;    STICKLINE(C>熊市区ANDC<O,C,L,0,1),COLORRED;    卖出:=CROSS(熊市区,C);    STICKLINE(C<牛市区ANDC<熊市区ANDC>O,O,C,2.5,1),COLORGREEN;    STICKLINE(C<牛市区ANDC<熊市区ANDC<=O,C,O,3,0),COLORGREEN;    STICKLINE(C<牛市区ANDC<熊市区ANDC<=O,H,L,0,0),COLORGREEN;    STICKLINE(C<牛市区ANDC<熊市区ANDC>O,C,H,0,1),COLORGREEN;    STICKLINE(C<熊市区,牛市区,熊市区,2,0),COLORBLUE;    STICKLINE(C<牛市区ANDC<熊市区ANDC>O,O,L,0,1),COLORGREEN;    STICKLINE(C>牛市区,熊市区,牛市区,2,0),COLOR0090FF;    DRAWICON(买入,L*0.98,7);    DRAWICON(卖出,H*1.03,8);    P13:=ma(C,13);    VAR1:=HHV(H,9)-LLV(L,9);    VAR2:=HHV(H,9)-C;    VAR3:=C-LLV(L,9);    VAR4:=VAR2/VAR1*100-70;    VAR5:=(C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100;    CC:SMA(VAR5,20,1),COLORRED;    CC1:SMA(CC,5,1),COLORGREEN;    stICKLINE(CC>CC1,CC,CC1,1,0),COLORRED;    STICKLINE(CC1>CC,CC,CC1,1,0),COLORGREEN;    反转:=TROUGHBARS(3,15,1)<4;    进场:反转=1ANDCC<CC1ANDCC<30ANDC<P13ANDC>P13*0.92;    STICKLINE(进场=1,CC,80,1,0),COLORYELLOW;通达信线性趋势主图底部主升浪副图指标截图

    浏览次浏览
    2024-05-20 13:55
  • 神奇指标

    通达信趋势为王指标公式(趋势定位)-通达信指标公式

      以下是通达信趋势为王指标公式源码和截图通达信趋势为王指标公式源码:    DRAWGBK(OPEN>0,RGB(33,47,58),RGB(0,0,0),0,'02',0);    RSV:=(CLOSE-LLV(LOW,短))/(HHV(HIGH,短)-LLV(LOW,短))*100;    短K:SMA(RSV,短1,1),COLORYELLOW;    短D:SMA(短K,短2,1),COLOR66CC33;    RSV1:=(CLOSE-LLV(LOW,长))/(HHV(HIGH,长)-LLV(LOW,长))*100;    长K:SMA(RSV1,长1,1),COLORRED;    长D:SMA(长K,长2,1),COLORCYAN;    STICKLINE(长K>长D,长K,长D,2,0),COLORRED;    STICKLINE(长K<=长D,长K,长D,2,0),COLORCYAN;    STICKLINE(短K>短D,短K,短D,2,0),COLORYELLOW;    STICKLINE(短K<=短D,短K,短D,2,0),COLOR66CC33;    {DRAWBAND(长K,RGB(255,0,0),长D,RGB(0,255,255));    主力底仓:COst(9),COLORWHITE,LINETHICK2;    建仓:COST(21),COLORYELLOW,LINETHICK2;    平衡:COST(36),COLORmaGENTA,LINETHICK2;    中位:COST(67),COLORGREEN,LINETHICK2;    拉高:COST(84),COLORGRAY,LINETHICK2;    高位:COST(94),COLORBLUE,LINETHICK2;    STICKLINE(C>=O,C,O,8,0),COLORRED;    STICKLINE(C>=O,H,L,0,0),COLORRED;    STICKLINE(C<=O,C,O,8,0),COLORGREEN;    STICKLINE(C<=O,H,L,0,0),COLORGREEN;    N:=9;    NN:=100;    高点:=CONST(HHV(H,NN)),NODRAW;    低点:=CONST(LLV(L,NN)),NODRAW;    JRH:=HHV(C,2);    JRL:=LLV(C,2);    MA3:=MA(CLOSE,3);    YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;    R1:=(CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2));    R2:=(REF(R1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    R3:=(REF(R2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    R4:=(REF(R3,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    R5:=(REF(R4,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    R6:=(REF(R5,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    R7:=(REF(R6,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    R8:=(REF(R7,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    R9:=(REF(R8,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    RA:=(REF(R9,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    RB:=(REF(RA,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    RC:=(REF(RB,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    RD:=(CLOSE<REF(CLOSE,1)ANDCLOSE<REF(CLOSE,2));    RE:=(REF(RD,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    RF:=(REF(RE,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    R10:=(REF(RF,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    R11:=(REF(R10,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    R12:=(REF(R11,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    R13:=(REF(R12,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    R14:=(REF(R13,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    R15:=(REF(R14,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    R16:=(REF(R15,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    R17:=(REF(R16,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));    R18:=(REF(R17,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2));    R19:=REF(RDORREORRFORR10ORR11ORR12ORR13ORR14ORR15ORR16ORR17ORR18,1)ANDR1;    R1A:=((REF(R1ORR2ORR3ORR4ORR5ORR6ORR7ORR8ORR9ORRAORRBORRC,1))ANDRD);    VAR3:=IF(C<200,MA(COST(80),3),2500),NODRAW;    VAR4:=(((HIGH+LOW)+CLOSE)/3);    VAR5:=EMA(((((OPEN+HIGH)+LOW)+CLOSE)/4),2330);    VAR6:=(VAR5+((VAR5*6)/100));    短买:=R19,NODRAW,COLOR00DD00;    离场:=R1A,NODRAW,COLOR2288EE;    持股:=R1ORR2ORR3ORR4ORR5ORR6ORR7ORR8ORR9ORRAORRBORRC,NODRAW,COLOR0000FF;    阴观望:=RDORREORRFORR10ORR11ORR12ORR13ORR14ORR15ORR16ORR17ORR18,NODRAW,COLOR999999;    急速超跌:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORBBBBBB,NODRAW;    Q1:=CONST(IF(短买,0,IF(离场,150,IF(持股,150,IF(急速超跌,150,100))))),NODRAW;    Q2:=CONST(IF(短买,100,IF(离场,100,IF(持股,0,IF(急速超跌,150,100))))),NODRAW;    Q3:=CONST(IF(短买,0,IF(离场,20,IF(持股,70,IF(急速超跌,150,100))))),NODRAW;    DRAWBAND(高点,RGB(Q1,Q2,Q3),低点,DRAWNULL);    MA5:=MA(CLOSE,5),LINETHICK2;    MA13:MA(CLOSE,13),LINETHICK2;    DRAWBAND(MA5,RGB(250,200,00),MA13,RGB(00,150,200));    MA34:=MA(CLOSE,34),POINTDOT,LINETHICK4,COLORYELLOW;    GJ:=(C+H+L+O)/4;    日阻力:=L+(GJ-L)+(C-L),LINETHICK0;    日支撑:=L+(C-GJ),LINETHICK0;    日压:REF(日阻力,1),NODRAW,COLOR00FF00;    日支:REF(日支撑,1),NODRAW,COLORYELLOW;    STICKLINE(ISLASTBAR,日压,日压,30,1),LINETHICK2,COLOR00FF00;    STICKLINE(ISLASTBAR,日支,日支,30,1),LINETHICK2,COLORYELLOW;    FC:=C;    A:=EMA(FC,3);    B:=EMA(FC,5);    Z:=EMA(FC,15);    Z2:=MA(A,5);    玄悟斋主:=MA(Z,7);    個:=EMA(Z2,3);    十:=EMA(Z2,5);    百:=EMA(Z2,7);    千:=EMA(Z2,9);    万:=EMA(Z2,11);    K1:=BACKSET(個<REF(個,1),2);    谈:IF(K1,個,DRAWNULL),COLOR00AA00,LINETHICK1;    K2:=BACKSET(十<REF(十,1),2);    笑:IF(K2,十,DRAWNULL),COLOR00BB00,LINETHICK1;    K3:=BACKSET(百<REF(百,1),2);    皆:IF(K3,百,DRAWNULL),COLOR00CC00,LINETHICK1;    K4:=BACKSET(千<REF(千,1),2);    鸿:IF(K4,千,DRAWNULL),COLOR00DD00,LINETHICK1;    K5:=BACKSET(万<REF(万,1),2);    儒:IF(K5,万,DRAWNULL),COLOR00EE00,LINETHICK1;    K6:=BACKSET(個>REF(個,1),2);    往:IF(K6,個,DRAWNULL),COLOR0000AA,LINETHICK1;    K7:=BACKSET(十>REF(十,1),2);    来:IF(K7,十,DRAWNULL),COLOR0000BB,LINETHICK1;    K8:=BACKSET(百>REF(百,1),2);    无:IF(K8,百,DRAWNULL),COLOR0000CC,LINETHICK1;    K9:=BACKSET(千>REF(千,1),2);    白:IF(K9,千,DRAWNULL),COLOR0000DD,LINETHICK1;    K10:=BACKSET(万>REF(万,1),2);    丁:IF(K10,万,DRAWNULL),COLOR0000EE,LINETHICK1;    個Z:=EMA(玄悟斋主,3);    十Z:=EMA(玄悟斋主,5);    百Z:=EMA(玄悟斋主,7);    千Z:=EMA(玄悟斋主,9);    万Z:=EMA(玄悟斋主,11);    B1:=BACKSET(個Z<REF(個Z,1),2);    禅:IF(B1,個Z,DRAWNULL),COLORFFAA11,LINETHICK1;    B2:=BACKSET(十Z<REF(十Z,1),2);    味:IF(B2,十Z,DRAWNULL),COLORFFBB22,LINETHICK1;    B3:=BACKSET(百Z<REF(百Z,1),2);    闲:IF(B3,百Z,DRAWNULL),COLORFFCC33,LINETHICK1;    B4:=BACKSET(千Z<REF(千Z,1),2);    里:IF(B4,千Z,DRAWNULL),COLORFFDD44,LINETHICK1;    B5:=BACKSET(万Z<REF(万Z,1),2);    得:IF(B5,万Z,DRAWNULL),COLORFFEE55,LINETHICK1;    B6:=BACKSET(個Z>REF(個Z,1),2);    道:IF(B6,個Z,DRAWNULL),COLORF67ACD,LINETHICK1;    B7:=BACKSET(十Z>REF(十Z,1),2);    心:IF(B7,十Z,DRAWNULL),COLORF68ACD,LINETHICK1;    B8:=BACKSET(百Z>REF(百Z,1),2);    静:IF(B8,百Z,DRAWNULL),COLORF69ACD,LINETHICK1;    B9:=BACKSET(千Z>REF(千Z,1),2);    中:IF(B9,千Z,DRAWNULL),COLORF70ACD,LINETHICK1;    B10:=BACKSET(万Z>REF(万Z,1),2);    参:IF(B10,万Z,DRAWNULL),COLORF71ACD,LINETHICK1;    BIAS0:=(C-MA(C,2))/MA(C,2)*100;    HXL:=V/CAPITAL*100;    D1:=INDEXC;    D2:=MA(D1,13);    DR2:=D2>1.050*D1;    E1:=(C-HHV(C,12))/HHV(C,12)*10;    E2:=(C-REF(C,26))/REF(C,26)*10;    E3:=MA(C,3);    SJ1:=DR2;    SJ2:=E2<-2.30;    SJ3:=BIAS0<-2.7;    SJ5:=SJ1ANDSJ2ANDSJ3;    SJ6:=CROSS(0.5,SJ5);    JS1:=CROSS(SJ6,0.5);JS2:=BARSLAST(JS1=1);    JS3:=JS2<=5ANDC<REF(C,JS2);    合璧:=SJ6ORJS3;    斋主:IF(合璧=1,L*0.999,DRAWNULL),CIRCLEDOT,COLORLIGREEN;    中压:=XMA(GJ,20)*(1+80/1000),COLORGREEN,LINETHICK2;    中支:=XMA(GJ,32)*(1-100/1000),COLORMAGENTA,LINETHICK2;    幅度:=100*(中压-中支)/中支;    分水线:=(MA(CLOSE,3)+MA(CLOSE,7)+MA(CLOSE,13)+MA(CLOSE,18))/4;    下档线:=(((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13)))*100);    RRRSV:=SMA(下档线,3,1);    KKK:=SMA(RRRSV,3,1);    DDD1:=((3*RRRSV)-(2*KKK));    JJ12:=(((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55)))*100);    RSV24:=SMA(JJ12,3,1);    K24:=SMA(RSV24,3,1);    D24:=((3*RSV24)-(2*K24));    压力:=IF(CROSS(D24,DDD1),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD1)))),COLORFFFFFF;    决策:IF(ISLASTBAR,压力,DRAWNULL),COLORMAGENTA;    STICKLINE(ISLASTBAR,决策,决策,60,1),LINETHICK3,COLORMAGENTA;    底部:=LLV(HIGH,30),COLOR00FF00;    超跌:IF(ISLASTBAR,底部,DRAWNULL),COLORRED;    STICKLINE(ISLASTBAR,超跌,超跌,60,1),LINETHICK3,COLORRED;    AA:=REF(H,N)=HHV(H,2*N+1);AA1:=REF(L,N)=LLV(L,2*N+1);    QY:=BACKSET(AA,N+1);QY1:=BACKSET(AA1,N+1);    CC:=FILTER(QY,N)ANDH=HHV(H,N+1);CC1:=FILTER(QY1,N)ANDL=LLV(L,N+1);    DDD:=BARSLAST(CC);DD1:=BARSLAST(CC1);    GDTS:=IF(CC,CURRBARSCOUNT,0);DDTS:=IF(CC1,CURRBARSCOUNT,0);    DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);    GDCS1:=CONST(DINGBUTS);DDCS1:=CONST(DDTS1);    GDCS13:=CONST(REF(HIGH,GDCS1-1));DDCS13:=CONST(REF(L,DDCS1-1));    DINGBUTS1:=REF(DINGBUTS,DDD+1);DDTS2:=REF(DDTS1,DD1+1);    GDCS2:=CONST(DINGBUTS1);DDCS2:=CONST(DDTS2);    MZ:=INTPART(3*N/5);    AAA:=REF(H,MZ)=HHV(H,2*MZ+1);    QYY:=BACKSET(AAA,MZ+1);    CCC:=FILTER(QYY,MZ)ANDH=HHV(H,MZ+1);    DDDD:=BARSLAST(CCC),NODRAW;    GDTSS:=IF(CCC,CURRBARSCOUNT,0);    DINGBUTSS:=IF(DDDD,REF(GDTSS,DDDD),GDTSS);    GDCS11:=CONST(DINGBUTSS);    DINGBUTS11:=REF(DINGBUTSS,DDDD+1);    GDCS22:=CONST(DINGBUTS11);    AA11:=REF(L,MZ)=LLV(L,2*MZ+1);    QY11:=BACKSET(AA11,MZ+1);    CC11:=FILTER(QY11,MZ)ANDL=LLV(L,MZ+1);    DD11:=BARSLAST(CC11);    DDTSS:=IF(CC11,CURRBARSCOUNT,0);    DDTS11:=IF(DD11,REF(DDTSS,DD11),DDTSS);    DDCS11:=CONST(DDTS11);    DDTS22:=REF(DDTS11,DD11+1);    DDCS22:=CONST(DDTS22);    ZGD:=HHV(H,60)*1.01.00;    ZGD2:=CONST(ZGD);    高点Z:=CONST(HHV(H,100)),NODRAW;    低点Z:=CONST(LLV(L,100)),NODRAW;    高点压力M:=DRAWLINE(CURRBARSCOUNT=GDCS22,H,CURRBARSCOUNT=GDCS11,H,1),COLORRED,LINETHICK1;    低点支撑M:=DRAWLINE(CURRBARSCOUNT=DDCS22,L,CURRBARSCOUNT=DDCS11,L,1)COLORRED,LINETHICK1;    高点压力1:=DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1),COLORBLUE,LINETHICK1;    低点支撑1:=DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1),COLORBLUE,LINETHICK1;    IF(BETWEEN(高点压力M,高点Z,低点Z),高点压力M,DRAWNULL),COLORWHITE,LINETHICK1;    IF(BETWEEN(低点支撑M,高点Z,低点Z),低点支撑M,DRAWNULL),COLORWHITE,LINETHICK1;    IF(BETWEEN(高点压力1,高点Z,低点Z),高点压力1,DRAWNULL),COLORWHITE,LINETHICK1;    IF(BETWEEN(低点支撑1,高点Z,低点Z),低点支撑1,DRAWNULL),COLORWHITE,LINETHICK1;    HHZ:=HHV(HIGH,5);    LLZ:=LLV(LOW,5);    HH1:=BARSLAST((HHZ>REF(HHZ,1)));    LL1:=BARSLAST((LLZ<REF(LLZ,1)));    STICKLINE((HH1>LL1),CLOSE,OPEN,2,0),COLORGREEN;    STICKLINE((HH1>LL1),HIGH,LOW,0,0),COLORGREEN;    STICKLINE((HH1<LL1),CLOSE,OPEN,2,0),COLORRED;    STICKLINE((HH1<LL1),HIGH,LOW,0,0),COLORRED;    日均价:=(C*3+H+L+O)/6;    ZIA:=日均价;    裁决:=(REF(ZIA,1)*0.5+REF(ZIA,2)+REF(ZIA,3)*0.5)/2;    VAR1X:=IF(C<裁决ANDBETWEEN(裁决,C,O),1,0);    VAR4X:=IF(C>=裁决ANDBETWEEN(裁决,C,O),1,0);    CO:=(C-O);    STICKLINE(VAR4X,O,O+CO/3,3.6,0),COLORLIMAGENTA;    STICKLINE(VAR1X,O,O+CO/3,3.6,0),COLORGREEN;    MA10:=MA(C,10),COLORGREEN,LINETHICK2;    MA20:=MA(C,20),COLORCYAN,LINETHICK2;    MA30:=MA(C,30),COLORYELLOW,LINETHICK2;    {MA60:=MA(C,60),COLORMAGENTA,LINETHICK2;    MA120:=MA(C,120),COLORRED,LINETHICK3;}    VAR1:=(C-LLV(L,32))/(HHV(H,32)-LLV(L,32))*1.2*C;    VAR2:=EMA(VAR1,3);    VAR3Z:=EMA(VAR1,5);    VAR4Z:=EMA(VAR1,7);    VARA:=VAR3Z>=VAR4ZANDVAR2<REF(VAR2,1);    VARB:=VAR3Z<VAR4ZANDVAR2>REF(VAR2,1);    超短:=MA(VAR2,6);    短线:=MA(超短,2);    STICKLINE(FILTER(VARB,3),L*0.985,L*0.995,2,0),COLORFF00FF;    STICKLINE(CROSS(短线,超短),L*1.035,L*1.05,3,0),COLORBLUE;    STICKLINE(CROSS(短线,超短)ANDCOUNT(CROSS(短线,超短),10)=2,L*1.045,L*1.06,3,1),COLORGREEN;    DRAWTEXT(CROSS(短线,超短)ANDCOUNT(CROSS(短线,超短),10)=2,L*1.064,'跑'),COLORGREEN;    DRAWTEXT(FILTER(VARB,3),L*0.98,'醒醒'),COLORFF00FF;    DRAWTEXT(CROSS(短线,超短),L*1.054,'睡觉'),COLORWHITE;    AAZ:=CLOSE>REF(CLOSE,1)ANDREF(CLOSE,1)>REF(CLOSE,2)ANDREF(CLOSE,1)<REF(CLOSE,3)ANDIF(REF(CLOSE,3)<REF(CLOSE,4),1,IF(REF(CLOSE,4)<REF(CLOSE,5),REF(CLOSE,1)<REF(CLOSE,4)OR(REF(CLOSE,2)<REF(CLOSE,4)ANDREF(CLOSE,3)>=REF(CLOSE,5)),IF(REF(CLOSE,5)<REF(CLOSE,6),1,REF(CLOSE,6)<REF(CLOSE,7))));    BBZ:=CLOSE<REF(CLOSE,1)ANDREF(CLOSE,1)<REF(CLOSE,2)ANDREF(CLOSE,1)>REF(CLOSE,3)ANDIF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF(CLOSE,5),REF(CLOSE,1)>REF(CLOSE,4)OR(REF(CLOSE,2)>REF(CLOSE,4)ANDREF(CLOSE,3)<=REF(CLOSE,5)),IF(REF(CLOSE,5)>REF(CLOSE,6),1,REF(CLOSE,6)>REF(CLOSE,7))));    DRAWTEXT(AAZANDCLOSE>REF(OPEN,2),LOW*0.97,'三平底'),COLORWHITE;    DRAWTEXT(BBZANDCLOSE<REF(CLOSE,2),HIGH*1.02,'三平顶'),COLORCYAN;通达信趋势为王指标公式截图

    浏览次浏览
    2024-05-20 13:40
  • 神奇指标

    通达信操盘手多空博弈系列公式-通达信指标公式

      以下是通达信操盘手多空博弈系列公式源码和截图通达信操盘手多空博弈系列公式源码:    {N=1,100,5}    现价:C,COLORWHITE;    MC1:=COST(19*N);    MC2:=COST(15*N);    MC3:=COST(6*N);    MC4:=COST(1*N);    顶部:MC1,COLORFFFF33;    卖出:MC2,COLORGREEN;    买入:MC3,COLORRED;    底部:MC4,COLORYELLOW;    多空博弈    VAR1:=(HHV(HIGH,21)-C)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;    VAR2:=(C-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;    VAR3:=SMA(VAR2,13,8);    多方:SMA(VAR3,13,8),COLORRED;    空方:SMA(VAR1,21,8),COLORGREEN;    高位:90,POINTDOT;    中位:45,;    低位:0,POINTDOT;    龙腾四海    龙腾四海:100-100*(HHV(HIGH,5*N)-CLOSE)/(HHV(HIGH,5*N)-LLV(LOW,5*N)),COLOR4080FF,LINETHICK2;    海面:20,COLORGREEN;    海天分界线:50,COLORYELLOW;    天际:80,COLORRED;    顶:100;    M1:=3;M2:=7;M3:=13;M4:=18;    神奇线:(MA(CLOSE,M1)+MA(CLOSE,M2)+MA(CLOSE,M3)+MA(CLOSE,M4))/4;    最高:=REF(HHV(H,120),1);    最低:=REF(LLV(L,120),1);    H1:=最高-(最高-最低)*0.191;    H中:=最高-(最高-最低)*0.5;    H5:=最高-(最高-最低)*0.809;    上:CONST(H1),POINTDOT,COLORMAGENTA,LINETHICK1;    中枢:CONST(H中),POINTDOT,COLORFF8900,LINETHICK1;    下:CONST(H5),POINTDOT,COLORGREEN,LINETHICK1;VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;    X1:=(C+L+H)/3;    BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;    EMA8:=EMA(C,8);    DRAWTEXT(FILTER(BB13>1ANDEMA(X1,13)>REF(EMA(X1,8),1),10),    EMA8,'∠45'),COLORWHITE;    RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;    K:=MA(RSV,2.5);    D:=MA(K,2.5);    J:=3*K-2*D;    JJ:=J<20;    STICKLINE(REF(J,1)<20ANDEMA(C,20)>REF(EMA(C,20),1)ANDNOT(JJ),(C+O)/2,O,3,0),COLORAA00BB;    IF(SAR(2,2,20)>=H,SAR(2,2,20),DRAWNULL),CIRCLEDOT,COLOR00E600;    IF(SAR(2,2,20)<=L,SAR(2,2,20),DRAWNULL),CIRCLEDOT,COLOR3232FF;    A1:=DATE<=13181231;    工作线:(Ema(C,14))*A1,POINTDOT,LINETHICK4,COLORYELLOW;    AA05:MA(C,5),LINETHICK3,COLOR0099CC;    五日乖离率:=(C-AA05)/AA05*100;    BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;    速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);    加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW;    IF(BB05>30ANDAA05>REF(AA05,1),AA05,DRAWNULL),LINETHICK2,COLORRED;    AA10:MA(C,10),LINETHICK0;    AA20:=MA(C,20);    BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;    IF(BB05<0ANDAA05<REF(AA05,1),AA05,DRAWNULL),LINETHICK2,COLORFFFF00;    AA30:MA(C,30),LINETHICK0;    三拾日乖离率:(C-AA30)/AA30*100,NODRAW;    VAR1:=(AA20-AA30)>REF((AA20-AA30),1)ANDAA20>REF(AA20,1)ANDAA30>REF(AA30,1);    VAR2:=(AA30-AA20)<REF((AA30-AA20),1)ANDAA20<REF(AA20,1)ANDAA30<REF(AA30,1);    BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;    强势狙击:=FILTER(BB30>30ANDBB10>45ANDcrOSS(BB05,60),10);    加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1ANDAA05>REF(AA05,1)AND三拾日乖离率>REF(三拾日乖离率,1)ANDAA10>REF(AA10,1)    AND加速度5>REF(加速度5,1)AND速度5>REF(速度5,1),10);    清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1AND(C>AA30ORO>AA30)ANDAA05<REF(AA05,1)AND三拾日乖离率<REF(三拾日乖离率,1)ANDAA10<REF(AA10,1),10);    DRAWTEXT(加仓,LOW*0.98,'←-----加仓'),COLORYELLOW;    JC:=CROSS(0,五日乖离率)AND三拾日乖离率<REF(三拾日乖离率,1)ANDAA10>REF(AA10,1);    减仓:=FILTER(JC,10);    MR:=COUNT(CROSS(五日乖离率,0),3)>=1AND三拾日乖离率>REF(三拾日乖离率,1)ANDAA05>REF(AA05,1)AND(C/REF(C,1)-1)*100>5ANDREF(C,1)=200;    DRAWTEXT(VAR6,HIGH*1.02,'←----小心'),COLORYELLOW;    SJ:=VAR5;    stICKLINE(SJ,H,L,0.6,0),COLORYELLOW;    LC:=REF(CLOSE,1);    rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;    DRAWTEXT(CROSS(84,RSI),HIGH,'←-----逃'),COLORGREEN;    VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);    VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05)AND((HIGH)/(CLOSE)<1.01)AND(VAR3AA>0),91,0);    DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'←---大胆搏'),COLORYELLOW;    A:=(3*C+L+O+H)/6;    X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+    14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)    +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+    REF(A,20))/210;    生命线:EMA(X,13),LINETHICK2,COLORMAGENTA;通达信操盘手多空博弈系列公式截图

    浏览次浏览
    2024-05-20 11:29
  • 神奇指标

    通达信自编5分钟周期超短线精准指标公式-通达信指标公式

      以下是通达信自编5分钟周期超短线精准指标公式源码和截图通达信自编5分钟周期超短线精准指标公式源码:    P1:=1;    P2:=2;    P3:=3;    P4:=4;    VAR11:=1;    VAR12:=LLV(LOW,10);    VAR13:=HHV(HIGH,25);    加仓线:P4*VAR11;    介入线:P3*VAR11;    减仓线:P2*VAR11;    卖出线:P1*VAR11;    动力线:EMA((CLOSE-VAR12)/(VAR13-VAR12)*4,4)*VAR11;    DRAWTEXT(CROSS(动力线,卖出线),3.6,'-80%'),COLORGREEN;    DRAWICON(CROSS(动力线,卖出线),3.7,6);    DRAWTEXT(CROSS(动力线,减仓线),3.1,'-50%'),COLORYELLOW;    DRAWICON(CROSS(动力线,减仓线),3.4,2);    DRAWTEXT(CROSS(动力线,介入线),0.6,'+50%'),COLORRED;    DRAWICON(CROSS(动力线,介入线),0.6,7);    DRAWTEXT(CROSS(动力线,加仓线),0.35,'+80%'),COLORMAGENTA;    DRAWICON(CROSS(动力线,加仓线),0.4,5);    MA6:MA(C,6),COLORWHITE,LINETHICK2;    MA18:MA(C,18),COLOR0099FF,LINETHICK2;    MA55:MA(C,55),COLORFF00FF;    MA125:MA(C,125),COLORFFCC66;    MA250:MA(C,250),COLORBLUE;    TY:=C;    A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);    A2:=REF(TY,10)=LLV(TY,2*10+1);B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);    A:=REF(C,BARSLAST(HD));B:=REF(C,BARSLAST(LD));    T1:=BARSLAST(HD)<BARSLAST(LD)ANDNOT(HD);    T2:=BARSLAST(HD)>BARSLAST(LD)ANDNOT(LD);    波峰:IF(T1,A,A),COLORFF00FF,POINTDOT;    STICKLINE(T1,A,A,9,0),COLORFF00FF;    波谷:IF(T2,B,B),COLOR80FF00,POINTDOT;    STICKLINE(T2,B,B,9,0),COLOR80FF00;    买进价:=((C-REF(MA6,1))/6+MA6)*1.004;    买进条件:=CROSS(C,买进价)AND买进价>REF(买进价,1);    白K买进:IF(买进条件,L,H),COLORWHITE,POINTDOT;    STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK2;    STICKLINE(买进条件,O,C,4,1),COLORWHITE,LINETHICK2;    加码价:=((C-REF(MA18,1))/18+MA18)*1.004;    加码条件:=CROSS(C,加码价)AND加码价>REF(加码价,1);    黄K加码:IF(加码条件,L,H),COLORYELLOW,POINTDOT;    STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;    STICKLINE(加码条件,O,C,4,1),COLORYELLOW,LINETHICK2;    V1:=(C*2+H+L)/4*10;    V2:=Ema(V1,13)-EMA(V1,34);    V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;    主力撤:IF(V4<=0,V4,0),COLORBLUE;    主力进:IF(V4>=0,V4,0),COLORFF00FF;    V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;    V6:=EMA(3*V5-2*SMA(V5,18,1),5);    V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;    V8:=(INDEXC*2+INDEXH+INDEXL)/4;    V9:=EMA(V8,13)-EMA(V8,34);    VA:=EMA(V9,3);    VB:=(V9-VA)/2;    大盘资金进场:IF(VB>=0,VB,0),COLORRED;    大盘资金撤走:IF(VB<=0,VB,0),COLORGREEN;    V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);    趋势线:EMA(V11,3);    V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;    准备现金:stICKLINE(趋势线<=13,0,20,2,0),COLORCC9900;    AA:=(趋势线<=13)ANDFILTER((趋势线<=13),15);    DRAWTEXT(AA,40,'准备现金'),COLORCC9900;    买入股票:STICKLINE(趋势线<=13ANDV12>13,0,50,2,0),COLOR0099FF;    BB:=(趋势线<=13ANDV12>13)ANDFILTER((趋势线<=13ANDV12>13),10);    DRAWTEXT(BB,60,'买入股票'),COLOR0099FF;    卖临界:STICKLINE(趋势线>90AND趋势线>REF(趋势线,1),100,95,6,1),COLORFFFF00;    见顶清仓:FILTER(趋势线>90AND趋势线<REF(趋势线,1)AND主力进<REF(主力进,1),8);    DRAWTEXT(见顶清仓,90,'逃顶'),COLORYELLOW;    CC:=(趋势线>=90ANDV12)ANDFILTER((趋势线>=90ANDV12),10);    STICKLINE(大盘资金进场AND趋势线<13,0,30,4,0),COLORRED;    STICKLINE(大盘资金撤走AND趋势线>90,0,30,4,0),COLORGREEN;    STICKLINE(主力进AND趋势线<13,0,40,4,0),COLORFF00FF;    STICKLINE(主力撤AND趋势线>90,0,40,4,0),COLORBLUE;通达信自编5分钟周期超短线精准指标公式截图

    浏览次浏览
    2024-05-20 11:19
  • 神奇指标

    通达信四度赤水副图源码贴图说明指标公式-通达信指标公式

      以下是通达信四度赤水副图源码贴图说明指标公式源码和截图通达信四度赤水副图源码贴图说明指标公式源码:bc:=(IF(C>(H+L+C)/3,(H*0.618+L*0.382)*0.382,(H*0.382+L*0.618)*0.382)+(O*0.382+C*0.618)*0.618);市价:=AMOUNT/(VOL*100);MX:=if(INDEXC=C,BC,市价);M1:=EMA(MX,N),COLORWHITE;M2:=EMA(M1,N*2),COLORMAGENTA;M3:=EMA(M2,n*3),COLORGREEN;ZD:=MAX(MAX(M1,M2),M3);ZX:=MIN(MIN(M1,M2),M3);粘合度:(ZD/ZX-1)*100,COLORWHITE;M1角:=ATAN((M1/REF(M1,1)-1)*100)*180/3.1416;M2角:=ATAN((M1/REF(M1,1)-1)*100)*180/3.1416;M3角:=ATAN((M1/REF(M1,1)-1)*100)*180/3.1416;角度:-(M1角+M2角+M3角)/18,COLORMAGENTA;赤水:IF(角度>0,角度,DRAWNULL),COLORGREEN;LBA:=(VOL/ref((MA(AMOUNT,5)/(MA(c,5)*100)),1));LBB:=(MA(VOL,5)/ref((SUM(AMOUNT,15)/(MA(c,15)*100)),1));V1:=MA((LBA+LBB)/2,35),COLORWHITE;V2:=EMA(V1,5),COLORMAGENTA;V3:=EMA(V2,13),COLORGREEN;VD:=MAX(MAX(V1,V2),V3);VX:=MIN(MIN(V1,V2),V3);集中度:(VD/VX-1)*100,COLORAAAA00;尺度:0,COLORGRAY;INPUT:M(10,3,250,3);均线:(ma(CLOSE,M)*1),Colorred,linethick2;早晨之星:=REF(CLOSE,2)/REF(OPEN,2)<0.95ANDREF(OPEN,1)<REF(CLOSE,2)ANDAbs(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03ANDCLOSE/OPEN>1.05ANDCLOSE>REF(CLOSE,2);黄昏之星:=REF(CLOSE,2)/REF(OPEN,2)>1.03ANDREF(OPEN,1)>REF(CLOSE,2)ANDABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02ANDCLOSE/OPEN<0.97ANDCLOSE<REF(CLOSE,2);长十字:=CLOSE=OPENANDHIGH/LOW>1.03;垂死十字:=CLOSE=OPENANDCLOSE=LOWANDCLOSE<>HIGH;早晨十字星:=REF(CLOSE,2)/REF(OPEN,2)<0.95ANDREF(OPEN,1)<REF(CLOSE,2)ANDREF(OPEN,1)=REF(CLOSE,1)ANDCLOSE/OPEN>1.05ANDCLOSE>REF(CLOSE,2);黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2)>1.05ANDREF(OPEN,1)>REF(CLOSE,2)ANDREF(OPEN,1)=REF(CLOSE,1)ANDCLOSE/OPEN<0.95ANDCLOSE<REF(CLOSE,2);射击之星:=MIN(OPEN,CLOSE)=LOWANDHIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW)ANDCLOSE>MA(CLOSE,5);倒转锤头:=MIN(OPEN,CLOSE)=LOWANDHIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW)ANDCLOSE<MA(CLOSE,5);锤头:=HIGH=MAX(OPEN,CLOSE)ANDHIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE))ANDCLOSE<MA(CLOSE,5);吊颈:=HIGH=MAX(OPEN,CLOSE)ANDHIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE))ANDCLOSE>MA(CLOSE,5);穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03ANDCLOSE/OPEN<0.96ANDCLOSE<REF(OPEN,1)ANDOPEN>REF(CLOSE,1))OR(REF(CLOSE,1)/REF(OPEN,1)<0.97ANDCLOSE/OPEN>1.04ANDCLOSE>REF(OPEN,1)ANDOPEN<REF(CLOSE,1));乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03ANDCLOSE/OPEN<0.97ANDOPEN>REF(CLOSE,1)ANDCLOSE<REF(CLOSE,1);曙光初现:=REF(CLOSE,1)/REF(OPEN,1)<0.97ANDCLOSE/OPEN>1.03ANDOPEN<REF(CLOSE,1)ANDCLOSE>REF(CLOSE,1);身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04ANDABS(CLOSE-OPEN)/CLOSE<0.005ANDMAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1))ANDMIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1));十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04ANDCLOSE=OPENANDCLOSE<MAX(REF(CLOSE,1),REF(OPEN,1))ANDCLOSE>MIN(REF(CLOSE,1),REF(OPEN,1));平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001;平底:=(ABS(LOW-REF(LOW,1))/LOW<0.001ANDABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001);大阳烛:=CLOSE/OPEN>1.05ANDHIGH/LOW<CLOSE/OPEN+0.018;三个白武士:=REF(CLOSE,2)>REF(OPEN,2)ANDREF(CLOSE,1)>REF(OPEN,1)ANDCLOSE>OPENANDREF(CLOSE,1)>REF(CLOSE,2)ANDCLOSE>REF(CLOSE,1);双飞乌鸦:=REF(CLOSE,1)<REF(OPEN,1)ANDCLOSE<OPENANDCLOSE/OPEN<0.98;孕育线:=REF(CLOSE,2)>REF(OPEN,2)AND(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100ANDREF(OPEN,1)>=REF(CLOSE,1)AND(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100ANDREF(OPEN,1)<=REF(CLOSE,2)ANDREF(CLOSE,1)>=REF(OPEN,2)ANDC>=OPENAND(CLOSE-OPEN)/OPEN>=2/100ANDCLOSE>=REF(OPEN,1)ANDOPEN<=REF(CLOSE,1)AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=1/100;多方炮:=REF(CLOSE,2)>REF(OPEN,2)ANDREF(CLOSE,1)<REF(OPEN,1)ANDCLOSE>OPEN;出水芙蓉:=(OPEN<EMA(C,20)OROPEN<EMA(C,40)OROPEN<EMA(C,60))AND(C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND(V/MA(V,30)>1.2ANDC/REF(C,1)>1.049);上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03ANDREF(CLOSE,3)<REF(OPEN,3)ANDREF(CLOSE,2)<REF(OPEN,2)ANDREF(CLOSE,1)<REF(OPEN,1)ANDREF(LOW,4)<REF(LOW,3)ANDREF(LOW,4)<REF(LOW,2)ANDREF(LOW,4)<REF(LOW,1)ANDREF(HIGH,4)>REF(HIGH,3)ANDREF(HIGH,4)>REF(HIGH,2)ANDREF(HIGH,4)>REF(HIGH,1)ANDCLOSE/OPEN>1.03ANDCLOSE>REF(CLOSE,4);下跌三部曲:=REF(CLOSE,4)/REF(OPEN,4)<0.97ANDREF(CLOSE,3)>REF(OPEN,3)ANDREF(CLOSE,2)>REF(OPEN,2)ANDREF(CLOSE,1)>REF(OPEN,1)ANDREF(LOW,4)<REF(LOW,3)ANDREF(LOW,4)<REF(LOW,2)ANDREF(LOW,4)<REF(LOW,1)ANDREF(HIGH,4)>REF(HIGH,3)ANDREF(HIGH,4)>REF(HIGH,2)ANDREF(HIGH,4)>REF(HIGH,1)ANDCLOSE/OPEN<0.97ANDCLOSE<REF(CLOSE,4);跳空缺口:=HIGH<REF(LOW,1)ORLOW>REF(HIGH,1);三只乌鸦:=REF(CLOSE,2)<REF(OPEN,2)ANDREF(CLOSE,1)<REF(OPEN,1)ANDCLOSE<OPENANDREF(CLOSE,1)<REF(CLOSE,2)ANDCLOSE<REF(CLOSE,1);光脚阴线:=LOW=CLOSEANDHIGH<>LOW;光头阳线:=HIGH=CLOSEANDHIGH<>LOW;分离:=OPEN=REF(OPEN,1)AND(CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0;长下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;长上影:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667;十字星:=CLOSE=OPENANDHIGH<>LOW;大阴烛:=OPEN/CLOSE>1.05ANDHIGH/LOW<OPEN/CLOSE+0.018;好友反攻:=(REF(CLOSE,1)<REF(OPEN,1)ANDCLOSE>OPENANDABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)OR(REF(CLOSE,1)>REF(OPEN,1)ANDCLOSE<OPENANDABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002);倾盆大雨:=REF(C,1)/REF(O,1)>=1.03ANDO<REF(C,1)ANDO>REF(O,1)ANDC<REF(O,1);解盘:='【解盘】'+IFs(倾盆大雨,'★倾盆大雨,见顶信号;','')+IFs(大阴烛,'★大阴烛,后市向淡,发生逆转;','')+IFs(好友反攻,'★好友反攻,底部反转;','')+IFs(跳空缺口,'★跳空缺口,注意向上还是向下跳空;','')+IFs(光脚阴线,'★光脚阴线,下跌信号;','')+IFs(光头阳线,'★光头阳线,后市看涨;','')+IFs(三只乌鸦,'★三只乌鸦,可能见顶回落;','')+IFs(分离,'★分离,注意看涨分离和看跌分离;','')+IFs(长下影,'★长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;','')+IFs(长上影,'★长上影,表明行情上档压力沉重,升势受阻;','')+IFs(下跌三部曲,'★下跌三部曲,下跌信号;','')+IFs(上升三部曲,'★上升三部曲,上涨信号;','')+IFs(早晨之星,'★早晨之星,见底回升;','')+IFs(黄昏之星,'★黄昏之星,见顶回落;','')+IFs(十字星,'★十字星,有转向意味,注意股价位置在顶部还是底部;','')+IFs(长十字,'★长十字,注意在顶部还是底部;','')+IFs(垂死十字,'★垂死十字,下跌信号;','')+IFs(早晨十字星,'★早晨十字星,上涨信号,见底回升;','')+IFs(黄昏十字星,'★黄昏十字星,下跌信号,见顶回落;','')+IFs(射击之星,'★射击之星,可能见顶回落,可靠性低;','')+IFs(倒转锤头,'★倒转锤头,可能见底回升;','')+IFs(锤头,'★锤头,可能见底回升,如有量配合,信号强烈;','')+IFs(吊颈,'★吊颈,上升行情中见顶回落,顶部出现,见顶信号;','')+IFs(平顶,'★平顶,温和的反转;','')+IFs(穿头破脚,'★穿头破脚,顶部出现,见顶回落信号;','')+IFs(乌云盖顶,'★乌云盖顶,见顶回落信号;','')+IFs(曙光初现,'★曙光初现,后市见底回升;','')+IFs(身怀六甲,'★身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号;','')+IFs(十字胎,'★十字胎;','')+IFs(平底,'★平底,温和的反转;','')+IFs(大阳烛,'★大阳烛,看涨;','')+IFs(三个白武士,'★三个白武士,每日收盘价上移,表示可能见底回升;','')+IFs(双飞乌鸦,'★双飞乌鸦,行情将见顶回落;','')+IFs(孕育线,'★孕育线,注意股价位置;','')+IFs(多方炮,'★多方炮,在底部出现有上涨意味,在中间出现有可能是上涨中继,顶部出现是复合见顶信号;','')+IFs(出水芙蓉,'★出水芙蓉,见底回升;','');DRAWTEXTABS(0,0,解盘);MA5:MA(C,5),COLORF00FF0;MA21:MA(C,21),COLORE66878;MA30:MA(C,30),COLORYELLOW;MA55:MA(CLOSE,55),LINETHICK1,ColorGREEN;半年线:MA(C,120),COLOR399C7F,POINTDOT;年线:MA(C,240),COLOR000999,POINTDOT;X1:=(C+L+H)/3;X2:=EMA(X1,6);X3:=EMA(X2,5);DRAWICON(crOSS(X2,X3),L*0.98,7);DRAWICON(CROSS(X3,X2),H*1.02,8);DRAWGBKLAst(C>0,STRIP(RGB(10,10,50),RGB(50,10,10),0));均价:=(3*C+H+L+O)/6;VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;SZ1:=REF(VAR1,1)=REF(VAR2,1)ANDVAR1>VAR2ANDCLOSE>VAR1;SZ2:=VAR1>VAR2ANDVAR1>REF(VAR1,1)ANDVAR2>REF(VAR2,1)ANDH/VAR1<1.1ANDL>VAR2ANDCLOSE>VAR1;SZ3:=VAR1>VAR2ANDVAR1>REF(VAR1,1)ANDVAR2>=REF(VAR2,1)ANDH/VAR1>1.1;SZ4:=VAR1>VAR2ANDVAR1>REF(VAR1,1)ANDVAR2>REF(VAR2,1)ANDCLOSE>VAR2ANDCLOSE<VAR1;SZ5:=(VAR1>VAR2ANDVAR2>REF(VAR2,1)ANDVAR1<>REF(VAR1,1)ANDCLOSE<VAR2)OR(VAR1>VAR2ANDVAR1<REF(VAR1,1)ANDVAR2<REF(VAR2,1)ANDCLOSE<VAR2);;SZ6:=REF(VAR1,1)>REF(VAR2,1)ANDVAR1=VAR2ANDCLOSE<VAR2;XD1:=VAR1=VAR2ANDCLOSE<VAR2OR(VAR1<REF(VAR1,1)ANDVAR2<REF(VAR2,1)ANDREF(VAR1,1)=REF(VAR2,1)ANDCLOSE<VAR2);XD2:=VAR1=VAR2ANDCLOSE>VAR1;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和度:=IF(SAT>1,1,SAT)*100;IFBARSTATUS=2ANDSZ1THENBEGINDRAWTEXTABS(390,25,'调整结束短线介入'),LINETHICK2,COLORRED;ENDELSEIFBARSTATUS=2ANDSZ2THENBEGINDRAWTEXTABS(390,25,'上升通道走势良好'),LINETHICK2,COLORRED;ENDELSEIFBARSTATUS=2ANDSZ3THENBEGINDRAWTEXTABS(390,25,'股价偏离注意调整'),LINETHICK2,COLORRED;ENDELSEIFBARSTATUS=2ANDSZ4THENBEGINDRAWTEXTABS(390,25,'上升通道调整洗盘'),LINETHICK2,COLORGREEN;ENDELSEIFBARSTATUS=2ANDSZ5THENBEGINDRAWTEXTABS(390,25,'转向特征注意离场'),LINETHICK2,COLORGREEN;ENDELSEIFBARSTATUS=2ANDSZ6THENBEGINDRAWTEXTABS(390,25,'通道改变坚决离场'),LINETHICK2,COLORGREEN;ENDELSEIFBARSTATUS=2ANDXD1THENBEGINDRAWTEXTABS(390,25,'下跌通道只宜观望'),LINETHICK2,COLORGREEN;ENDELSEIFBARSTATUS=2ANDXD2THENBEGINDRAWTEXTABS(390,25,'短期底部准备进入'),LINETHICK2,COLORYELLOW;END;;a:="[email=LTFunc5@FORLT2]LTFunc5@FORLT2[/email]";s1:="[email=LTFunc5@LT_S1]LTFunc5@LT_S1[/email]";hs:="[email=LTFunc5@LT_HS]LTFunc5@LT_HS[/email]";ls:="[email=LTFunc5@LT_LS]LTFunc5@LT_LS[/email]";p1:="[email=LTFunc5@LT_P1]LTFunc5@LT_P1[/email]";upp:="[email=LTFunc5@LT_UPP]LTFunc5@LT_UPP[/email]";udd:="[email=LTFunc5@LT_UDD]LTFunc5@LT_UDD[/email]";{hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd};买入:p1=1andref(p1,1)=0,LineThick0,Precis0,ColorRed;d1:=ema(abs("ddx.ddx"),60);d2:=max("ddx.ddx"/d1+7.5,7.5);d3:=min("ddx.ddx"/d1,10);fb:=if(s1=0,hs,ls);tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现S点\n','若明日收盘价>'+numtostrn(upp,2)+',出现B点\n');tr1:=ifs(s1=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价>'+numtostrn(hs,2)+'短线买入机会');tr2:=ifs(p1=1,ifs(cross(p1,0),'B点','持股'),ifs(cross(1,p1),'S点','持币'));tr3:=ifs(s1=0,'向下,','向上,');tr4:='3.能量级别:'+numtostrn(d3,1)+'级';bs:=''+datestr(date)+'买卖点决策系统提示\n'+'1.bs点:'+tr2+','+tr0+'2.短线:'+tr3+tr1+'\n'+tr4;drawflagtext(1,fb,bs);STICKLINE(p1=1andc>=oando<>0,c,o,d2,0),color5454ff;STICKLINE(p1=1andc>=oando<>0,c,o,7.5,0),colorblack;STICKLINE(p1=1andc>=oando<>0,c,c,7.5,0),color5454ff;STICKLINE(p1=1andc>=oando<>0,o,o,7.5,0),color5454ff;STICKLINE(p1=1andc>=oando<>0,o,c,7.5,1),color5454ff;STICKLINE(p1=1andc<=o,o,c,7.5,1),color5454ff;STICKLINE(p1=1andc<=o,l,c,0.5,1),color5454ff;STICKLINE(p1=1andc<=o,h,o,0.5,1),color5454ff;STICKLINE((p1<>1orbarscount(c)<3)andc>=o,c,o,7.5,1),colorffff54;STICKLINE((p1<>1orbarscount(c)<3)andc>=o,c,h,0.5,1),colorffff54;STICKLINE((p1<>1orbarscount(c)<3)andc>=o,l,o,0.5,1),colorffff54;drawbmp(p1=1andref(p1,1)=0,l,'buy1.bmp'),align1,valign0;drawbmp(p1=0andref(p1,1)=1,h,'sell1.bmp'),align1,valign2;drawbmp(s1=1andref(s1,1)=0and(p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0andref(s1,1)=1and(p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;闪:EMA(c+(h-l)*0.618,3),Color0099FF,LINETHICK0;进:EMA((o+h+l)/3,4),COLORCYAN,LINETHICK0;预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4;DRAWTEXTREL(800,950,'测今日低点:'+NUMTOSTRN(ref(预测明日买点,1),2)),ColorGREEN;预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-进)*0.618;DRAWTEXTREL(580,950,'测今日高点:'+NUMTOSTRN(ref(预测明日卖点,1),2)),Colorred;gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100);I1:=0;flag1:=0;whileI1<BArslAST(DISPSTATUS=1)-BARSLAST(DISPSTATUS=2)DOIFREF(H,I1)<REF(L,I1+1)ANDREF(L,I1+1)>HHV(H,I1+1)THENBEGINFLAG1:=1;S1:=I1;I1:=BARSLAST(DISPSTATUS=1);ENDELSEI1:=I1+1;STICKLINE(FLAG1,REF(L,S1+1),HHV(H,S1+1),(s1+1)*20,0),Color808080,ALIGN1,LAYER7;DRAWTEXT(flag1,REF(L,s1+1),NUMTOSTRN(ref(l,s1+1),2)+'-'+NUMTOSTRN(hhV(h,S1+1),2)),ALIGN2,COLORffffff,linethick2;I:=0;flag:=0;whileI<BARSLAST(DISPSTATUS=1)-BARSLAST(DISPSTATUS=2)DOIFREF(L,I)>REF(H,I+1)ANDREF(H,I+1)<LLV(LOW,I+1)THENBEGINFLAG:=1;S:=I;I:=BARSLAST(DISPSTATUS=1);ENDELSEI:=I+1;STICKLINE(FLAG,REF(h,S+1),LLV(L,S+1),20*(s+1),500),Color808080,ALIGN1,LAYER7;DRAWTEXT(FLAG,REF(H,s+1),NUMTOSTRN(ref(h,s+1),2)+'-'+NUMTOSTRN(LLV(L,S+1),2)),ALIGN2,COLORgreen,linethick2;通达信四度赤水副图源码贴图说明指标公式截图

    浏览次浏览
    2024-05-20 11:00
  • 神奇指标

    通达信赚钱效应扫雷宝评分副图指标源码分享-通达信指标公式

      以下是通达信赚钱效应扫雷宝评分副图源码和截图通达信赚钱效应扫雷宝评分副图源码:    ZJSZ:=FINANCE(7)*C<=30000000000;    DELL:=NOT(CODELIKE('688'));    WY1001:=(2*CLOSE+HIGH+LOW)/4;    WY1002:=Ema(WY1001,2);    WY1003:=EMA(WY1002,2);    WY1004:=EMA(WY1003,2);    XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;    XYS1:=EMA(XYS0,1);    XYS2:=EMA(XYS0,2);    LOWV:=LLV(LOW,6);    HIGHV:=HHV(HIGH,6);    RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,2);    K:=EMA(RSV,2);    D:=MA(K,2);    XG:crOSS(XYS1,XYS2)ANDCROSS(K,D)AND(zig(3,5)>REF(ZIG(3,5),1))    AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))    AND(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),,COLORRED,LINETHICK2;    买线:=EMA(C,13);    卖线:=EMA(SLOPE(C,24)*20+C,55);    STICKLINE(买线>=卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR001050;    STICKLINE(买线<卖线,REFDATE(HHV(H,0),DATE),REFDATE(LLV(L,0),DATE),6,0),COLOR404050;    DRAWKLINE(H,O,L,C);    指导:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,13))/4,2);    持仓:IF(买线>=卖线,C,DRAWNULL),COLORRED,NODRAW;    空仓:IF(买线<卖线,C,DRAWNULL),COLORGREEN,NODRAW;    A:="KDJ.K#DAY";    B:="KDJ.D#DAY";    DRAWICON(CROSS(买线,卖线)ANDCROSS(A,B),L,5);    DRAWICON(CROSS(卖线,买线),H,2);    DLYZ1:=SUM((WINNER(C)*100),30)/30*0.1;    DLYZ2:=SUM((WINNER(C)*100),20)/20*0.4;    DLYZ3:=SUM((WINNER(C)*100),10)/10*0.3;    DLYZ4:=SUM((WINNER(C)*100),5)/5*0.1;    DLYZ5:=SUM((WINNER(C)*100),3)/3*0.1;    DLYZZ:=DLYZ1+DLYZ2+DLYZ3+DLYZ4+DLYZ5;    赚钱效应:IF(DLYZZ>38,DLYZZ,DLYZZ*1.3),LINETHICK3;    活跃度:IF(SUMBARS(VOL,CAPITAL)<100,100-SUMBARS(VOL,CAPITAL),1),NODRAW;    资产负债率:FINANCE(9),NODRAW;    流通市值:=FINANCE(40)/100000000,NODRAW;    利润同比:=FINANCE(43),NODRAW;    收入同比:=FINANCE(44),NODRAW;    {不要改动代码,否则引起变动}    ZT:=C=ZTPRICE(REF(C,1),0.1);    FS1:=IF(资产负债率<45,20,0);    FS11:=IF(100>资产负债率>=45,13,1);    FS2:=IF(利润同比>0,15,0);    FS22:=IF(-10<利润同比<=0,7,4);    FS3:=IF(收入同比>=0,15,0);    FS33:=IF(-10<收入同比<0,7,4);    FS4:=IF(赚钱效应>50,15,12);    FS5:=IF(活跃度>50,15,12);    FS6:=IF(COUNT(ZT,20)>=1,10,7);    JISUAN:=FS1+FS2+FS3+FS4+FS5+FS6+FS11+FS22+FS33;    分数值:IF(JISUAN<100,JISUAN,100),NODRAW;    {具体标记分数,以及结构,价格,位置,涨停,    综合来判断个股走势及当前位置。突破为主的小三浪。}    MA11:=MA(CLOSE,11);    MA36:=MA(CLOSE,36);    MA7:=MA(CLOSE,7);    MA4:=MA(CLOSE,4);    XJC:=CROSS(MA4,MA7);    XSC:=CROSS(MA7,MA4);    JCZQS:=BARSLAST(CROSS(MA11,MA36));    MONEYGS:=COUNT(XJC,JCZQS)+COUNT(XSC,JCZQS);    ZT1:=C=ZTPRICE(REF(C,1),0.1);    TJ8:=COUNT(ZT1,40)>=涨停天数;    TJ0:=MONEYGS=3ORMONEYGS=2;    TJ1:=COUNT(CROSS(MA11,MA36),20)>=1ANDC>3ANDC<40;    TJ22:=MACD.DIF>=-0.10;    TJ2:=MACD.DIF>0ANDMACD.DEA>=0;    TJ33:=COUNT((MACD.MACD>0),20)>=13;    TJ44:=COUNT(MACD.DEA>0ANDREF(MACD.DEA,1)<0,20)>=1;    TJ5:=XJCORXSC;    XG1:=TJ0ANDTJ1ANDTJ2ANDTJ44ANDTJ5ANDZJSZANDDELLAND分数值>=股票分数ANDTJ8,NODRAW;    XG2:=TJ0ANDTJ1ANDTJ22ANDTJ33ANDTJ5ANDZJSZANDDELLAND分数值>=股票分数ANDTJ8,NODRAW;    XG3:=MONEYGS>=2ANDMACD.MACD>0ANDMACD.DEA>0ANDREF(MACD.DEA,1)<0ANDZJSZANDDELLAND分数值>=股票分数ANDTJ8,NODRAW;    XG:XG1ORXG2ORXG3;    DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);    DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,GNBLOCK);    DRAWTEXT_FIX(ISLASTBAR,0,0.30,0,FGBLOCK);通达信赚钱效应扫雷宝评分副图截图

    浏览次浏览
    2024-05-20 10:43
  • 神奇指标

    通达信涨停选股牛公式直接选出涨停股-通达信指标公式

      以下是通达信涨停选股牛公式直接选出涨停股源码和截图通达信涨停选股牛公式直接选出涨停股源码:    A:=MA(CLOSE,26);    UP:=A+2*STD(CLOSE,26);    LOWER:=A-2*STD(CLOSE,26);    W1:=C=HHV(C,20);    W2:=BARSLAST(W1);    W3:=IF(W2>0,REF(C,W2),REF(C,W2));    W4:=CROSS(C,REF(W3,1));    IF(W4ANDCOUNT(W4,5)=1,20,0);    DF:=BETWEEN(CLOSE/REF(CLOSE,1),1.0983,1.110);    Z:=(O+H)/2;    涨停中位线:DRAWLINE(DF,Z,REF(DF,1),REF(Z,1),1),COLORMAGENTALINETHICK2;    VAR1:=Ema(EMA(CLOSE,8),3);    控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;    有庄控盘:=crOSS(控盘,0);    DD:=100*(C-LLV(L,6))/(HHV(H,6)-LLV(L,6));    QQ:=MA(C,30)>=REF(MA(C,30),1);    买点:DD<12ANDC>MA(C,36)ANDQQ,COLORRED;    DRAWICON(买点,1,25);    控盘买点:有庄控盘ANDREF(买点,1)    ANDCROSS(C,EMA(C,25))ANDC>EMA(C,14);    XG:=控盘买点;    stICKLINE(XG,0,3,2,0),COLOR000088;    STICKLINE(XG,0,3,1,0),COLOR0000CC;    STICKLINE(XG,0,3,0.22,0),COLOR0000FF;    DRAWTEXT(XG,2,'控盘买点'),COLORYELLOW;    {    选股公式:    VAR1:=EMA(EMA(CLOSE,8),3);    控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;    有庄控盘:=CROSS(控盘,0);    DD:=100*(C-LLV(L,6))/(HHV(H,6)-LLV(L,6));    QQ:=MA(C,30)>=REF(MA(C,30),1);    买点:=DD<12ANDC>MA(C,36)ANDQQ,COLORRED;    控盘买点:有庄控盘ANDREF(买点,1)    ANDCROSS(C,EMA(C,25))ANDC>EMA(C,14);    }通达信涨停选股牛公式直接选出涨停股截图

    浏览次浏览
    2024-05-20 10:35
  • 神奇指标

    通达信欧奈尔杯柄形态指标主图/副图-通达信指标公式

      以下是通达信欧奈尔杯柄形态指标主图源码和截图通达信欧奈尔杯柄形态指标主图源码:    ma250:=EMA(C,250);    HC250:=COUNT(C>MA250,10)>=8AND(crOSS(L,MA250*1.02)ORCROSS(L,MA250));    HCBP:=FILTER(COUNT(HC250,3)ANDC>MA250,5);    DRAWTEXT(HCBP,L*0.98,'蜻蜓◆点水');    VAR1:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);    VAR2:=REF(VAR1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VAR3:=REF(VAR2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VAR4:=REF(VAR3,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VAR5:=REF(VAR4,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VAR6:=REF(VAR5,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VAR7:=REF(VAR6,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VAR8:=REF(VAR7,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VAR9:=REF(VAR8,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VARA:=REF(VAR9,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VARB:=REF(VARA,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VARC:=REF(VARB,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    STICKLINE(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARAORVARBORVARC,CLOSE,REF(CLOSE,1),3,0),COLORRED;    VARD:=CLOSE<REF(CLOSE,1)ANDCLOSE<REF(CLOSE,2);    VARE:=REF(VARD,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VARF:=REF(VARE,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VAR10:=REF(VARF,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VAR11:=REF(VAR10,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VAR12:=REF(VAR11,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VAR13:=REF(VAR12,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VAR14:=REF(VAR13,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VAR15:=REF(VAR14,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VAR16:=REF(VAR15,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    VAR17:=REF(VAR16,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2);    VAR18:=REF(VAR17,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(CLOSE,2);    STICKLINE(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18,CLOSE,REF(CLOSE,1),3,0),COLORYELLOW;    VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18,1)ANDVAR1;    STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORMAGENTA;    VAR1A:=REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9ORVARAORVARBORVARC,1)ANDVARD;    STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR008800;    RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;    K:=SMA(RSV,3,1);    D:=SMA(K,3,1);    J:=3*K-2*D;    RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;    K24:=SMA(RSV24,3,1);    D24:=SMA(K24,3,1);    J24:=3*K24-2*D24;    压力位:IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),COLOR00FF33,LINETHICK1;    支撑位:IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))),COLORCC33CC,LINETHICK1;    支撑价:LLV(LOW,34),COLOR7FFF00,COLORWHITE;    阻力价:HHV(HIGH,34),COLORFF9900,COLORLIBLUE,LINETHICK1;    DRAWTEXT(C-O>=0ANDO/L>1.05ANDL<=LLV(L,30),L,'★<--极品绝底'),LINETHICK1;    DRAWTEXT(REF(C,BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1))+1)>CANDREF("MACD.DIF",BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1))+1)<"MACD.DIF"ANDCROSS("MACD.DIF","MACD.DEA")>0,L-0.02,'★M'),COLOR00FFFF;{MACD底背离}    DRAWTEXT(REF(C,BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1))+1)>CANDREF("KDJ.K",BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1))+1)<"KDJ.K"ANDCROSS("KDJ.K","KDJ.D"),L-0.10,'◎K'),COLORFF00FF;{KDJ底背离}    DRAWTEXT(REF(C,BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1))+1)>CANDREF("RSI.RSI1",BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1))+1)<"RSI.RSI1"ANDCROSS("RSI.RSI1","RSI.RSI2")>0,L-0.18,'◆R'),COLOR0000FF;{RSI底背离};    DRAWTEXT(REF(C,BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1))+1)<CANDREF("MACD.DIF",BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1))+1)>"MACD.DIF"ANDCROSS("MACD.DEA","MACD.DIF")>0,H+0.16,'★M'),COLOR00FF00;{MACD顶背离};    DRAWTEXT(REF(C,BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1))+1)<CANDREF("KDJ.K",BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1))+1)>"KDJ.K"ANDCROSS("KDJ.D","KDJ.K")>0,H+0.08,'◎K'),COLORFFFFCC;{KDJ顶背离}    DRAWTEXT(REF(C,BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1))+1)<CANDREF("RSI.RSI1",BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1))+1)>"RSI.RSI1"ANDCROSS("RSI.RSI2","RSI.RSI1")>0,H+0.04,'◆R'),COLORFF9900;{RSI顶背离};;通达信欧奈尔杯柄形态指标主图截图

    浏览次浏览
    2024-05-20 10:22
  • 神奇指标

    通达信赢在龙头主图指标(主升浪爆发转折点)-通达信指标公式

      以下是通达信赢在龙头主图指标源码和截图通达信赢在龙头主图指标源码:    赢:=MA(C,1);    在:=SMA(SMA(SMA(赢,2,1),2,1),2,1);    龙:=MA(在,3);    DRAWBAND(龙,RGB(50,100,100),在,RGB(231,231,231));{6.05版本才能用彩色带}    赢在龙头:=(L+H+C*4)/6;    工作:EMA(赢在龙头,12),COLOR00FF00;    度假:EMA(赢在龙头,19);    赢在:=(工作-REF(工作,1))/REF(工作,1)*100;    龙头:=(度假-REF(度假,1))/REF(度假,1)*100;    G:=BARSLAST(CROSS(赢在,0));    赢在龙:REF(赢在龙头,G),COLORWHITE,LINETHICK1;    A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5);    A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;    A5:=EMA(CLOSE,12)-EMA(CLOSE,26);    主力持仓:Ema(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),NODRAW;    主筹:WINNER(C)*100,NODRAW;    散筹:(WINNER(C*1.1)-WINNER(C*0.9))*100,NODRAW;    stICKLINE(主力持仓>散筹,0,25,6,0),COLORRED;    STICKLINE(主筹>散筹,26,50,6,0),COLORMAGENTA;    STICKLINE(主力持仓>50,51,75,6,0),COLORBLUE;    STICKLINE(主筹>80AND散筹<REF(散筹,1),76,100,6,0),COLORYELLOW;    A6:=EMA(A5,9);    A7:=(A5-A6);    IF(A7,LLV(L,21),DRAWNULL),COLORFFFF00;    IF(A7,LLV(L,21),DRAWNULL),COLORRED,CIRCLEDOT;    STICKLINE(C>REF(C,1),C,O,3,0),COLOR00EEEE;    STICKLINE(C>REF(C,1),C,O,2.5,0),COLOR0088CC;    STICKLINE(C>REF(C,1),C,O,2,0),COLOR0066DD,LINETHICK2;    STICKLINE(C>REF(C,1),C,O,1.5,0),COLOR0044EE;    STICKLINE(C>REF(C,1),C,O,1,0),COLOR0022FF;    STICKLINE(C<REF(C,1),C,O,2,0),COLORGREEN,LINETHICK1;    IF(龙头>=0,度假,DRAWNULL),COLORMAGENTA,LINETHICK2;    IF(赢在>=0,工作,DRAWNULL),COLOR0000FF,LINETHICK2;    IF(赢在>=0,赢在龙,DRAWNULL),LINETHICK1,COLORRED;    STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),COLOR00FF00,POINTDOT,LINETHICK1;    STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),COLOR00FF00,POINTDOT,LINETHICK2;    STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,1),COLOR00FF00,CIRCLEDOT,LINETHICK3;    STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),COLOR00FF00,POINTDOT,LINETHICK4;    STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),COLOR00FF00,POINTDOT,LINETHICK5;    STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),COLOR00FF00,POINTDOT,LINETHICK6;    STICKLINE(H>=REF(赢在龙头,G),REF(赢在龙头,G),REF(赢在龙头,G),0,0),COLOR00FF00,POINTDOT,LINETHICK7;    STICKLINE(CROSS(在,龙),L-0.05,L*0.96,2,0),COLORYELLOW;    上趋势:MA(LOW,20)*1.2,color0080ff,linethick2;    次上趋势:MA(LOW,20)*1.1,coloryellow;    次下趋势:MA(HIGH,20)*0.9,colorwhite;    下趋势:MA(HIGH,20)*0.8,colorgreen,linethick2;    ZD:=(C-REF(C,1))/REF(C,1)*100;    HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));    趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势ANDC<次上趋势,2,IF(C<下趋势,0,1)));    STICKLINE(趋势强度=0,H,L,6,1),colorblue;    STICKLINE(趋势强度=1,H,L,6,1),colorgreen;    STICKLINE(趋势强度=2,H,L,6,1),colorgray;    STICKLINE(趋势强度=3,H,L,6,1),coloryellow;    STICKLINE(趋势强度=4,H,L,6,1),colormagenta;    STICKLINE(趋势强度=0,C,O,5,0),colorblue;    STICKLINE(趋势强度=1,C,O,5,0),colorgreen;    STICKLINE(趋势强度=2,C,O,5,0),colorgray;    STICKLINE(趋势强度=3,C,O,5,0),coloryellow;    STICKLINE(趋势强度=4,C,O,5,0),colormagenta;通达信赢在龙头主图指标截图

    浏览次浏览
    2024-05-20 09:39
  • 神奇指标

    精品一号选股预警公式-通达信指标公式

      以下是精品一号选股预警公式源码和截图精品一号选股预警公式源码:    AA:=V;    BB:=CAPITAL;    换手:=AA*100/BB;    量顶天:COUNT(换手>=10,1)>=1;    MIDD:=MA(CLOSE,30);    金龙1:=MIDD+2*STD(CLOSE,30),LINETHICK2,COLOR0055FF;    N:=60;    M:=30;    散户线:=100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;    K:=SMA(RSV,5,1);    D:=SMA(K,3,1);    J:=3*K-2*D;    主力线:=EMA(J,18);    MID:=MA(CLOSE,30);    金龙线:=MID+2*STD(CLOSE,30),LINETHICK2,COLOR0055FF;    CC:=C>金龙线ANDC>=O;    DD:=CAPITAL<15000000;{流通盘}    XH:C>金龙1ANDCOUNT(CROSS(主力线,散户线),2)>=1ANDCCANDDD;{双龙出海2+黑马启动2+合跌};精品一号选股预警公式截图

    浏览次浏览
    2024-05-20 09:30
  • 神奇指标

    通达信顶底趋势主图画线指标公式-通达信指标公式

      以下是通达信顶底趋势主图画线指标公式源码和截图通达信顶底趋势主图画线指标公式源码:    N:=3;    A1:=REF(H,N)=HHV(H,2*N+1);    B1:=FILTER(A1,N);    C1:=BACKSET(B1,N+1);    D1:=FILTER(C1,N);    {高点}    A2:=REF(L,N)=LLV(L,2*N+1);    B2:=FILTER(A2,N);    C2:=BACKSET(B2,N+1);    D2:=FILTER(C2,N);    {低点}    E1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2;    E2:=(H+L)/2;    {高低点出现在同一K线上时可作取舍}    H1:=(D1ANDNOT(D2ANDE1>=E2))ORISLASTBARORBARSCOUNT(C)=1;    L1:=(D2ANDNOT(D1ANDE1<E2));    H2:=D1ANDNOT(D2ANDE1>=E2);    X1:=REF(BARSLAST(H1),1)+1;    F1:=BACKSET(H1ANDCOUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));    G1:=F1>REF(F1,1);    I1:=BACKSET(G1,2);    LD:=I1>REF(I1,1),LINETHICK0;    {过滤后低点}    L2:=LDORISLASTBARORBARSCOUNT(C)=1;    X2:=REF(BARSLAST(L2),1)+1;    F2:=BACKSET(L2ANDCOUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2));    G2:=F2>REF(F2,1);    I2:=BACKSET(G2,2);    HD:=I2>REF(I2,1),LINETHICK0;    {过滤后高点}    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:=T4>REF(T4,1);    {前四低}    R3:=BACKSET(S2,REF(BARSLAST(HD),1)+2);    S3:=R3>REF(R3,1);    {前三高}    R4:=BACKSET(S3,REF(BARSLAST(HD),1)+2);    S4:=R4>REF(R4,1);    {前四高}    ★压力1:DRAWLINE(S2,H,S1,H,1),COLORMAGENTA,LINETHICK1;    ★支撑1:DRAWLINE(U2,L,U1,L,1),COLOR8FBC8F,LINETHICK1;    ★压力2:DRAWLINE(S3,H,S2,H,1),COLORFF8000;    ★支撑2:DRAWLINE(U3,L,U2,L,1),COLOR99CC32;    ★压力3:DRAWLINE(S4,H,S3,H,1),COLOR0000FF;    ★支撑3:DRAWLINE(U4,L,U3,L,1),COLOR00FF7F;    DRAWICON(S2,H*1.01,10);    DRAWICON(S3,H*1.01,10);    DRAWNUMBER(S2,H*1.02,H),COLORCFB53B;    DRAWNUMBER(S1,H*1.02,H),COLORCFB53B;    DRAWNUMBER(S3,H*1.02,H),COLORCFB53B;    DRAWICON(U1,L*0.99,11);    DRAWICON(U2,L*0.99,11);    DRAWICON(U3,L*0.99,11);    DRAWICON(U4,L*0.99,11);    DRAWNUMBER(U1,L*0.98,L),COLORCYAN;    DRAWNUMBER(U2,L*0.98,L),COLORCYAN;    DRAWNUMBER(U3,L*0.98,L),COLORCYAN;    DRAWNUMBER(U4,L*0.98,L),COLORCYAN;    H1:EMA(CLOSE,6);    H2:EMA(H1,18);    HH1:EMA(C,30);    HH2:EMA(HH1,18);    HH3:EMA(C,108);    HH4:EMA(HH3,18);    H4:EMA(CLOSE,540),LINETHICK2,colorwhite;    STICKLINE(H1>H2,H1,H2,8,1),coloryellow;    STICKLINE(H1<H2,H1,H2,8,1),colorgreen;    STICKLINE(HH1>HH2,HH1,HH2,4,0),coloryellow;    STICKLINE(HH1<HH2,HH1,HH2,4,0),colorgreen;    STICKLINE(HH3>HH4,HH3,HH4,8,0),colorlimagenta;    STICKLINE(HH3<HH4,HH3,HH4,8,0),colorwhite;    STICKLINE(CLOSE>0,CLOSE,OPEN,10,0),color000000;    STICKLINE(OPEN>CLOSE,CLOSE,OPEN,9,0),COLOR999900;    STICKLINE(OPEN>CLOSE,CLOSE,OPEN,8,0),COLORbbbb00;    STICKLINE(OPEN>CLOSE,CLOSE,OPEN,6,0),COLORcccc00;    STICKLINE(OPEN>CLOSE,CLOSE,OPEN,4,0),COLORdddd00;    STICKLINE(OPEN>CLOSE,CLOSE,OPEN,2,0),COLOReeee00;    STICKLINE(OPEN>CLOSE,HIGH,LOW,2,0),COLORffff00;    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,9,0),COLOR000099;    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,8,0),COLOR0000bb;    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,6,0),COLOR0000cc;    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,4,0),COLOR0000dd;    STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,2,0),COLOR0000ee;    STICKLINE(CLOSE>=OPEN,HIGH,LOW,2,0),COLOR000fFF;    A2:=MA(C,18);    A3:=(C-A2)/A2*100>=-9.9ANDC1.099;    STICKLINE(A4,CLOSE,OPEN,4,0),colormagenta;    DRAWTEXT(A4,L*0.95,'↖谷底涨停'),colormagenta;    X1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20));    X2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),X1);    金线王:=EMA(X2,200)*1.118;    DF:=(C-REF(C,1))/REF(C,1)*100>9;    金K线:=CROSS(C,金线王)ANDDF;    DRAWTEXT(金K线,L*0.95,'↖金K线'),coloryellow;    STICKLINE(金K线,CLOSE,OPEN,4,0),COLOR0077FF;    STICKLINE(金K线,CLOSE,OPEN,3,0),COLOR0099FF;    STICKLINE(金K线,CLOSE,OPEN,2,0),COLOR00BBFF;    STICKLINE(金K线,CLOSE,OPEN,1,0),COLOR00DDFF;    STICKLINE(金K线,CLOSE,OPEN,0.3,0),COLOR00FFFF;    CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);    DD:=DMA(CLOSE,CC);    下:=(1-7/100)*DD;    买点:=REF(下,2)>REF(下,1)AND下>REF(下,1);    STICKLINE(买点,CLOSE,OPEN,4,0),colorgreen;    DRAWTEXT(买点,L*0.95,'↖买点'),colorgreen;    趋势: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.015*AVEDEV(TYP,14));    DIFF:=EMA(CLOSE,2)-EMA(CLOSE,55);    DEA:=EMA(DIFF,6);    MACD:=2*(DIFF-DEA);    转点:=IF(K>DANDCCI>0ANDDIFF>DEAANDMACD>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(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);    VAR5Q:=LLV(LOW,30);    VAR6Q:=HHV(VAR4Q,30);    VAR7Q:=IF(MA(CLOSE,58),1,0);    VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/999*VAR7Q;    VR2:=REF(LOW,1);    VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*100;    VR4:=EMA(IF(CLOSE*1.3,VR3*10,VR3/10),3);    VR5:=LLV(LOW,30);    VR6:=HHV(VR4,30);    VR7:=IF(MA(CLOSE,58),1,0);    VR8:=EMA(IF(LOW<=VR5,(VR4+VR6*2)/2,0),3)/618*VR7;    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)<0AND"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:=(2*C+H+L)/4;    VAR9:=LLV(LOW,34);    VAR7:=HHV(HIGH,34);    SK:=EMA((MAV-VAR9)/(VAR7-VAR9)*100,13);    SD:EMA(0.667*REF(SK,1)+0.333*SK,2);    高抛:80,POINTDOT;    低吸:20,POINTDOT;    强弱分界:50,POINTDOT;    DRAWTEXT(CROSS(SD,16),低吸,'●主力'),COLORF0FF00,LINETHICK3;通达信顶底趋势主图画线指标公式截图

    浏览次浏览
    2024-05-13 17:38
  • 神奇指标

    筹码分析(源码副图通达信)-通达信指标公式

      以下是筹码分析源码和截图筹码分析源码:    VAR1:=(C+H+O+L)/4;    卖出:XMA(VAR1,20)*(1+80/1000),COLORGREEN,LINETHICK2;    买入:XMA(VAR1,32)*(1-100/1000),COLORMAGENTA,LINETHICK2;    幅度:100*(卖出-买入)/买入,NODRAW;    MA1:=MA(VAR1,3);    STICKLINE(卖出>LOWAND卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;    STICKLINE(卖出>MIN(C,O)AND卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;    STICKLINE(卖出>LOWAND卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;    STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;    STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;    STICKLINE(买入>LOWAND买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;    STICKLINE(买入>MIN(C,O)AND买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;    STICKLINE(买入>LOWAND买入<HIGH,买入,LOW,0,0),COLORMAGENTA;    STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;    STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;    DRAWTEXT(CROSS(C,买入)OR(L<买入),LOW*0.95,'B'),COLORRED,LINETHICK2;    DRAWTEXT(CROSS(C,卖出)OR(H>卖出),HIGH*1.02,'S'),COLORGREEN;    BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORWHITE;    平均成本:(COST(50)*100)/100,POINTDOT,COLORRED,LINETHICK4;    JJJ:=IF(DYNAINFO(8)>0.01,0.01*DYNAINFO(10)/DYNAINFO(8),DYNAINFO(3));    DDD:=(DYNAINFO(5)<0.01||DYNAINFO(6)<0.01);    JJJT:=IF(DDD,1,(JJJ<(DYNAINFO(5)+0.01)&&JJJ>(DYNAINFO(6)-0.01)));    CYC1:IF(JJJT,0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5),EMA((HIGH+LOW+CLOSE)/3,5)),COLORMAGENTA;    CYC∞:IF(JJJT,DMA(AMOUNT/(100*VOL),100*VOL/FINANCE(7)),EMA    ((HIGH+LOW+CLOSE)/3,120)),POINTDOT,COLOR00FFFF,LINETHICK2;    DRAWKLINE(H,O,L,C);    HB:=COST(99.9);    LB:=COST(0.1);    B3:=(HB-LB)/50;    B31:=HB-B3;    B32:=HB-2*B3;    B33:=HB-3*B3;    B34:=HB-4*B3;    B35:=HB-5*B3;    B36:=HB-6*B3;    B37:=HB-7*B3;    B38:=HB-8*B3;    B39:=HB-9*B3;    B310:=HB-10*B3;    B311:=HB-11*B3;    B312:=HB-12*B3;    B313:=HB-13*B3;    B314:=HB-14*B3;    B315:=HB-15*B3;    B316:=HB-16*B3;    B317:=HB-17*B3;    B318:=HB-18*B3;    B319:=HB-19*B3;    B320:=HB-20*B3;    B321:=HB-21*B3;    B322:=HB-22*B3;    B323:=HB-23*B3;    B324:=HB-24*B3;    B325:=HB-25*B3;    B326:=HB-26*B3;    B327:=HB-27*B3;    B328:=HB-28*B3;    B329:=HB-29*B3;    B330:=HB-30*B3;    B331:=HB-31*B3;    B332:=HB-32*B3;    B333:=HB-33*B3;    B334:=HB-34*B3;    B335:=HB-35*B3;    B336:=HB-36*B3;    B337:=HB-37*B3;    B338:=HB-38*B3;    B339:=HB-39*B3;    B340:=HB-40*B3;    B341:=HB-41*B3;    B342:=HB-42*B3;    B343:=HB-43*B3;    B344:=HB-44*B3;    B345:=HB-45*B3;    B346:=HB-46*B3;    B347:=HB-47*B3;    B348:=HB-48*B3;    B349:=HB-49*B3;    A1:=WINNER(HB)*100-WINNER(B31)*100;    A2:=WINNER(B31)*100-WINNER(B32)*100;    A3:=WINNER(B32)*100-WINNER(B33)*100;    A4:=WINNER(B33)*100-WINNER(B34)*100;    A5:=WINNER(B34)*100-WINNER(B35)*100;    A6:=WINNER(B35)*100-WINNER(B36)*100;    A7:=WINNER(B36)*100-WINNER(B37)*100;    A8:=WINNER(B37)*100-WINNER(B38)*100;    A9:=WINNER(B38)*100-WINNER(B39)*100;    A10:=WINNER(B39)*100-WINNER(B310)*100;    A11:=WINNER(B310)*100-WINNER(B311)*100;    A12:=WINNER(B311)*100-WINNER(B312)*100;    A13:=WINNER(B312)*100-WINNER(B313)*100;    A14:=WINNER(B313)*100-WINNER(B314)*100;    A15:=WINNER(B314)*100-WINNER(B315)*100;    A16:=WINNER(B315)*100-WINNER(B316)*100;    A17:=WINNER(B316)*100-WINNER(B317)*100;    A18:=WINNER(B317)*100-WINNER(B318)*100;    A19:=WINNER(B318)*100-WINNER(B319)*100;    A20:=WINNER(B319)*100-WINNER(B320)*100;    A21:=WINNER(B320)*100-WINNER(B321)*100;    A22:=WINNER(B321)*100-WINNER(B322)*100;    A23:=WINNER(B322)*100-WINNER(B323)*100;    A24:=WINNER(B323)*100-WINNER(B324)*100;    A25:=WINNER(B324)*100-WINNER(B325)*100;    A26:=WINNER(B325)*100-WINNER(B326)*100;    A27:=WINNER(B326)*100-WINNER(B327)*100;    A28:=WINNER(B327)*100-WINNER(B328)*100;    A29:=WINNER(B328)*100-WINNER(B329)*100;    A30:=WINNER(B329)*100-WINNER(B330)*100;    A31:=WINNER(B330)*100-WINNER(B331)*100;    A32:=WINNER(B331)*100-WINNER(B332)*100;    A33:=WINNER(B332)*100-WINNER(B333)*100;    A34:=WINNER(B333)*100-WINNER(B334)*100;    A35:=WINNER(B334)*100-WINNER(B335)*100;    A36:=WINNER(B335)*100-WINNER(B336)*100;    A37:=WINNER(B336)*100-WINNER(B337)*100;    A38:=WINNER(B337)*100-WINNER(B338)*100;    A39:=WINNER(B338)*100-WINNER(B339)*100;    A40:=WINNER(B339)*100-WINNER(B340)*100;    A41:=WINNER(B340)*100-WINNER(B341)*100;    A42:=WINNER(B341)*100-WINNER(B342)*100;    A43:=WINNER(B342)*100-WINNER(B343)*100;    A44:=WINNER(B343)*100-WINNER(B344)*100;    A45:=WINNER(B344)*100-WINNER(B345)*100;    A46:=WINNER(B345)*100-WINNER(B346)*100;    A47:=WINNER(B346)*100-WINNER(B347)*100;    A48:=WINNER(B347)*100-WINNER(B348)*100;    A49:=WINNER(B348)*100-WINNER(B349)*100;    A50:=WINNER(B349)*100-WINNER(LB)*100;    MAX1:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A1,A2),A3),A4),A5),A6),A7),A8),A9),A10);    MAX2:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A11,A12),A13),A14),A15),A16),A17),A18),A19),A20);    MAX3:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A21,A22),A23),A24),A25),A26),A27),A28),A29),A30);    MAX4:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A31,A32),A33),A34),A35),A36),A37),A38),A39),A40);    MAX5:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A41,A42),A43),A44),A45),A46),A47),A48),A49),A50);    MAX6:=MAX(MAX(MAX(MAX(MAX1,MAX2),MAX3),MAX4),MAX5);    筹码线:IF(MAX6=A1,HB,IF(MAX6=A2,B31,IF(MAX6=A3,B32,IF(MAX6=A4,B33,IF(MAX6=A5,B34,IF(MAX6=A6,B35,IF(MAX6=A7,B36,IF(MAX6=A8,B37,IF(MAX6=A9,B38,IF(MAX6=A10,B39,    IF(MAX6=A11,B310,IF(MAX6=A12,B311,IF(MAX6=A13,B312,IF(MAX6=A14,B313,IF(MAX6=A15,B314,IF(MAX6=A16,B315,IF(MAX6=A17,B316,IF(MAX6=A18,B317,IF(MAX6=A19,B318,IF(MAX6=A20,B319,    IF(MAX6=A21,B320,IF(MAX6=A22,B321,IF(MAX6=A23,B322,IF(MAX6=A24,B323,IF(MAX6=A25,B324,IF(MAX6=A26,B325,IF(MAX6=A27,B326,IF(MAX6=A28,B327,IF(MAX6=A29,B328,IF(MAX6=A30,B329,    IF(MAX6=A31,B330,IF(MAX6=A32,B331,IF(MAX6=A33,B332,IF(MAX6=A34,B333,IF(MAX6=A35,B334,IF(MAX6=A36,B335,IF(MAX6=A37,B336,IF(MAX6=A38,B337,IF(MAX6=A39,B338,IF(MAX6=A40,B339,    IF(MAX6=A41,B340,IF(MAX6=A42,B341,IF(MAX6=A43,B342,IF(MAX6=A44,B343,IF(MAX6=A45,B344,IF(MAX6=A46,B345,IF(MAX6=A47,B346,IF(MAX6=A48,B347,IF(MAX6=A49,B348,IF(MAX6=A50,B349,LB)))))))))))))))))))))))))))))))))))))))))))))))))),LINETHICK2,COLORFF00FF;    STICKLINE(CROSS(C,筹码线),C,O,1,0),COLOR00FFFF;    AA00:=COST(0.1)+COST(10)+COST(20)+COST(30)+COST(40)+COST(50)+COST(60)+COST(70)+COST(80)+COST(90);    AAAVG:(AA00-REF(AA00,1));    CC:0;筹码分析截图

    浏览次浏览
    2024-05-13 17:35
  • 神奇指标

    通达信顾头寻牛之MACD选股(指标/源码 副图/选股贴图)-通达信指标公式

      以下是通达信顾头寻牛之MACD选股源码和截图通达信顾头寻牛之MACD选股源码:    MA5:=MA(C,5);    MA10:=MA(C,10);    MA15:=MA(C,15);    MA20:=MA(C,20);    MA30:=MA(C,30);    MA40:=MA(C,40);    MA60:=MA(C,60);    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);    DEA:=EMA(DIF,9);    MACD:=(DIF-DEA)*2;    上影线:=(H-MAX(C,O))/(MAX(C,O)-MIN(C,O));    下影线:=(MAX(C,O)-L)/(MAX(C,O)-MIN(C,O));    水上金叉:=REF(MACD,3)=LLV(MACD,10)ANDREF(MACD<0,3)ANDEVERY(MACD>REF(MACD,1),2)ANDCROSS(DIF,DEA)ANDBETWEEN(HHV(MACD,28)/ABS(LLV(MACD,7)),0.5,1.8)AND    EVERY(DEA>=0,50)ANDNOT(REF((O<MA20ANDC>MA5),2))ANDNOT(O=L)ANDNOT(REF(O=L,2))ANDNOT(O>MA5ANDL<=MA5)ANDNOT(REF(H=MA5,3))ANDREF(下影线<5.24,3)    ANDNOT(REF(C=L,3))ANDV>REF(V,1)*1.51ANDNOT(C<O)ANDNOT(REF(CROSS(MA15,MA10),2))ANDNOT(REF(L<MA5ANDO>MA10ANDO>C,1))ANDNOT(REF(CROSS(MA10,MA5),2));    水下金叉:=REF(MACD,3)=LLV(MACD,11)ANDREF(MACD<0,3)ANDEVERY(MACD>REF(MACD,1),2)ANDCROSS(DIF,DEA)ANDEVERY(DEA<0,14)ANDBETWEEN(V,MA(V,10)*0.662,MA(V,10)*0.75)    ANDBETWEEN(HHV(MACD,28)/ABS(LLV(MACD,7)),0.8,1.9)ANDNOT(CROSS(MA15,MA20))ANDNOT(C=O)ANDNOT(REF(CROSS(MA20,MA10),3))ANDNOT(CROSS(MA20,MA10))AND    NOT(H>MA10ANDCROSS(C,MA10))ANDNOT(H>MA20ANDL<MA5)ANDNOT(REF(H>MA20ANDL<MA5,1))ANDNOT(REF(CROSS(MA20,MA10),2))AND下影线<15.99AND    NOT(REF(CROSS(MA15,MA10),1))ANDNOT(O=L)ANDREF(下影线<8.24,2)ANDNOT(REF(L<MA5ANDCROSS(C,MA10),1))ANDREF(下影线<5.99,1);    金叉:=水上金叉OR水下金叉;    底0:=BETWEEN(LLV(MACD,30),-0.0002,-0.6)ANDREF(CROSS(DIF,DEA)ANDBETWEEN(V,MA(V,10)*0.35,MA(V,10)*0.75),3)ANDCROSS(MA5,MA10)ANDBETWEEN(V,REF(V,1)*0.6,REF(V,1)*1.2)    ANDNOT(O<MA30ANDC>MA30ANDC>MA20)ANDNOT(L<MA5ANDL<MA30ANDC>MA5)ANDNOT(CROSS(MA15,MA30))ANDNOT(CROSS(MA20,MA30))ANDC>OAND下影线<3.27    AND上影线<7.74ANDNOT(H>MA20ANDO<MA15ANDMA20>MA15)ANDNOT(CROSS(MA5,MA30)ANDCROSS(MA5,MA20)ANDCROSS(MA5,MA15))ANDNOT(C>MA40ANDL<MA30ANDMA40>MA30)    ANDNOT(REF(CROSS(MA10,MA5)ANDC>MA60ANDL<MA60,4))ANDNOT(CROSS(MA5,MA30))ANDNOT(CROSS(MA20,MA40))ANDNOT(REF(V>REF(V,1)*2.22,1))ANDNOT(REF(C=O,3))    ANDNOT(REF(CROSS(MA5,MA15),1));    底:=底0ANDNOT(REF(CROSS(MA20,MA10),3))ANDNOT(REF(CROSS(MA10,MA5),3))ANDNOT(REF(O>MA10ANDL<MA5ANDMA10>MA5ANDC<O,2))    ANDNOT(REF(H>MA20ANDO<MA15,1))ANDREF(下影线<22.99,1)ANDNOT(REF(CROSS(C,MA10)ANDCROSS(C,MA15),1))ANDREF(上影线<35.99,2);    XG:金叉OR底;    VAR1:=C-REF(C,1);    VAR2:=O-REF(O,1);    VAR3:=H-REF(H,1);    VAR4:=L-REF(L,1);    var5:=(var1+var2+var3+var4)/4;    天狼:MA(var5*VOL,13),coloryellow;    MA天狼:SMA(天狼,3,1),colorwhite;    STICKLINE(天狼>=0,天狼,0,4,0),colorred;    STICKLINE(天狼<0,天狼,0,4,0),colorgreen;    界:0;    N:=30;    DIF:=EMA(CLOSE,4)-EMA(CLOSE,43);    DEA:=EMA(DIF,6);    MACD:=(DIF-DEA)*2;    A:=REF(L,1)=LLV(L,N);    A1:=C>=OANDO>=L;    A2:=MACD>0;    A3:=MACD<=0ANDMACD>REF(MACD,1);    A4:=A2ORA3;    XG1:=AANDA1ANDA4;    B:=L=LLV(L,N);    B1:=C>LANDC>REF(C,1);    B2:=C>OANDO>=L;    B3:=B1ORB2;    B4:=A4;    XG2:=BANDB3ANDB4;    XG3:XG1ORXG2;通达信顾头寻牛之MACD选股截图

    浏览次浏览
    2024-05-13 17:31
  • 神奇指标

    通达信鳄鱼线主图源码、原理、用法-通达信指标公式

      以下是通达信鳄鱼线主图源码和截图通达信鳄鱼线主图源码:    C3:=REF(C,1);涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;乖离线:=((C-REF(COST(90),1))/20+250)*1.20;W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));VAR1:=(H+L)/2;上唇:REF(SMA(VAR1,5,1),3),COLORGREEN,LINETHICK1;牙齿:REF(SMA(VAR1,8,1),5),COLORRED,LINETHICK1,CROSSDOT;下颚:REF(SMA(VAR1,13,1),8),COLORBLUE,LINETHICK4,POINTDOT;    LC:=REF(CLOSE,1);    RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);    FF:=EMA(CLOSE,3);    MA15:=EMA(CLOSE,21);    波动回调:MA(CLOSE,10000);    买线:EMA(C,2),COLORRED;    卖线:EMA(SLOPE(C,21)*20+C,42),COLORGREEN;    指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF;    界:MA(CLOSE,27),LINETHICK1,COLOR00FFFF;STICKLINE((MA15>REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,COLOR0000FF;    DRAWTEXT(CROSS(FF,MA15),(LOW*0.99),'上拐点'),COLOR00FFFF;    DRAWTEXT(CROSS(MA15,FF),(HIGH*1.02),'下拐点'),COLOR00FF00;    DRAWTEXT(CROSS(85,RSI),(HIGH*1.02),'回调'),COLORFFFFFF;    BU:=CROSS(买线,卖线);    SEL:=CROSS(卖线,买线);    STICKLINE(买线<卖线,CLOSE,OPEN,4,0),COLORBBBB00;    STICKLINE(CROSS(买线,卖线)ORCROSS(卖线,买线),OPEN,CLOSE,3,0),COLOR00FFFF;    买线:EMA(C,3);    卖线:EMA(SLOPE(C,21)*20+C,55);    买卖差:=买线-卖线;    STICKLINE(买卖差>=0,(买线-买卖差*0.05),(买线-买卖差*0.15),3,0),COLOR00ffff;    STICKLINE(买卖差>=0,(买线-买卖差*0.2),(买线-买卖差*0.35),3,0),COLOR00ccff;    STICKLINE(买卖差>=0,(买线-买卖差*0.4),(买线-买卖差*0.55),3,0),COLOR0099ff;    STICKLINE(买卖差>=0,(买线-买卖差*0.6),(买线-买卖差*0.75),3,0),COLOR0066ff;    STICKLINE(买卖差>=0,(买线-买卖差*0.8),(买线-买卖差*0.95),3,0),COLOR0000cc;    STICKLINE(买卖差<0,(卖线+买卖差*0.05),(卖线+买卖差*0.15),3,0),COLOR006600;    STICKLINE(买卖差<0,(卖线+买卖差*0.2),(卖线+买卖差*0.35),3,0),COLOR009900;    STICKLINE(买卖差<0,(卖线+买卖差*0.4),(卖线+买卖差*0.55),3,0),COLOR00cc00;    STICKLINE(买卖差<0,(卖线+买卖差*0.6),(卖线+买卖差*0.75),3,0),COLOR00ff00;    STICKLINE(买卖差<0,(卖线+买卖差*0.8),(卖线+买卖差*0.95),3,0),COLOR66ff00;通达信鳄鱼线主图截图

    浏览次浏览
    2024-05-13 17:27
  • 神奇指标

    通达信机构动向指标公式源码副图-通达信指标公式

      以下是通达信机构动向指标公式源码和截图通达信机构动向指标公式源码:    VAR1:=Ema(EMA(CLOSE,9),9);    控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;    stICKLINE(控盘<0,控盘,0,3,0),COLOR008000;    A10:=crOSS(控盘,0);    STICKLINE(控盘>REF(控盘,1)AND控盘>0,控盘,0,3,0),COLORRED;    机构控盘:IF(控盘>REF(控盘,1)AND控盘>0,控盘,0),COLORRED,NODRAW;    VAR2:=100*WINNER(CLOSE*0.95);    STICKLINE(VAR2>50ANDCOST(85)<CLOSEAND控盘>0,控盘,0,3,0),COLORFF00FF;    机构高度控盘:IF(VAR2>50ANDCOST(85)<CLOSEAND控盘>0,控盘,0),COLORFF00FF,NODRAW;    STICKLINE(控盘<REF(控盘,1)AND控盘>0,控盘,0,3,0),COLORYELLOW,NODRAW;    机构出货:=IF(控盘<REF(控盘,1)AND控盘>0,控盘,0),COLORYELLOW;    机构撤退:IF(控盘<0,控盘,0),COLORGREEN,NODRAW;    机构试盘:IF(A10,5,0),LINETHICK1,COLOR00FFFF,NODRAW;    STICKLINE(机构试盘>0,0,5,3,0),COLOR00FFFF;    散户活跃:(机构控盘=0AND机构撤退=0AND机构高度控盘=0),NODRAW;    STICKLINE(散户活跃=1,-0.3,0.3,3,0),COLORWHITE;    N:=9;M1:=3;M2:=3;P:=9;    RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;    K:=SMA(RSV,M1,1),COLORRED,LINETHICK2;    D:=Sma(K,M2,1),COLOR00FF00;    JJ:=P*(3*D-2*K),COLOR00FF00;    J:=((3*K)-(2*D));    MAIRU:=crOSS(K,D)ANDK<20;    MAICHU:=CROSS(D,K)ANDD>80;    VAR2:=REF(LOW,1);    VAR3:=SMA(Abs(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;    VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);    VAR5:=LLV(LOW,30);    VAR6:=HHV(VAR4,30);    VAR7:=IF(MA(CLOSE,58),1,0);    VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;    VAR9:=IF(VAR8>100,100,VAR8);    吸筹:stICKLINE(VAR9>-120,0,VAR9,6,1),COLORF00FF0;    快线:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORFF937F;    慢线:SMA(快线,M1,1),COLORRED,LINETHICK2;    空:SMA(慢线,M2,1),COLOR00FF00;    牛股:IF(BArslAST(CROSS(慢线,空))<PANDBARSLAST(CROSS(空,慢线))<PANDCROSS(慢线,空)AND慢线<20,90,0),STICK,COLORFF937F;    STICKLINE(牛股,0,90,6,1),LINETHICK4,STICK,COLORFF937F;    BB:=IF(BARSLAST(CROSS(慢线,快线))>=3ANDCROSS(快线,慢线)AND慢线<30,20,0);    买:STICKLINE(BB,0,20,7,1),COLORYELLOW;    AA:=IF(BARSLAST(CROSS(快线,慢线))>=4ANDCROSS(慢线,快线)AND快线>50,20,0);    卖:STICKLINE(AA,80,100,7,1),COLOR00FF00;    历史量比:VOL/MA(VOL,5);    换手:(VOL*100/CAPITAL),STICK;    二日换手:SUM(换手,2);    三日换手:SUM(换手,3);    五日换手:SUM(换手,5);    十日换手:SUM(换手,10);    STICKLINE(换手<=1,0,VOL,2,0),COLORWHITE;    STICKLINE(换手>1AND换手<=3,0,VOL,2,0),COLOR00FF00;    STICKLINE(换手>3AND换手<=5,0,VOL,2,0),COLORF0F000;    STICKLINE(换手>5AND换手<=8,0,VOL,2,0),COLOR8788F6;    STICKLINE(换手>8AND换手<=10,0,VOL,2,0),COLORYELLOW;    STICKLINE(换手>10AND换手<=15,0,VOL,2,0),COLORFF00FF;    STICKLINE(换手>15,0,VOL,2,0),COLORRED;通达信机构动向指标公式截图

    浏览次浏览
    2024-05-13 17:24