A:=VOL*CLOSE;

B:=SUM(A,1)/SUM(VOL,1);

B1:=EMA(B,17);

进:STICKLINE(((B-B1)*1500/B)>=0 AND TIME<=0931 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORRED;

出:STICKLINE(((B-B1)*1500/B)<0 AND 0>=REF(0,1),0,((B-B1)*1500/B),2,1),COLORGREEN;

主力突破:(B-B1)*1500/B,COLORRED,NODRAW;

100;

XG:主力突破>90 AND TIME<=0932;

DRAWGBK(XG, RGB(255,126,0),RGB(255,126,0),0,'11',1);

DRAWICON(主力突破>90 AND NOT(L=H)AND 主力突破>REF(主力突破,1) ,主力突破,24);

超短强度:=ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*57.3;

短期强度:=ATAN((EMA(C,13)/REF(EMA(C,13),1)-1)*100)*57.3;

中期强度:=ATAN((EMA(C,20)/REF(EMA(C,20),1)-1)*100)*57.3;

长期强度:=ATAN((EMA(C,68)/REF(EMA(C,68),1)-1)*100)*57.3;

强评分:=((((超短强度/50)+(短期强度/40))+(中期强度/21))+(长期强度/10)),NODRAW;

{超强风口:(强评分>=10);

强风口:((强评分>8) && (强评分<10);

当日风口:((强评分>1.8) && (强评分<=8));}

强变化:强评分-REF(强评分,1),NODRAW;

市值亿:FINANCE(40)/100000000<10,COLORBLUE;

量价:=(VOL/CLOSE)/3;

B2:=SUM((IF(((量价>0.20) AND (CLOSE>(REF(CLOSE,1)))),量价,0)),0);

B3:=SUM((IF(((量价>0.20) AND (CLOSE<(REF(CLOSE,1)))),量价,0)),0);

B6:=B2+B3;DD1:=1;比:=B2/B3;

BBB1:=STRCAT(STRCAT('买= ',CON2STR((100*B2)/B6,0)),'%');

BBB2:=STRCAT(STRCAT('卖= ',CON2STR((100*B3)/B6,0)),'%');

BBB3:=STRCAT(STRCAT('差= ',CON2STR((100*(B2-B3))/B6,0)),'%');

{DRAWTEXT_FIX(DD1=1,0,0.70,0,BBB1),COLORRED;

DRAWTEXT_FIX(DD1=1,0,0.75,0,BBB2),COLORGREEN;}

DRAWTEXT_FIX(DD1=1,0,0.40,0,BBB3),COLORBLUE;

{JJCJL:=DYNAINFO(15)/DYNAINFO(4)/100;

JJJEDW:=IF(DYNAINFO(15)>10000,'','元');

JJJE:=IF(DYNAINFO(15)>10000,CON2STR(DYNAINFO(15)/10000,1),CON2STR(DYNAINFO(15),1));

JJJE1:=STRCAT(JJJE,JJJEDW);

JJ:=STRCAT('',STRCAT(CON2STR(JJCJL/10000,2),''));

JJ1:=STRCAT(JJ,'');

DRAWTEXT_FIX(1,0.25,0.15,0,STRCAT(JJ,0))COLORBLUE;}

N:=8;

M:=13;

P:=60;

S:=3;

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),COLORCYAN,LINETHICK3;

超大主力吐: IF(V4<=0,V4,0),COLOR66FF00,LINETHICK3;

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;

超大主力吃线:28,COLORFF80FF,LINETHICK3;

{}

UPRATE:=IF(SETCODE==2,1.05,1.02);

{DOWNRATE:=IF(SETCODE==2,0.95,0.98);}

ISAG:=(FINANCE(3)>0 AND FINANCE(3)<6);

TENRATE:=MINDIFF*10;

上限:=MAX(UPRATE*C,C+TENRATE);

笼子上限:=IF(DYNAINFO(26)>0,IF(DYNAINFO(26)>0 AND USEDDATANUM<250,MIN(上限,DYNAINFO(26)),上限),C),DOTLINE,COLORRED;

DRAW1:=IF(ISAG,DYNAINFO(28),C);

{DRAWNUMBER(ISLASTBAR AND ISAG,DRAW1,DRAW1),COLORRED;}

{下限:=MIN(DOWNRATE*C,C-TENRATE);}

{笼子下限:=IF(DYNAINFO(27)>0,IF(DYNAINFO(27)>0 AND USEDDATANUM<250,MAX(下限,DYNAINFO(27)),下限),C),DOTLINE,COLORGREEN;}

DRAW2:=IF(ISAG,DYNAINFO(29),C);

{DRAWNUMBER(ISLASTBAR AND ISAG,DRAW2,DRAW2),COLORGREEN;}

TPLZ:=CROSS(C,UPRATE*REF(C,1));

DRAWTEXT(TPLZ AND TIME<=0932 AND ISAG,H*9,'突破笼子'),COLORYELLOW;

{DPLZ:=CROSS(DOWNRATE*REF(C,1),C);}

{DRAWTEXT(DPLZ AND ISAG,C,'跌破笼子'),COLORGREEN;};

{}

RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

X:=LLV(J,2)=LLV(J,8);

超准选股短进:=CROSS(J,REF(J+0.01,1)) AND X AND J<20,COLORYELLOW;

{超准完美买卖选股2见底}

主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);

散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);

VAR2:=LLV(LOW,10);

VAR3:=HHV(HIGH,25);

动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);

超准选股见底:CROSS(主力,散户) AND 主力<0 AND 散户<0 AND TIME>=1400,COLORBLUE;

H11:=EMA(DCLOSE,5);

A1Z:=LLV(DCLOSE,5);

L11:=LLV(L,10);

敢死队操作线:=MA(C,24),LINETHICK2,COLORLIMAGENTA;

操作线2:=MA(C,26),LINETHICK1,COLORLICYAN;

爆发点:=(DCLOSE-REF(C,1))/REF(C,1)*100;

XGG:=CROSS(爆发点,20) OR CROSS(爆发点,18);

L3:=IF(XGG,O,L11*0.999),COLORYELLOW;

STICKLINE(XGG,L3,L3,100,0);

AA:=(C*2+H+L+O)/5;

A0:=MA(C,5);

A1:=(EMA(AA,4)+MA(AA,8)+MA(AA,16))/3;

A2:=(EMA(AA,9)+MA(AA,18)+MA(AA,36))/3;

A3:=(EMA(AA,13)+MA(AA,26)+MA(AA,52))/3;

A4:=(EMA(AA,24)+MA(AA,48)+MA(AA,96))/3;

A5:=EMA(100*(C-LLV(L,100))/(HHV(H,100)-LLV(L,100)),5);

A6:=A5/4;

A7:=MAX(MAX(A1,A2),MAX(A3,A4));

A8:=MIN(MIN(A1,A2),MIN(A3,A4));

A9:=MIN(MIN(A1,A2),A3);

A10:=MAX(MAX(A1,A2),A3);

DRAWICON(CROSS(A2,A4) AND TIME<=0935 AND A3>REF(A3,1)AND A0>REF(A0,2)AND (A1-A4)/A4<0.02,A2*6,9);

DRAWICON(CROSS(A1,A4)AND TIME<=0935 AND CROSS(A2,A3),A1*5,1);