CJL:=IF(DYNAINFO(10)>100000000,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,''),STRCAT(CON2STR(DYNAINFO(10)/10000000,0),''));
{DRAWTEXT_FIX(01,0.35,0.50.0,0,CJL),COLOR0099FF; }
{DRAWGBK(CJL, RGB(50,60,250),RGB(17,21,89),0,'11',0);}
LC:=REF(CLOSE,1);
WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),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.50,0.35,1,STRCAT(STRCAT('活跃:',CON2STR(活跃度比,2)),'%')),COLORCYAN;}
竞价金额:DYNAINFO(15)/10000,NODRAW;
竞价量:DYNAINFO(15)/DYNAINFO(4)/100,NODRAW,LINETHICK3;
TT3:=CONST(BARSLAST(竞价量));
{STICKLINE(PERIOD=5 AND CURRBARSCOUNT=TT3+1,竞价量,竞价量,20,0),COLORMAGENTA;}
P:=CONST(BARSLAST(竞价量));
{STICKLINE(CURRBARSCOUNT=P+1,O,竞价量,2.5,0),COLORMAGENTA;}
OO:=DYNAINFO(15)/DYNAINFO(4)/100;
A:=OO/REF(V,1)*100;
AAZ:=STRCAT(STRCAT(' ',CON2STR(A,0)),'');
{DRAWTEXT_FIX(ISLASTBAR,0.4,0,0,AA),COLORLIRED;}
{DRAWTEXT_FIX(ISLASTBAR,0.25,0.05,0,AAZ),COLORRED;}
{
VAR1:=AMOUNT/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
流出亿:IF(CLOSE>OPEN AND TIME<=0935,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-AMOUNT/2))/100000000,COLOR00FF00,NODRAW;
流入亿:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),AMOUNT/2))/100000000,COLORRED,NODRAW;
差:=(流入亿+流出亿),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0.2,0.42,0,STRCAT('流出亿: ',CON2STR(流出亿,2))),COLORGREEN;};
实量:=SUM(VOL,FROMOPEN);
虚拟量:=实量/240*FROMOPEN;
SZB:=实量/10000;
XZB:=虚拟量/10000>0;
{DRAWRECTREL(500,CONST(100-XZB)*1000/100,530,1000,RGB(0,0,0));
DRAWRECTREL(500,CONST(100-SZB)*1000/100,530,1000,90);}
大单买:=SUM(IF(CLOSE>=REF(CLOSE,1) AND VOL>=500,VOL,0),FROMOPEN);
大单卖:=SUM(IF(CLOSE<REF(CLOSE,1) AND VOL>=500,VOL,0),FROMOPEN);
ZB1:=大单买/实量*100;
ZB2:大单卖/实量*100<1 AND O/REF(C,1)<1.03; ;
{DRAWRECTREL(530,CONST(100-ZB1)*1000/100,560,1000,90);
DRAWRECTREL(560,CONST(100-ZB2)*1000/100,590,1000,RGB(0,255,0));
DRAWTEXT_FIX(1,0.500,0.20,0,STRCAT(STRCAT('【LARGE ORDERS BUY】',CON2STR(ZB1,2)),'%')),COLORYELLOW;}
DRAWTEXT_FIX(1,0.48,0.50,0,STRCAT(STRCAT('ZER',CON2STR(ZB2,0)),'')),COLORGREEN;
DRAWGBK((ZB2), RGB(255,126,0),RGB(255,126,0),0,'11',0);
YELLOWARROW:IF(FILTER(COUNT(CROSS((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100,0),3)>=1
AND (CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100>REF((CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100,1)
AND MA(CLOSE,5)>REF(MA(CLOSE,5),1)
AND (CLOSE/REF(CLOSE,1)-1)*100>5
AND REF(CLOSE,1)<MA(CLOSE,30) AND CJL,10),1,0)*999,COLORYELLOW,LINETHICK3;
X_1:=CLOSE/REF(CLOSE,1)>1.001 AND NOT(INBLOCK(1) OR INBLOCK(2))
AND VOL>1 AND INBLOCK(3)=0
AND ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999/50+ATAN((MA(CLOSE,13)/
REF(MA(CLOSE,13),1)-1)*100)*57.299999/40+ATAN((MA(CLOSE,20)/
REF(MA(CLOSE,20),1)-1)*100)*57.299999/21+ATAN((MA(CLOSE,60)/
REF(MA(CLOSE,60),1)-1)*100)*57.299999/10>=6;
最强信号:=YELLOWARROW AND X_1,NODRAW,COLORYELLOW;