CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,''),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));
DRAWTEXT_FIX(1,0.55,0.25,0,CJL),COLOR0080FF;
流通市值:(FINANCE(40)/100000000)<10,NODRAW,COLORRED;
{DRAWTEXT_FIX(CURRBARSCOUNT=1,0.45,0.388,0,'流通市值: (亿)'),COLORFFFFFF;};
DRAWGBK(流通市值,RGB(0,48,143),RGB(0,48,143),0,'11',1);
{DRAWTEXT_FIX(CURRBARSCOUNT=1,0.50,0.3,0,STRCAT('',CON2STR(流通市值/1,0))),COLORRED;}
{}
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));
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.255,0.15,1,STRCAT(STRCAT('',CON2STR(活跃度比,2)),'%')),COLORYELLOW;}
DRAWTEXT_FIX(1,0.50,0.5,0,STRCAT(STRCAT('',CON2STR( 资金攻击度 AND 活跃度比>90,0)),'')),COLORRED;
{}
均价线 : SUM(V * C, 0) / SUM(V, 0);
偏离值 : (C - 均价线) / 均价线, NODRAW;
昨偏离值 : REF(偏离值, 1), NODRAW;
NOTEXT0 := 0, COLORRED, LINETHICK2;
NOTEXT01:= 0, COLORRED, LINETHICK2;
STICKLINE(V >= 0 AND TIME<=0935 AND 昨偏离值 <=0.03, 0, 偏离值*999, 2, 0), COLORYELLOW;