相关简介:    通达信主力进出指标公式指标公式大全                              

     通达信指标公式源码概况:

  指标类别:通达信指标公式

  授权方式:免费版

  指标评级:★★★★★

  指标分类:策略

  画线方法:副图

通达信指标公式源码:

    {主力大户资金进出}
    
    N:=34;
    预测量:IF(CURRBARSCOUNT=1ANDPERIOD=5,vol*240/FROMOPEN,DRAWNULL),COLORCCCCFF,NODRAW;
    STICKLINE(CURRBARSCOUNT=1ANDPERIOD=5,预测量,0,8,-1),COLORYELLOW;
    【成交量】:VOL,VOLSTICK,COLORRED;
    成交额亿:=AMOUNT/100000000,NODRAW;
    流通:=CAPITAL/1000000,NODRAW;
    成交流通比:=AMOUNT/CAPITAL/100,NODRAW;
    大盘成交【手】:INDEXV,COLORFF55FF,NODRAW;
    涨家数:INDEXADV,COLOR0000EE,NODRAW;
    跌家数:INDEXDEC,COLOR00EE00,NODRAW;
    STICKLINE(CLOSE=REF(CLOSE,1),0,VOL,3.2,0),COLORFF77FF;
    STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,2.7,0),COLORFF33FF;
    STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,2.1,0),COLORFF55FF;
    STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,1,6),COLORFF77FF;
    STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0.8,0),COLORFF99FF;
    STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0.5,0),COLORFFBBFF;
    STICKLINE(CLOSE>REF(CLOSE,1),0,VOL,0.1,0),COLORFFDDFF;
    STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3,2),COLORFF1100;
    STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,2.7,0),COLORFF3300;
    STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,2.1,0),COLORFF5500;
    STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,1.6,0),COLORFF7700;
    STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0,8),COLORFF9900;
    STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0.5,0),COLORFFBB00;
    STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,0.1,0),COLORFFDD00;
    HL10:=WINNER(C/1.1)*V,COLORBLUE;
    {STICKLINE(((C/1.1)*V),HL10,0,3,0),COLORMAGENTA;}
    STICKLINE(HL10>0,0,HL10,3,2),COLORFF0033;{紫罗兰色--攻击量}
    STICKLINE(HL10>0,0,HL10,2.7,0),COLORFF0066;
    STICKLINE(HL10>0,0,HL10,2,1),COLORFF0099;
    STICKLINE(HL10>0,0,HL10,1.6,0),COLORFF00CC;
    STICKLINE(HL10>0,0,HL10,0.5,0),COLORFF00FF;
    HL20:=WINNER(C/1.2)*V;
    {STICKLINE(((C/1.2)*V),HL20,0,2.1,0)COLORYELLOW;}
    STICKLINE(HL20>0,0,HL20,3,2),COLOR0035FF;{黄色--潜入量}
    STICKLINE(HL20>0,0,HL20,2.7,0),COLOR0064FF;
    STICKLINE(HL20>0,0,HL20,2,1),COLOR0093FF;
    STICKLINE(HL20>0,0,HL20,1.6,0),COLOR00C2FF;
    STICKLINE(HL20>0,0,HL20,0.5,0),COLOR00FFFF;
    HL30:=WINNER(C/1.3)*V;
    STICKLINE(((C/1.3)*V),HL30,0,2.5,0),COLORRED;
    STICKLINE(HL30>0,0,HL30,3.2,0),COLOR000066;{红色--拉升量}
    STICKLINE(HL30>0,0,HL30,2,7),COLOR000077;
    STICKLINE(HL30>0,0,HL30,2.1,0),COLOR000099;
    STICKLINE(HL30>0,0,HL30,1.6,0),COLOR0000CC;
    STICKLINE(HL30>0,0,HL30,0.2,0),COLORCC66FF;
    MA5:MA(V,5),COLORLIMAGENTA;
    MA13:MA(V,13),COLORCYAN;
    DRAWTEXT(CROSS(MA5,MA13),(V*1.05),'★'),COLORYELLOW;
    {VOL动能均分量}
    换手:=V*100/CAPITAL;
    主力:=MA(换手,4);
    大户:=MA(换手,9);
    中户:=MA(换手,17);
    散户:=MA(换手,34);
    均量:=(主力+大户+中户+散户)/4;
    主力能量:=(主力-均量);
    大户能量:=(大户-均量);
    中户能量:=(中户-均量);
    散户能量:=(散户-均量);
    DRAWTEXT(V>0ANDISLASTBARANDABS(主力能量),V*0.98,IF(主力能量>0AND主力能量>REF(主力能量,1),'机构+','机构-')),COLORYELLOW;
    DRAWTEXT(V>0ANDISLASTBARANDABS(大户能量),V/4*3,IF(大户能量>0AND大户能量>REF(大户能量,1),'大户+','大户-')),COLOR0000CC;
    DRAWTEXT(V>0ANDISLASTBARANDABS(中户能量),V/2,IF(中户能量>0AND中户能量>REF(中户能量,1),'中户+','中户-')),COLORMAGENTA;
    DRAWTEXT(V>0ANDISLASTBARANDABS(散户能量),V/4,IF(散户能量>0AND散户能量>REF(散户能量,1),'散户+','散户-')),COLORCYAN;
    {--------VOL.量能饱和--------}
    N1:=N;
    N2:=N1*1.05;
    N3:=N1+3;
    SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
    量能饱和:IF(SAT>1,1,SAT)*100,COLORYELLOW,NODRAW;
    中点:=REFDATE(HHV(V,100)/2,DATE);{量能饱和的变色切换}
    {中点:=REFDATE(HHV(V,240)/2,DATE);}
    STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00DDDD;
    STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0033FF;
    STICKLINE(CURRBARSCOUNT=N1,中点*1.82,中点*1.58,量能饱和,0),COLOR0077FF;
    STICKLINE(CURRBARSCOUNT=N1,中点*1.76,中点*1.64,量能饱和,0),COLOR0099FF;
    
    {监测主力资金进出}
    
    ZC_1:=IF(L<DYNAINFO(7),0,IF(H>DYNAINFO(7),DYNAINFO(7)-(DYNAINFO(7)-H+0.02)/(H-L+0.02),0));
    ZC_2:=DMA(ZC_1,V/CAPITAL)*100;
    出货:=IF(ZC_2>0ANDZC_2>REF(ZC_2,1),ZC_2/20,0);
    轴:0,COLOR00FF00;
    PJJ:=DMA((H+L+C*2)/4,0.9);
    JJ:=REF(EMA(PJJ,3),1);
    QJJ:=VOL/((H-L)*2-ABS(C-O));
    XVL:=IF(C>O,QJJ*(H-L),IF(C<O,QJJ*(H-O+(C-L)),VOL/2))+IF(C>O,0-QJJ*(H-C+(O-L)),IF(C<O,0-QJJ*(H-L),0-VOL/2));
    ZLL:=VOL/CAPITAL;
    HSL1:=IF(ZLL>10,10,ZLL);
    HSL:=XVL/20/1.15;
    攻击流量:=HSL*0.55+REF(HSL,1)*0.33+REF(HSL,2)*0.22;
    GJJ:=EMA(攻击流量,8);
    LLJX:=EMA(攻击流量,3);
    流量:LLJX,COLORC875B7,COLORRED,NODRAW;
    STICKLINE(流量>0,流量,0,2.3,0)COLOR0000FF;
    STICKLINE(流量<0,流量,0,2.3,0),COLORFF4242;
    流量基线:GJJ,COLOR00BBBB,COLORGREEN;
    STICKLINE(HSL*0.4>=0,HSL*0.4*1.5,0,0,1)COLORYELLOW;
    STICKLINE(HSL*0.4<0,HSL*0.4*1.5,0,0,1)COLORGREEN;
    ZJLL:=REF(LLJX,1);
    QZJJ:=(((LLJX-ZJLL)/ZJLL)*100);
    流量幅%:IF(((LLJX>0)AND(ZJLL<0)),ABS(QZJJ),IF((((LLJX<0)AND(ZJLL<0))AND(LLJX<ZJLL)),(0-QZJJ),QZJJ))COLORMAGENTA,NODRAW;
    力度:HSL/1000,COLOR9B37FF,COLORRED,NODRAW;
    周流量:SUM(LLJX,5),COLORFFBFDF,COLORMAGENTA,NODRAW;
    BB:=REF(周流量,1);
    ZQZJJ:=(周流量-BB)/BB*100;
    周幅%:IF(周流量>0ANDBB<0,ABS(ZQZJJ),IF(周流量<0ANDBB<0AND周流量<BB,-ZQZJJ,ZQZJJ))COLORMAGENTA,NODRAW;
    VARQ1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
    VARQ2:=SMA(ABS(LOW-VARQ1),13,1)/SMA(MAX(LOW-VARQ1,0),10,1);
    VARQ3:=EMA(VARQ2,10);
    VARQ4:=LLV(LOW,33);
    VARQ5:=EMA(IF(LOW<=VARQ4,VARQ3,0),3)*100;
    主力进场:STICKLINE(VARQ5>REF(VARQ5,1)AND出货<=0,0,VARQ5,7,0),COLOR00FFFF;
    
    {超级主力进出}
    
    大主力: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),,linethick2,;
    抄底信号:10,,linethick2,colorred;
    买入个股:IF(CROSS(大主力,抄底信号),100,10),,linethick2,coloryellow;
    V1:=(C*2+H+L)/4*10;
    V2:=EMA(V1,13)-EMA(V1,34);
    V3:=EMA(V2,5);
    V4:=2*(V2-V3)*5.5;
    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;
    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);
    庄家撤:IF(V4<=0,V4,0),COLORGREEN;
    庄家进:IF(V4>=0,V4,0),colorred;
    主力资金进:IF(VB>=0,VB,0),COLORYELLOW;
    主力资金撤:IF(VB<=0,VB,0),COLORBLUE;
    {主力进出买卖}
    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),colorgreen;
    主力进:IF(V4>=0,V4,0);
    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),Coloryellow;
    大盘资金撤走:
    IF(VB<=0,VB,0),colorblue;
    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,5,0),colorcc9900;
    aa:=(趋势线<=13)andfilter((趋势线<=13),15);
    drawtext(aa,30,'准备现金'),colorcc9900;
    买入股票:STICKLINE(趋势线<=13ANDV12>13,0,50,5,0),color0099ff;
    bb:=(趋势线<=13ANDV12>13)andfilter((趋势线<=13ANDV12>13),10);
    drawtext(bb,60,'买入股票'),color0099ff;
    见顶清仓:STICKLINE(趋势线>=90ANDV12,0,30,5,0),colorgray;
    cc:=(趋势线>=90ANDV12)andfilter((趋势线>=90ANDV12),10);
    drawtext(cc,40,'见顶清仓'),colorgray;
    
    {主力进出}
    
    mms:=ma(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(Abs((L+H+2*C)/4-REF
    ((L+H+2*C)/4,1)),5,1)*100,1)+50;
    G1:=IF(-MMS>95,0,20);
    UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0ANDG1)+1);
    {明日均线:=REF(C,2)*2-REF(C,5),LINETHICK0,COLOR550055;
    后日均线:=REF(C,1)*2-REF(C,4),LINETHICK0,COLOR008800;
    大后天均线:=C*2-REF(C,3),LINETHICK0,COLOR008888;}
    KS:=(((CLOSE-EMA(CLOSE,13))/EMA(CLOSE,13))*(0-100));
    KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);
    趋势线:=EMA(((KS/10)+EMA(CLOSE,10)),3);
    AA:=-100*(趋势线-CLOSE)/趋势线;
    ac:=(EMA(AA,5));
    ssl:=EMA(CLOSE,3);
    MMV:=EMA(((SLOPE(CLOSE,22)*20)+CLOSE),55);
    MM:=MMV;
    {stICKLINE(((SSL>MM)),SSL,MM,0.1,0),COLORRED;}
    SA:=(MM*0.985);
    SS:=(MA(CLOSE,5));
    DD:=(MA(CLOSE,13));
    GG:=(MA(CLOSE,21));
    捞钱手:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORWHITE;
    VAR2Y:=(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100);
    VAR3Y:=(((CLOSE-REF(OPEN,29))/REF(OPEN,29))*100);
    VAR4Y:=REF(CLOSE,1);
    VAR5Y:=((SMA(MAX((CLOSE-VAR4Y),0),6,1)/SMA(ABS((CLOSE-VAR4Y)),6,1))*100);
    VAR6Y:=((SMA(MAX((CLOSE-VAR4Y),0),12,1)/SMA(ABS((CLOSE-VAR4Y)),12,1))*100);
    VAR7Y:=((SMA(MAX((CLOSE-VAR4Y),0),24,1)/SMA(ABS((CLOSE-VAR4Y)),24,1))*100);
    VAR8Y:=(((CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45)))*100);
    VAR9Y:=SMA(VAR8Y,3,1);
    VARAY:=SMA(VAR9Y,3,1);
    VARBY:=((3*VAR9Y)-(2*VARAY));
    VARCY:=(crOSS(VAR5Y,10)AND(VAR3Y<(0-(28*20))));
    VARDY:=((100-CROSS(76,VAR5Y))AND(VAR3Y>(5*20)));
    DRAWICON(((CROSS(76,VAR5Y)AND(VAR3Y>5))),(HIGH*1.01),5),COLORFFFFFF;
    VAREY:=((((CROSS(VAR9Y,VARAY)AND(VARAY<10))AND(VAR3Y<(0-30)))AND(VAR2Y>3))*30);
    VARFY:=-((((VARAY<11)AND(VAR5Y<15))AND(VAR3Y<(0-26)))*10);
    DRAWICON((CROSS(VARFY,(0-9))),(LOW*0.998),4);
    能量线:=DMA(((CLOSE+OPEN)/2),(vol/(SMA(VOL,4,1)*4)));
    上开:=O;
    上收:=C;
    上高:=H;
    上低:=L;
    JJ:=(上开+上高+上低)/3;
    A:=EMA(JJ,4);
    B:REF(A,1),POINTDOT,COLORYELLOW;
    智能黄金线:A,COLORYELLOW,LINETHICK1;
    VA1:=EMA(上收,8);
    VA2:=EMA(上收,20);
    DRAWTEXT(CROSS(VA2,VA1),VA1*1.10,'止损'),COLORYELLOW;
    DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND智能黄金线>REF(智能黄金线,1),VA1*0.96,'买入'),COLOR00FF00;
    选手A:=MA(上收,3);
    箱顶A:=MA(REF(HHV(上收,6),1),3);
    箱底A:=MA(REF(LLV(上收,3),1),3);
    T1:=MA(上收,20)>=REF(MA(上收,20),1);
    T2:=CROSS(选手A,箱底A)AND箱顶A/箱底A>100/100ANDT1;
    T3:=CROSS(箱顶A,选手A)AND箱顶A/箱底A>100/100;
    选手:=MA(上收,2);
    箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
    箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;
    T4:=CROSS(选手,箱底)AND箱顶/箱底>110/100;
    T5:=CROSS(箱顶,选手)AND箱顶/箱底>110/100;
    VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
    VAR2:=SMA(VAR1,3,1);
    VAR3:=SMA(VAR2,3,1);
    VAR4:=SMA(VAR3,3,1);
    DRAWTEXT(CROSS(VAR3,VAR4)AND(C>=O)ANDVAR3<40ANDUOO>0,箱底,'★'),COLORF00FF0;
    DRAWTEXT(CROSS(VAR4,VAR3)ANDVAR4>75,箱顶*1.03,'减磅'),COLORF0F000;
    VAR111:=CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2);
    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);
    VAR19:=REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14ORVAR15OR
    VAR16ORVAR17ORVAR18,1)ANDVAR1;
    趋势线1:=FORCAST(CLOSE,7);
    FK:=100*(C-REF(C,1))/REF(C,1);
    PK1:=IF(C<REF(O,1)ANDFK<0,1,0);
    PK2:=IF(C<REF(O,2)ANDFK<0,1,0);
    STICKLINE((PK1=0ANDREF(PK1,1)=1ANDPK2=0ANDREF(PK2,1)=1)AND(趋势线1>REF(趋势线1,1)OR智能黄金线>REF(智能黄金线,1)),OPEN,CLOSE,3,0),COLORRED;
    STICKLINE((PK1=0ANDREF(PK1,1)=1ANDPK2=0ANDREF(PK2,1)=1)AND(趋势线1>REF(趋势线1,1)OR智能黄金线>REF(智能黄金线,1)),H,L,0.5,0),COLORRED;
    PK3:=(((CLOSE/OPEN)>1.04)AND(CLOSE<(SMA(HIGH,21,2)*1.05)))AND((CLOSE-REF(CLOSE,1))>0);
    STICKLINE(PK3AND(趋势线1>REF(趋势线1,1)OR智能黄金线>REF(智能黄金线,1)),CLOSE,OPEN,3,0),COLORRED;
    STICKLINE(PK3AND(趋势线1>REF(趋势线1,1)OR智能黄金线>REF(智能黄金线,1)),H,L,0.5,0),COLORRED;
    STICKLINE(VAR19AND(趋势线>REF(趋势线1,1)OR智能黄金线>REF(智能黄金线,1)),CLOSE,OPEN,3,0),COLORRED;
    STICKLINE(VAR19AND(趋势线>REF(趋势线1,1)OR智能黄金线>REF(智能黄金线,1)),H,L,0.5,0),COLORRED;
    买进价:=((C-REF(MA(C,6),1))/6+MA(C,6))*1.004;
    买进条件:=CROSS(C,买进价)AND买进价>REF(买进价,1);
    STICKLINE(买进条件AND捞钱手>智能黄金线AND智能黄金线>REF(智能黄金线,1),L,L*0.998,7,0),COLORWHITE;
    买线:=EMA(C,2);
    卖线:=EMA(SLOPE(C,21)*20+C,42);
    DRAWTEXT(CROSS(买线,卖线)AND箱顶>=REF(箱顶,1),箱底,'★'),COLOR00FFFF;
    STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF;
    STICKLINE(CROSS(买线,卖线),H,L,0.5,0),COLOR00FFFF;
    
    {主力进出场}
    
    RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
    K:=SMA(RSV,3,1);
    D:=Sma(K,3,1);
    J:=3*K-2*D;
    J1:=REVERSE(J);
    AA:=REF(MA(C,1),10)>REF(MA(C,60),10);
    买点:crOSS(J,J1)ANDAA;
    stICKLINE(买点,0,30,6,0),COLORBLUE;
    STICKLINE(买点,30,60,4,0),COLORWHITE;
    STICKLINE(买点,60,80,2,0),COLORYELLOW;
    DRAWTEXT(买点,70,'庄家出现'),COLORRED;
    
    {主力进出场}
    
    VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
    VAR2:=SMA(Abs(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
    VAR3:=EMA(VAR2,10);
    VAR4:=LLV(LOW,33);
    VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
    主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),COLORRED;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0),COLOR000055;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0),COLOR000077;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0),COLOR000099;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0),COLOR0000BB;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0),COLOR0000DD;
    STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0),COLOR0000FF;
    洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORGREEN,NODRAW;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLORGREEN;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR005500;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.6,0),COLOR007700;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,2.1,0),COLOR009900;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1.5,0),COLOR00BB00;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.9,0),COLOR00DD00;
    STICKLINE(VAR5<REF(VAR5,1),0,VAR5,0.3,0),COLOR00FF00;
    VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
    VAR13:=EMA(VAR12,10);
    VAR14:=HHV(H,33);
    VAR15:=EMA(IF(H>=VAR14,VAR13,0),3);
    冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),COLORFF00FF,NODRAW;
    STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0),COLORFF00FF;
    STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0),COLOR550055;
    STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.6,0),COLOR770077;
    STICKLINE(VAR15>REF(VAR15,1),0,VAR15,2.1,0),COLOR990099;
    STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1.5,0),COLORBB00BB;
    STICKLINE(VAR15>REF(VAR15,1),0,VAR15,0.9,0),COLORDD00DD;
    STICKLINE(VAR15>REF(VAR15,1),0,VAR15,0.3,0),COLORFF00FF;
    主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),COLORYELLOW,NODRAW;
    STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0),COLORYELLOW;
    STICKLINE(VAR15<REF(VAR15,1),0,VAR15,3,0),COLOR005555;
    STICKLINE(VAR15<REF(VAR15,1),0,VAR15,2.6,0),COLOR007777;
    STICKLINE(VAR15<REF(VAR5,1),0,VAR15,2.1,0),COLOR009999;
    STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1.5,0),COLOR00BBBB;
    STICKLINE(VAR15<REF(VAR15,1),0,VAR15,0.9,0),COLOR00DDDD;
    STICKLINE(VAR15<REF(VAR15,1),0,VAR15,0.3,0),COLOR00FFFF;
    A1:=REF(CLOSE,2);
    A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;
    波段介入点:IF(A2<19,19,0)COLORWHITE;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。