VAR1Z:=1;
VAR2Z:=1/WINNER(CLOSE);
VAR3Z:=MA(CLOSE,13);
VAR4Z:=100-ABS((CLOSE-VAR3Z)/VAR3Z*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,21,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,21,1);
VARA:=3*VAR8-2*SMA(VAR8,13,1);
VARB:=3*VAR9-2*SMA(VAR9,13,1);
VARC:=100-VARB;
平衡:=50.5,COLOR998899,POINTDOT;
主力:=MA(WINNER(CLOSE*0.95)*100,3)*VAR1Z,COLORYELLOW,LINETHICK1;
散户:=(100-VARA)*VAR1Z,COLORLIBLUE,LINETHICK1;
{DRAWTEXT(CROSS(主力,散户) AND 主力>50,主力,'★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★'),COLORRED;}
→:=100,LINETHICK3,COLORYELLOW;
MINUS:=(主力-散户)>0;
DRAWTEXT_FIX(1,0.850,0.85,0,MINUS),COLORWHITE;
DRAWICON(CROSS(主力,散户) AND L,L,23);
STICKLINE(CROSS(主力,散户),L,L*99999999,2,0),COLORYELLOW,LINETHICK9;
V1J:=EMA(CLOSE,60)-EMA(CLOSE,100);
V2J:=EMA(V1J,300);
V3:=(CLOSE-(LOW,8))/((HIGH,8)-LLV(LOW,8))*100;
V4:=SMA(V3,2,1),NODRAW;
V5:=SMA(V4,2,1),NODRAW;
V6:=CLOSE/REF(CLOSE,3)>=1.1;
V7:=BACKSET(V6,3);
大涨:(V7 AND COUNT(V7,2.9)=1)*999999999,LINETHICK2,COLORWHITE;
大涨1:(V7 AND COUNT(V7,3)=1)*-999999999,LINETHICK9,COLORWHITE;
STICKLINE((V7 AND COUNT(V7,2.9)=1),L,L*999,8,0),COLORWHITE;