现价:=IF(DYNAINFO(7)<2.3,STRCAT(CON2STR(DYNAINFO(7)<2.3,60),'现价'),STRCAT(CON2STR(DYNAINFO(7)<2.3,0),'现价'));

DRAWTEXT_FIX(1,0.01,0.99,0,现价),COLORLIBLUE;

成交额:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2),'亿')<5,STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));

DRAWTEXT_FIX(1,0.01,0.01,0,成交额),COLORYELLOW;

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);