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

量价:=(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('B ',CON2STR((100*(B2-B3))/B6,0)),'.00');

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

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

DRAWTEXT_FIX(DD1=1,0,0.20,0,BBB3),COLOR00FFFF;

{}

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/1000,2),''));

JJ1:=STRCAT(JJ,'');

DRAWTEXT_FIX(1,0.15,0.65,0,STRCAT(JJ,0))COLORCYAN;

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;

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

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

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)))>100,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 (活跃度比) ,L,L*9,2,0),COLORYELLOW;}

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

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

DRAWTEXT_FIX(01,0.01,0.03.0,0,CJL1),COLOR0099FF;

Y:=CLOSE/REF(CLOSE,1)>1.05;

X:=VOL>MA(VOL,5);

A1X:=Y AND X AND TIME<=0933;

DRAWTEXT(A1X,MA(CLOSE,5)*99 ,'↖FASTFASTFASTFASTFASTFASTFASTFASTFASTFASTFASTFASTFASTFASTFASTFASTFAST'),COLORMAGENTA;

N:=3;

VAR1:=1.13;

VAR3:=LLV(HIGH,318);

VAR4:=100*(CLOSE-VAR3)/VAR3*VAR1;

VAR5:=REF(LLV(CLOSE,610),1)*VAR1;

VAR6:=REF(HHV(CLOSE,610),1)*VAR1;

VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5)*VAR1;

VAR8:=(CLOSE-LLV(CLOSE,880))/(HHV(CLOSE,880)-LLV(CLOSE,880))*100*VAR1;

VAR9:=(CLOSE-LLV(CLOSE,318))/(HHV(CLOSE,318)-LLV(CLOSE,318))*100*VAR1;

VARA:=(CLOSE-LLV(LOW,880))/(HHV(HIGH,880)-LLV(LOW,880))*100*VAR1;

VARB:=(CLOSE-LLV(LOW,318))/(HHV(HIGH,318)-LLV(LOW,318))*100*VAR1;

VARC:=EMA(100*(CLOSE-LLV(LOW,144))/(HHV(HIGH,144)-LLV(LOW,144)),5)/4*VAR1;

VARD:=IF(VARC>13.16,VARC,0)*VAR1;

VARE:=VARC<1*VAR1;

VARF:=VARD*VAR1;

VAR10:=VAR4<0 AND VAR7<0;

VAR11:=1;

VAR12:=(HIGH+LOW+CLOSE*2)/4*VAR11;

VAR13:=EMA(VAR12,34);

VAR14:=STD(VAR12,34);

VAR15:=((VAR12-VAR13)/VAR14*100+200)/4*VAR11;

VAR16:=(EMA(VAR15,89)-25)*1.56*VAR11;

VAR17:=EMA(VAR16,5)*1.22*VAR11;

VAR18:=EMA(VAR17,3)*VAR11;

VAR19:=3*VAR17-2*VAR18*VAR11;

VAR1A:=IF(CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18) AND CROSS(VAR17,VAR18),1,0);

VAR1B:=IF(CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19) AND CROSS(VAR18,VAR17),1,0);

买点:= IF(FILTER(VAR8=0 AND VARE AND VAR10 AND VAR1A,5)=1,10,0);

卖点:= IF(FILTER(VAR8=100 AND VARF AND VAR1B,5)=1,10,0);

VAR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4*VAR1;

VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89)*VAR1;

VAR1E:=EMA(VAR1D,21)*VAR1;

VAR1F:=2*(VAR1D-VAR1E)*10*VAR1;

VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2)*VAR1;

VAR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

VAR22:=EMA(VAR21*0.97,3)*VAR1;

VAR23:=(HIGH+LOW+CLOSE)/3*VAR1;

VAR24:=(VAR23-MA(VAR23,14))/(0.015*AVEDEV(VAR23,14))*VAR1;

VAR25:=IF(VAR1F>0.013,VAR20,0)/34*VAR1;

拉升资金:=VAR25*5,COLORRED,LINETHICK2;

VAR26:=EMA(CLOSE,3)-EMA(CLOSE,144);

VAR27:=EMA(VAR26,55);

VAR28:=2*(VAR26-VAR27);

VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);

VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));

VAR2B:=EMA(VAR2A*0.97,3);

VAR2C:=(HIGH+LOW+CLOSE)/3;

VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14));

主力资金:=IF(VAR28>0.01,VAR29*200,-100),LINETHICK2,COLORYELLOW;

STICKLINE(VAR25>0,0,拉升资金*3,8,0) ,COLORMAGENTA;

N1:=13;

N2:=5;

MTM:=C-REF(C,1);

ZLGJ:=MA(100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),2),COLORWHITE;

MAZL:=MA(MA(ZLGJ,N2),3),COLORYELLOW;

{DRAWICON(CROSS(ZLGJ,MAZL) AND MA(C,5)>=REF(MA(C,5),1) AND MA(C,2)>=REF(MA(C,2),1),MA(拉升资金,5),9);

DRAWICON(CROSS(MAZL,ZLGJ) AND MA(C,5)<REF(MA(C,5),1) ,MA(拉升资金,5),2);}

A1:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;

BL:=VOL/CAPITAL*100;

STICKLINE(A1>=0,0,A1*50,1,1),COLORRED;

A1Q:=34;

实体比例:=(CLOSE-OPEN)/REF(CLOSE,1);

冲击系数:=MA(实体比例,A1Q),COLORRED;

回头线:=MA(MA(冲击系数,2),2),COLORYELLOW;

{DRAWICON(CROSS(冲击系数,回头线) AND MA(C,5)>=REF(MA(C,5),1) ,MA(拉升资金,5),1);}

VAR1Z:=CLOSE*VOL;

VAR2:=EMA((EMA(VAR1Z,3)/EMA(VOL,3)+EMA(VAR1,6)/EMA(VOL,6)+EMA(VAR1,12)/EMA(VOL,12)+EMA(VAR1,24)/EMA(VOL,24))/4,13);

VAR3Z:=EMA(CLOSE,9);

MF1:=EMA(VAR3Z*1.11,5),COLORMAGENTA,LINETHICK2;

VAR4Z:=CLOSE*VOL;

VAR5Z:=EMA((EXPMA(VAR4Z,3)/EXPMA(VOL,3)+EXPMA(VAR4,6)/EXPMA(VOL,6)+EXPMA(VAR4Z,12)/EXPMA(VOL,12)+EXPMA(VAR4,24)/EXPMA(VOL,24))/4,13);

VAR6Z:=1.13*VAR5Z;

VAR7Z:=MA(HIGH,30)*(1+15/100);

VAR8Z:=CROSS(CLOSE,MF1) AND CLOSE>=REF(CLOSE,1)*1.048;

{DRAWICON(CROSS(CLOSE,MF1),LOW*99,34);}

DRAWICON(CROSS(CLOSE,MF1),LOW*99,30);

VAR9Z:=CROSS(CLOSE,VAR6Z) AND CLOSE>=REF(CLOSE,1)*1.048;

VAR10Z:=CROSS(CLOSE,VAR7Z) AND CLOSE>=REF(CLOSE,1)*1.048;

VAR11Z:=MA(CLOSE,20);

VAR12Z:=MA(CLOSE,5);

VAR13Z:=MA(CLOSE,8);

VAR14Z:=MA(CLOSE,13);

VAR15Z:=MA(CLOSE,21);

VAR16Z:=MA(CLOSE,34);

VAR17Z:=MA(CLOSE,50);

VAR18Z:=OPEN<=VAR12Z AND CLOSE>VAR12Z;

VAR19Z:=OPEN<=VAR13Z AND CLOSE>VAR13Z;

VAR20Z:=OPEN<=VAR14 AND CLOSE>VAR14Z;

VAR21Z:=OPEN<=VAR15Z AND CLOSE>VAR15Z;

VAR22Z:=OPEN<=VAR16Z AND CLOSE>VAR16Z;

VAR23Z:=OPEN<=VAR17Z AND CLOSE>VAR17Z;

VAR24Z:=VAR18Z+VAR19Z+VAR20Z+VAR21Z+VAR22Z+VAR23Z>4;

VAR25Z:=CLOSE>OPEN AND CLOSE>REF(CLOSE,1)*1.03 AND CLOSE=HIGH AND VAR24Z;

{DRAWICON(VAR25Z,H*99,30);}

STICKLINE(VAR25,CLOSE,OPEN,2,0),COLORYELLOW;

STICKLINE(VAR25,CLOSE,OPEN,1.5,0),COLORYELLOW;

STICKLINE(VAR25,CLOSE,LOW,0.02,0),COLORBLACK;

STICKLINE(VAR25,OPEN,LOW,0,0),COLORGREEN;

{};

多:=EMA(C,3);

空:=EMA(C,5);

均衡:=EMA(空,5);

VARF1:=COUNT(CROSS(多,均衡),2)=1;

VARF2:=COUNT(CROSS(空,均衡),2)=1;

ZAI:=FILTER(VARF1 AND VARF2,2) AND TIME<=0933 ;

DRAWTEXT(ZAI,均衡,'追涨'),COLORYELLOW;

追涨:ZAI;

DRAWICON(CROSS(MA(C,5),MA(C,10)) AND TIME<=0935,MA(C,5)*9,23);