VAR1:=IF((HIGH-REF(CLOSE,1))*100/REF(CLOSE,1) =10-0.01*100/REF(CLOSE,1),1,0) AND CLOSE HIGH;
VAR2:=REF(CLOSE,1);
VAR3:=IF((VAR2-LOW)*100/VAR2 =10-0.01*100/VAR2,1,0) AND CLOSE
STICKLINE(VAR1,OPEN,HIGH,3,(-1)),COLORRED;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(VAR1,CLOSE,OPEN,1,0),COLORMAGENTA;
STICKLINE(VAR3,OPEN,LOW,3,(-1)),COLORGREEN;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
DRAWTEXT_FIX(1,0,0.06,0,2),COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0.06,0,EXTERNSTR(0,666)),COLORYELLOW;
DRAWTEXT_FIX(1,0.03,0.88,0,STRCAT(3,EXTERNSTR(0,888))),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,DYBLOCK);
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,GNBLOCK);
每股公积金:FINANCE(18);
自由流通:FINANCE(46)*CLOSE/100000000,NODRAW;
总市值:FINANCE(41)*100/10000000000,NODRAW;
MA21:MA(CLOSE,21);
MA60:MA(CLOSE,60);
MA89:MA(CLOSE,89);
VAR4:=IF((CLOSE-VAR2)*100/VAR2 =10-0.01*100/VAR2,1,0);
STICKLINE(VAR4,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(VAR4,HIGH,LOW,0,0),COLORMAGENTA;
VAR5:=IF((VAR2-CLOSE)*100/VAR2 =10-0.01*100/VAR2,1,0);
STICKLINE(VAR5,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(VAR5,HIGH,LOW,0,1),COLORGREEN;
VAR6:=10;
DRAWTEXT_FIX(1,0,0.12,0,4),COLORGREEN;
DRAWTEXT_FIX(1,0.08,0.12,0,EXTERNSTR(0,555)),COLORGREEN,LINETHICK2;
VAR7:=FINANCE(30)/100000000;
VAR8:=STRCAT(STRCAT(6,CON2STR(VAR7,2)),7);
DRAWTEXT_FIX(ISLASTBAR,0,0.18,0,VAR8),COLORGREEN;
VAR9:=BARSCOUNT(CLOSE)
VAR10:=BARSCOUNT(CLOSE)
VAR11:=COUNT(VAR4,250);
VAR12:=COUNT(VAR4,500);
VAR13:=COUNT(VAR1,500);
VAR14:=VAR12+VAR13;
VAR15:=VAR12/VAR14;
VAR16:=STRCAT(STRCAT(8,CON2STR(VAR15,2)),9);
VAR17:=COUNT(VAR4,30);
VAR18:=COUNT(VAR4,10);
VAR19:=VAR4 AND VAR9;
VAR20:=VAR4 AND VAR10 AND OPEN!=CLOSE;
VAR21:=COUNT(VAR19 OR VAR20,2)=2;
VAR22:=COUNT(VAR21,250);
VAR23:=COUNT(VAR4,3)=3;
VAR24:=COUNT(VAR23,250);
DRAWTEXT_FIX(1,0.61,0.94,0,VAR16),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.38,0.94,0,11),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.46,0.94,0,CON2STR(VAR11,1)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.21,0.94,0,12),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.3,0.94,0,CON2STR(VAR24,1)),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR,0.03,0.94,0,15),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.11,0.94,0,CON2STR(VAR22,1)),COLORWHITE;