DRAWTEXT_FIX(1,0.073,0,0,HYBLOCK),COLORRED; {行业}

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,1);

DRAWTEXT(XGG,L3,'爆爆爆爆爆爆爆爆爆爆爆'),COLOR0099FF;

CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));

DRAWTEXT_FIX(01,0.30,0.45.0,0,CJL),COLOR0099FF;

{STICKLINE((CJL),L,L*9,700,0),COLOR0099FF;}

LCT:=REF(CLOSE,1);

WRSI:=SMA(MAX(CLOSE-LCT,0),5,1)/SMA(ABS(CLOSE-LCT),5,1)*100;

WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;

活跃:=(WRSI-WR10);

活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2))>95;

DRAWTEXT_FIX(1,0.70,0.15,1,STRCAT(STRCAT('',CON2STR(活跃度比,2)),'')),COLORMAGENTA;

开盘第一笔主买:REF(V,BARSSINCE(TIME2>=093000)),NODRAW;

{第一次V不为0到现在的周期数}

A3:=CON2STR(开盘第一笔主买,0);

DRAWTEXT_FIX(1,0,0.250,0,''),COLORWHITE,LINETHICK2;

DRAWTEXT_FIX(1,0.75,0.60,1,A3),COLORWHITE,LINETHICK2;

开盘第一笔量:REF(V,BARSSINCE(TIME2>=093000)),NODRAW;

HSL:=IF((SETCODE==0||SETCODE==1),100*VOL,VOL)/(FINANCE(7)/100);

攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;

攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;

攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;

攻击流量:=攻击量A+攻击量B,COLORSTICK;

攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;

资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50))),COLORYELLOW;

资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;

资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;

资金出入:=资金流入+资金流出,COLORSTICK;

资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;

资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));

{DRAWTEXT_FIX(1,0.550,0.75,0,STRCAT(STRCAT('流量比',CON2STR(资金流量比,2)),'%买')),COLORCYAN;}

DRAWTEXT_FIX(1,0.70,0.35,1,STRCAT(STRCAT('',CON2STR(资金攻击度,2)),' ')),COLORCYAN;

{STICKLINE((资金攻击度 AND 活跃度比 AND TIME<=0935),L,L*9,600,0),COLORCYAN;}

{}

DIF60:=EMA(CLOSE,12/4)-EMA(CLOSE,26/4);

DEA60:=EMA(DIF60,9/2);

DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIF,9);

周MD:=MACD.DIF#WEEK;

周MA:=MACD.DEA#WEEK;

月MD:=MACD.DIF#MONTH;

月MA:=MACD.DEA#MONTH;

RSV60:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36));

K60:=SMA(RSV60,3,1);

D60:=SMA(K60,3,1);

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));

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

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

J:=3*K-2*D;

周K:="KDJ.K#WEEK" ;

周D:="KDJ.D#WEEK" ;

月K:="KDJ.K#MONTH" ;

月D:="KDJ.D#MONTH" ;

XG1:=DIF60>=DEA60;

XG2:=DIF>=DEA;

XG3:=周MD>=周MA;

XG4:=月MD>=月MA;

XG5:=K60>= D60;

XG6:=K>=D;

XG7:=周K>=周D;

XG8:=月K>=月D;

XG9:=XG1 AND XG2 AND XG3 AND XG4 AND XG5 AND XG6 AND XG7 AND XG8;

XGE:=XG1 + XG2 + XG3 + XG4 + XG5 + XG6 + XG7 + XG8;

{DRAWNUMBER(XGE=8 AND TIME<=0935,52,XGE),COLORMAGENTA;}

XG:REF(XG9,1)<>1 AND XG9=1,NODRAW;

STICKLINE(XG AND TIME<=0935,0,99,100,0),COLORYELLOW;

圣灵石:=SMA(C,6.5,1);

圣灵石仙:=SMA(C,13.5,1);

DRAWICON(CROSS(圣灵石,圣灵石仙) AND TIME<=0933,H*9,1);

AAA:=(CROSS(圣灵石,圣灵石仙),H,1);

{DRAWTEXT(CROSS(圣灵石,圣灵石仙),H*999999999,'加速度' ),COLORYELLOW;};

VAB0:=13;

VAB1:=1500000;

VAB2:=VAB0 + VAB1;

VAB3:=IF(DATE > VAB2,0,1);

LC:=REF(CLOSE,1);

SG:=EMA(HHV(HIGH,1),8);

X1:=EMA(CLOSE,8);

X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));

X31:=IF(((SG < REF(SG,1)) OR X30),1,0);

操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;

震仓:=45,COLORMAGENTA;

底线:=20,COLORGREEN;{知股网WWW.GS6.NET}

PP:=操作线< 震仓 AND REF(操作线,1)>震仓 ;

PP3:=操作线< 底线 AND REF(操作线,1)>底线*VAB3;

抓牛:(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O< C AND (((C-REF(C,1))/REF(C,1))>0.065))*10) >=10)OR((C-REF(C,1))/REF(C,1)>0.065 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1,STICK,COLORMAGENTA,LINETHICK4;

DRAWTEXT(抓牛,抓牛*9,' ←反转'),COLORYELLOW;

强反转:(H-REF(C,1))/REF(C,1)*100,NODRAW;

STICKLINE((抓牛),L,L*9,700,0),COLORMAGENTA;

STICKLINE(XG AND 抓牛 AND TIME<=0935,0,99,100,0),COLORYELLOW;

日:=120; 昨前:=3;

高1:=REF(HHV(H,日),昨前);

低1:=REF(LLV(L,日),昨前);

H1:=高1-(高1-低1)*0.191;

H2:=高1-(高1-低1)*0.382;

H3:=高1-(高1-低1)*0.5;

H4:=高1-(高1-低1)*0.618;

H5:=高1-(高1-低1)*0.809;

LOW2:REFDATE(H5,DATE),COLORYELLOW,LINETHICK3;