DRAWGBK(C>O,RGB(25,25,25),RGB(0,0,0),1,2,1);
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>1000,2)>1000,' ')),COLORYELLOW;
JJ1:=STRCAT(JJ,'');
DRAWTEXT_FIX(1,0.45,0.45,0,STRCAT(JJ1,JJJE1)),COLORYELLOW;
XXX:=JJCJL;
{STICKLINE((JJCJL),L,L*999999999,2000,0),COLORLIBLUE;}
CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
{DRAWTEXT_FIX(01,0.65,0.55.0,0,CJL),COLOR0099FF; }
{STICKLINE((CJL),L,L*222222222,2,0),COLOR0099FF,LINETHICK9;}
量价:=(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.05,0,BBB3),COLOR00FFFF;
ZZZ:=BBB3;
KPLB:=DYNAINFO(15)/DYNAINFO(4)/100/DYNAINFO(16)>2;
DRAWTEXT_FIX(1,0.0,0.25,0,STRCAT('K ',STRCAT(CON2STR(KPLB,2),' ')))COLORYELLOW;
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.0,0.15,0,STRCAT(STRCAT('H ',CON2STR(资金攻击度,2)),' ')),COLORYELLOW;
N:=21;M:=55;Q:=3;
回归:=EMA(SLOPE(CLOSE,N)*20+CLOSE,M)*1,COLORMAGENTA,LINETHICK3;
平滑:=EMA(CLOSE,Q),COLORYELLOW,LINETHICK2;
简单差:=平滑-回归;
DRAWICON(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),平滑,9);
{STICKLINE(C/REF(C,1)>=1.02 ,C,O,2,0),COLORYELLOW;}
{FFF:=EMA(C,3);
MA15:=EMA(C,21);
顶背:=CROSS(88,RSI);
DRAWTEXT(CROSS(FFF,MA15),L/1.03,'★★★'),COLORYELLOW;}
{VAR1:=IF(CLOSE>OPEN,CLOSE,OPEN);
VAR2:=MEMA(CLOSE,5);
VAR3:=ATAN((VAR2/REF(VAR2,1)-1)*100);
VAR4:=IF(VAR3>0,VAR3,VAR3);
VAR5:=(CLOSE/REF(CLOSE,1)-1)*100;
VAR6:=VAR5<1.5 AND VAR5>-1.5;
今日之升★:LAST(VAR6,4,1) AND VAR5>2 AND VOL>REF(VOL,1),NODRAW,COLORYELLOW;
DRAWTEXT(今日之升★,L/1.01,'★★★'),COLOR0099FF;}
工作线:EMA(CLOSE,14),COLORFFFFFF;
生命线:EMA(CLOSE,47);
VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);
VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);
{STICKLINE(VAR327>90,L*0.99,L*0.95,4,0),COLORGREEN;}
DRAWTEXT(VAR327>90,LOW*0.95,'●追涨'),COLORYELLOW;
DRAWICON(VAR327>90,LOW*0.95,23),COLORYELLOW;
V2:=SMA(AMOUNT/V,2,1)/100;
V5:=SMA(V2,5,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
V40:=SMA(V20,5,1);
当日实量:=V,NODRAW;
{DRAWKLINE(V2,REF(V2,1),REF(V2,1),V2);}
DRAWTEXT(CROSS(C,REF(V2,1)*1.02) AND CROSS(C,REF(V5,1)*1.03),REF(V2,1),'↖↖↖↖↖↖↖↖'),COLORYELLOW;
TTT:=(CROSS(C,REF(V2,1)*1.02) AND CROSS(C,REF(V5,1)*1.03),REF(V2,1),'↖↖↖èI↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖↖I↖↖↖↖'),COLORYELLOW;
DRAWICON(CROSS(C,REF(V2,1)*1.02) AND CROSS(C,REF(V5,1)*1.03),REF(V2,1),'↖↖↖↖↖↖↖↖'),COLORYELLOW;
STICKLINE(VAR327>90 AND (TTT) ,L,L*09,100,0),COLORGREEN;
H11:=EMA(DCLOSE,5);
A1:=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);
DRAWTEXT(XGG,L3*4.5,'爆爆爆爆爆爆爆爆爆爆爆'),COLORRED;
日:=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;
LOW1:REFDATE(低1,DATE),COLORGREEN,LINETHICK2;
MA255:=EMA(C,2);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
MA34:=EMA(C,34);
MA55:=EMA(C,55);
YCX:=MA5>=REF(MA5,1);
H1Z:=MAX(MAX(MA5,MA13),MA34);
L1:=MIN(MIN(MA5,MA13),MA34);
一阳穿三线:= H1Z<C AND O<L1 AND YCX AND MA2>REF(MA2,1);
STICKLINE(一阳穿三线,O,C,2,0)LINETHICK9,COLORYELLOW;