1. 首页 > 股票入门

通达信抓牛法宝主图指标公式(通达信主图最牛的买卖指标公式)

通达信抓牛法宝主图指标公式(通达信主图最牛的买卖指标公式)

内容导航:
  • 通达信金牛判势指标源码和机构震仓指标怎么写,如下图效果
  • 内部操盘手主图通达信指标公式源码
  • 通达信最牛最全主图指标公式怎么样
  • 通达信超赞的主图指标公式是怎样的
  • 通达信显示逐笔买卖的主图公式
  • 求大师将通达信副图公式改写成出现大牛或短牛是的选股公式
  • 求大神写个通达信副图选股公式?
  • Q1:通达信金牛判势指标源码和机构震仓指标怎么写,如下图效果

    TJ:=FILTER(C,239)>0,NODRAW;
    TJJ:=SUM(TJ,0),NODRAW;
    TJA:=CONST(TJJ),NODRAW;
    C1:=CLOSE;
    V1:=TIME;
    A1:=COUNT(BARSCOUNT(C)=1 AND TIME<102000 ,0 );
    T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),
    (FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;
    成交额:=AMOUNT,NODRAW;
    VV2:=SUM(AMOUNT,T),NODRAW;
    VV3:=VV2/T;
    SS:=IF(CAPITAL>150000000,0.3,IF(CAPITAL>20000000,0.5,IF(CAPITAL>10000000,0.8,IF(CAPITAL<200000,5,IF(CAPITAL<1000000,3,
    IF(CAPITAL<5000000,1.5,1)))))),NODRAW;
    VV5:=(REF(VV3,T-1)/CEILING(REF(VV3,T-1)/CAPITAL *10000+0.1))*SS,NODRAW;
    大额线:=IF(REF(VV3,T)=REF(VV3,T-1),VV5,REF(VV3,T)),NODRAW;
    起算量:=大额线*100,COLOR00FFFF,NODRAW;
    初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0);
    初负1:=IF(T=1 AND DYNAINFO(4)<DYNAINFO(3),VV2,0);
    初正:=SUM(IF(初正1>=大额线 AND T=1,初正1,0),T),NODRAW;
    初负:=SUM(IF(初负1>=大额线 AND T=1,初负1,0),T),NODRAW;
    初正2:=SUM(初正1,T),NODRAW;
    初负2:=SUM(初负1,T),NODRAW;
    T00:=IF(C1>REF(C1,1),0.9,-0.9);
    T01:=IF(C1<REF(C1,1),-0.9,0.9);
    T02:=T00+T01,NODRAW;
    TT1:=BARSLAST(CROSS(T02,+1.5)),NODRAW;
    TT2:=BARSLAST(CROSS(-1.5,T02)),NODRAW;
    TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));
    正V1:=IF(TT=1 OR (TT=0 AND TT1<TT2),成交额,0),NODRAW;
    负V1:=IF(TT=-1 OR (TT=0 AND TT1>TT2),成交额,0),NODRAW;
    正负0:=IF(成交额!= 0 AND (正V1=0 AND 负V1=0),成交额,0);
    正V0:=IF(正负0!= 0 AND REF(正V1,1)!= 0 ,正负0,0);
    负V0:=IF(正负0!= 0 AND REF(负V1,1)!= 0 ,正负0,0);
    正V11:=正V1+正V0,NODRAW;
    负V11:=负V1+负V0,NODRAW;
    正V:=IF(正V11>=大额线,正V11,0);
    负V:=IF(负V11>=大额线,负V11,0);
    正V2:=IF(正V11<大额线,正V11,0);
    负V2:=IF(负V11<大额线,负V11,0);
    正总:=IF(TJJ<2,初正,0)+SUM(正V,T),NODRAW,COLOR0000FF;
    负总:=IF(TJJ<2,初负,0)+SUM(负V,T),NODRAW,COLOR00FF00;
    正总1:=IF(TJJ<2,初正2,0)+SUM(正V11,T),NODRAW,COLOR0000FF;
    负总1:=IF(TJJ<2,初负2,0)+SUM(负V11,T),NODRAW,COLOR00FF00;
    大差%:(正总-负总)/(正总+负总)*100,COLOR00FF00,NODRAW;
    小差%:(正总1-负总1)/(正总1+负总1)*100,COLOR00FF00,NODRAW;
    TJJB:=IF(FILTER(T,239)>0 AND TJA>1,REF((正总-负总),T),0),NODRAW;
    TJJJB:=SUM(TJJB,0)+IF(TJA>1,(正总-负总),0),NODRAW;
    TJJC:=IF(FILTER(T,239)>0 AND TJA>1,REF((正总+负总),T),0),NODRAW;
    TJJJC:=SUM(TJJC,0)+IF(TJA>1,(正总+负总),0),NODRAW;
    N今:TJJJB/10000,NODRAW;
    TJJJB/TJJJC*100,NODRAW;
    TJJB2:=IF(FILTER(T,239)>0,REF((正总-负总),T),0),NODRAW;
    TJJJB2:=SUM(TJJB2,0),NODRAW;
    TJJC2:=IF(FILTER(T,239)>0,REF((正总+负总),T),0),NODRAW;
    TJJJC2:=SUM(TJJC2,0),NODRAW;
    N昨:TJJJB2/10000,NODRAW;
    TJJJB2/TJJJC2*100;
    KL:=1;
    DRAWBAND(12000*KL,RGB(50,50,50),-5000*KL,DRAWNULL);
    Q4:=IF(大差%>=0,12000*KL,0),NODRAW;
    Q5:=IF(大差%>=0,-5000*KL,0),NODRAW;
    DRAWBAND(Q4,RGB(100,100,100),Q5,RGB(50,50,50));
    STICKLINE(CROSS(大差%,0),Q4,Q5,10,0),COLOR777777;
    STICKLINE(CROSS(0,大差%),Q4,Q5,10,0),COLOR777777;
    DIF:=EMA(CLOSE,20)-EMA(CLOSE,5);
    DEA:=EMA(DIF,10);
    MACD:=300*(DIF-DEA)*2/EMA(C,30);
    VARA:=EMA(REF(CLOSE,1),4);
    青山:=(SMA(MAX(CLOSE-VARA,0),6,1)/SMA(ABS(CLOSE-VARA),6,1)*100);
    绿水:=青山<3.5,COLORDBDBDB;
    火红的:=FILTER(MACD<0 AND MACD>REF(MACD,1) AND 青山<20,5);
    太阳:=CROSS(青山,90),COLOR00FF00;
    DRAWBAND(IF((TJA<2 OR PERIOD!= 0),12000*KL,0),RGB(150,00,100),0,DRAWNULL);
    DD:=IF(MACD>=0,MACD,DRAWNULL)*1.5;
    STICKLINE(DD AND DD>REF(DD,1),0,DD*80*KL,4,0),COLOR0000FF;
    STICKLINE(DD AND DD<REF(DD,1),0,DD*80*KL,3,1),COLOR0000FF;
    IF(TJA<2,(青山-25)*150*KL,DRAWNULL),COLOR5BE000,LINETHICK6;
    DRAWBAND(IF((TJA<2 OR PERIOD!= 0) AND (青山-25)*1.5>0,(青山-25)*150*KL,0),RGB(00,200,50),0,DRAWNULL);
    DRAWBAND(0,RGB(00,180,120),IF((TJA<2 OR PERIOD!= 0),-5000*KL,0),DRAWNULL);
    ZJ2:=V/((H-L)*2-ABS(C-O));
    ZJ3:=IF(C>O,ZJ2*(H-L),IF(C<O,ZJ2*(H-O+(C-L)),V/2))+IF(C>O,0-ZJ2*(H-C+(O-L)),IF(C<O,0-ZJ2*(H-L),0-V/2));
    攻击流量:=ZJ3/20/1.15;
    ZJ5:=攻击流量*0.55+REF(攻击流量,1)*0.33+REF(攻击流量,2)*0.22;
    日流量:=EMA(ZJ5,3);
    STICKLINE(C>0 AND 日流量>=0,日流量,0,2,0),COLORFF38FF;
    STICKLINE(C>0 AND 日流量<=0,日流量,0,2,0),COLORFA3300;
    AR1:=LLV(LOW,10);
    AR2:=HHV(H,25);
    AR3:=EMA((C-AR1)/(AR2-AR1)*4,4);
    红红的天:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)
    -2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)
    -LLV(LOW,27))*100,5,1),3,1),LINETHICK0;
    IF((TJA<2 OR PERIOD!= 0) AND CROSS(红红的天,2),7000*KL,-5000*KL),COLOR0000FF;
    IF(红红的天>10,-5000*KL,DRAWNULL),CIRCLEDOT,COLORGREEN;
    IF(红红的天<=10,-5000*KL,DRAWNULL),CIRCLEDOT,COLOR0000CC;
    N:=IF(TJA<2 AND PERIOD=0,20,6);
    L1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*200-60;
    有心就有:IF((TJA<2 OR PERIOD!= 0) AND CROSS(红红的天,2),7000*KL,DRAWNULL),CROSSDOT,LINETHICK6,COLORFF77FF;
    好运!:IF((TJA<2 OR PERIOD!= 0) AND CROSS(红红的天,2),7000*KL,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
    STICKLINE(CROSS(3.5,AR3),10000*KL,12000*KL,2,0), COLOR00FFFF,LINETHICK2;
    STICKLINE(CROSS(AR3,0.3),-5000*KL,-3000*KL,2,0),COLORRED,LINETHICK2;
    DRAWTEXT(CROSS( 0,MACD)AND 青山>75 OR 太阳,9800*KL,'ヲ'),COLORDBDBDB;
    DRAWTEXT(绿水,-3000*KL,'ャ'),COLORDBDBDB;
    DRAWTEXT(绿水,-3000*KL,'︼'),COLOR688EC1;
    IF(PERIOD=0,2500,DRAWNULL),COLORAAAAAA,LINETHICK2;
    {盘龙驸凤}
    望喜:IF(PERIOD=0,小差%*100+2500,DRAWNULL),COLOR000000,LINETHICK1;
    IF(PERIOD=0 AND TJA>1,小差%*100+2500,DRAWNULL),COLORFFFF00;
    盘龙:IF(PERIOD=0,大差%*100+2500,DRAWNULL),COLOR00FFFF,LINETHICK2;
    STICKLINE(PERIOD=0 AND FILTER(T,239)>0,12000*KL,-5000*KL,1,0),COLORWHITE;
    A7:=C-REF(C,1);
    A8:=IF(((TJA<2 OR PERIOD!= 0) OR PERIOD!= 0),5000*EMA(EMA(A7,11),11)/EMA(EMA(ABS(A7),11),11),DRAWNULL),LINETHICK2;
    SHORT:=3; LONG:=19;
    RMA:=EMA(CLOSE,SHORT);
    NMA:=EMA(CLOSE,LONG);
    UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
    DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
    买进:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
    卖出:=(HHV(A8,2)=HHV(A8,7) OR A8=HHV(A8,2)) AND DOWN>REF(UP,1);
    DRAWICON(买进=0,A8*1.1,1);
    DRAWICON(买进=1,A8,23);
    RV:=((CLOSE-LLV(LOW,5))/(HHV(HIGH,27)-LLV(LOW,27))*200-60)*100*KL;
    VAR4:=SMA(RV,3,1);
    VAR5:=SMA(VAR4,3,1);
    龙K:IF(((TJA<2 OR PERIOD!= 0) OR PERIOD!= 0),SMA(L1,3,1)*100*KL,DRAWNULL),COLORRED;
    凤D:IF(((TJA<2 OR PERIOD!= 0) OR PERIOD!= 0),SMA(龙K,3,1),DRAWNULL),COLORBBFFBB;
    N1:=7;
    LC:=REF(CLOSE,1);
    X:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*1000,COLORMAGENTA;
    牛相:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1);
    TJ1:=X=牛相;
    TJ2:=X<REF(X,1);
    DRAWICON(TJ1 AND TJ2,X,1);
    DRAWTEXT(TJ1 AND TJ2,X,'买')COLORRED;
    VAR1R:=(HIGH+LOW+CLOSE*2)/4;
    VAR2R:=EMA(VAR1R,21);
    VAR3R:=STD(VAR1R,21);
    VAR4R:=((VAR1R-VAR2R)/VAR3R*100+200)/4;
    VAR5R:=(EMA(VAR4R,5)-25)*1.56;
    AK:=EMA(VAR5R,2)*1.22;
    AD1:=EMA(AK,2);
    拐点:=CROSS(AD1,AK);
    DRAWTEXT(拐点,X,'变盘');
    VAR6R:=((C+2*L)/3-LLV(L,8))/(HHV(H,8)-LLV(L,8))*100;
    VAR7R:=SMA(VAR6R,2,1);
    DRAWTEXT(X>50 AND X<=80 AND CROSS(X,VAR7R),X,'追'),COLORYELLOW;
    DRAWTEXT(CROSS(X,70) AND VAR7R<15,X,'底'),COLORRED;
    DRAWTEXT(CROSS(X,85) AND VAR7R<10,X,'涨'),COLORMAGENTA;
    DRAWTEXT(VAR7R<11 AND VAR7R>REF(VAR7R,1),VAR7R,'涨'),COLORRED;
    DRAWTEXT(CROSS(X,70) AND VAR7R<20,X,'底'),COLORRED;
    DRAWTEXT(ISLASTBAR,X,' 金牛判势'),COLORRED;

    Q2:内部操盘手主图通达信指标公式源码

    内容来自用户:孙玲玲

    内部操盘手主图
    直接上图一目了然关注底部和挖坑K线形态DRAWTEXT_FIX(1,0.88,5,0,'~☆~内部~☆~'),COLORRED;Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;HAN:=DATE(COST(95)+COST(5))*100;成本价:COST(九十成本集中),LINETHICK2,COLORMAGENTA;入1:IF(成本价>REF(成本价,1),成本价,DRAWNULL),COLORRED,LINETHICK2;出1:IF(成本价<REF(成本价,1),成本价,DRAWNULL),COLORGREEN,LINETHICK2;
    STICKLINE(成本价>LOW AND成本价LOW AND成本价LOW AND成本价LOW AND成本价LOW AND成本价<HIGH,成本价,MIN(MIN(OPEN,CLOSE),成本价),0.3,0)*HAN,COLOR00FFFF;
    STICKLINE(成本价>MIN(C,O) AND成本价MIN(C,O) AND成本价<MAX(C,O),成本价,MIN(OPEN,CLOSE),2.5,0)*H

    Q3:通达信最牛最全主图指标公式怎么样

    没有最牛的指标,只有最熊的指标

    Q4:通达信超赞的主图指标公式是怎样的

    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:=(3*CLOSE+LOW+OPEN+HIGH)/6;
    牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
    马线:MA(牛线,8),COLORWHITE;
    DRAWICON( FILTER(CROSS(牛线,马线),20),马线-0.002 ,1);
    DRAWTEXT(CROSS(牛线,马线),LOW*0.984,'买'),COLORRED,LINETHICK2;
    止损价:H*0.95,LINETHICK0.5,COLORRED;
    庄家:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
    16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
    13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
    10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
    7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
    4*REF(MID,16)+3*REF(MID,17)+2*REF(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;
    由于公式字符过多,这里限制数量无法发出,

    Q5:通达信显示逐笔买卖的主图公式

    在分时图里面,按F1有分时成交明细.

    Q6:求大师将通达信副图公式改写成出现大牛或短牛是的选股公式

    N1:=5;N2:=10;
    VAR1:=C-REF(C,1);
    VAR2:=100*EMA(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),COLOR0000FF;
    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),COLOR00FF00;
    短牛:=(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);
    中牛:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;
    HR:=HHV(HIGH,55);
    HRY:=LLV(LOW,55);
    HRY11:=HR*HRY;
    HRY33:=SQRT(HRY11);
    大牛:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
    XG:IF((短牛 OR 大牛),1,0);
    记得采纳哦

    Q7:求大神写个通达信副图选股公式?

    可以编写幅图选股公式。

    满足5根k线条件的选股公式。

    效果如下图

    本文由锦鲤发布,不代表本站立场,转载联系作者并注明出处:/showinfo-2-169448-0.html