STICKLINE((O/REF(C,1)>1.03),L,L*9,2000,0),COLORBLUE,LINETHICK9;
STICKLINE(DYNAINFO(4)=DYNAINFO(5),L,L*9,2000,0),COLORBLUE;
TEN:=IF(DYNAINFO(4)!=DYNAINFO(5),STRCAT(CON2STR(DYNAINFO(7)<2,60),'1'),STRCAT(CON2STR(DYNAINFO(7)<2,0),'1')),COLORGREEN;
{DRAWTEXT_FIX(1,0.510,0.20,0,TEN),COLORRED;}
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,'JJ ');
DRAWTEXT_FIX(1,0.55,0.25,0,STRCAT(JJ1,JJJE1)),COLORYELLOW;
CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,' FCB'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(01,0.510,0.25.0,0,CJL),COLOR0099FF;
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.25,0,STRCAT(STRCAT('H ',CON2STR(资金攻击度,2)),' ')),COLORYELLOW;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
操盘线: (EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,5)+EMA(VAR1,8)+EMA(VAR1,11)+EMA(VAR1,13))/6.4,COLORFFFF00,LINETHICK2,CIRCLEDOT;
{IF(操盘线>REF(操盘线,1),操盘线,DRAWNULL),COLOR0000FF,LINETHICK2,CIRCLEDOT;
最新:C,COLORFFFFFF,CIRCLEDOT,NODRAW;
IF(C>=REF(C,1),C,DRAWNULL),COLORRED,CIRCLEDOT,NODRAW;}
AA10:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));
BB10:=BETWEEN(C/AA10,C+H,C-H);
DRAWICON(ISLASTBAR AND C>REF(C,1),C,1);
DRAWICON(ISLASTBAR AND C<REF(C,1),C,2);
CC1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD0:=DMA(CLOSE,CC1);
EE:=(1-14/100)*DD0;
底:BETWEEN(C,EE*0.98,EE*1.01),STICK,COLORFFFFFF;
DRAWTEXT(底>0,0.7,' 底'),COLOR00FFFF;
DRAWICON(底>0,底,23);
{VOL}
AA:=V/CONST(HHV(V,90))*100;
买1:STICKLINE(C>=O AND TIME<=0932,AA+50 ,50,2,0),COLORYELLOW;
{STICKLINE(C<O OR(C=O AND C<REF(C,1)) ,AA+50,50,2,1),COLORFFFF00;}
{KDJ}
RSV:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;
K:=SMA(RSV,3,1),COLORBLUE,LINETHICK1;
D:=SMA(K,3,1),COLORBLACK,LINETHICK1;
J:=3*K-2*D,COLOR00FFFF,LINETHICK2;
{DRAWBAND(K,RGB(758,8,18),D,RGB(0,200,200));
IF(K<REF(K,1),K,DRAWNULL),COLOR919100,LINETHICK1;
IF(D<REF(D,1),D,DRAWNULL),COLOR919100,LINETHICK1;
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF00,LINETHICK2;
IF(K>REF(K,1),K,DRAWNULL),COLOR4444FF,LINETHICK1;
IF(D>REF(D,1),D,DRAWNULL),COLOR4444FF,LINETHICK1;
IF(J>REF(J,1),J,DRAWNULL),COLOR1E1EFF,LINETHICK2;}
VAR11:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR13:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR4:=(VAR11+2*VAR12+3*VAR13)/7;
VAR5:=MA(VAR4,1);
预警:STICKLINE(VAR5<=-8,68,50,1,0),COLOR000091;
底部准备:=IF(VAR5<-8,75,50),LINETHICK1,COLORCYAN;
底部预警: IF(VAR5<-8,82,50),LINETHICK1,COLORYELLOW;
QQ:= CLOSE>REF(CLOSE,1)*1.02;
BB:=SMA(MAX(CLOSE-REF(CLOSE,1),0),21,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),21,1)*1000;
GG:=MA(BB-LLV(BB,27),5);
AA0:=(REF(H,4)-REF(L,1))/C*100>10;
RB:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100/2+22)*1;
QB:=((EMA(AMOUNT,13) /EMA(VOL,13)) / 100);
ZH:=(((((CLOSE -QB) / QB) * 100) < (0)) AND ZXNH);
CD:=ZH AND (CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100<RB-2;
底买:AA0 AND QQ AND CD>0,STICK,COLORRED;
DRAWTEXT(底买,0.7,' 底买'),COLORFFFFFF;
DRAWICON(底买>0,底买,23);
多头排列:=MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,60)
AND MA(C,60)>REF(MA(C,60),1);
倍量:=VOL>1.1*REF(VOL,1);
回调入:REF(DOWNNDAY(C,3),2) AND REF(C,1)<REF(C,2) AND C>=O AND 多头排列 AND 倍量,STICK,COLORRED;
DRAWTEXT(回调入,0.7,' 回调入'),COLORYELLOW;
{DRAWICON(回调入>0,回调入,13)};M2:=EMA(C,2);
M18:=EMA(C,18);
买点:=IF(CROSS(M18,M2),5,0* 10000),COLORFF00FF,LINETHICK2;
RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
VARB2:=(RSVV/2+22)*1;
Q:=EMA(VOL,13);
Y0:=EMA(AMOUNT,13);
S:=((Y0 /Q) / 100);
X:=(((CLOSE -S) / S) * 100);
F:=((X < (0)) AND ZXNH);
XQ:=F AND RSVV<VARB2-2;
阴买:买点 AND XQ ,STICK,COLOR00FF00;
DRAWTEXT(阴买>0,0.6,' 阴买'),COLOR00FF00;
DRAWICON(阴买>0,阴买,23);