X_1:=STRCAT(4,STRCAT(STRCAT(STRCAT(5,HYBLOCK),STRCAT(6,DYBLOCK)),STRCAT(7,GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,X_1);
均价:AMOUNT/VOL/100,NODRAW,COLORWHITE;
X_2:=(CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100>=10;
STICKLINE(X_2=1,OPEN,CLOSE,3,0),COLORMAGENTA;
X_3:=MIN(CLOSE,OPEN)>REF(MAX(CLOSE,OPEN),1);
明日涨停参考:CLOSE*1.1,NODRAW,COLORWHITE;
STICKLINE(X_3=1,OPEN,CLOSE,0.4,0),COLORYELLOW;
价柱腰价:(LOW+HIGH)/2,NODRAW,COLORWHITE;
实体腰价:(OPEN+CLOSE)/2,NODRAW,COLORWHITE;
价柱上三一价:MAX(HIGH,LOW)-(HIGH-LOW)/3,NODRAW,COLORWHITE;
价柱下三一价:MIN(HIGH,LOW)+(HIGH-LOW)/3,NODRAW,COLORWHITE;
实体上三一价:MAX(OPEN,CLOSE)-ABS(OPEN-CLOSE)/3,NODRAW,COLORWHITE;
实体下三一价:MIN(OPEN,CLOSE)+ABS(OPEN-CLOSE)/3,NODRAW,COLORWHITE;
X_4:=FINDHIGHBARS(VOL,1,天数,1);
X_5:=FINDHIGHBARS(VOL,X_4+5,天数,1);
X_6:=FINDHIGHBARS(VOL,10,100,1);
X_7:=FINDLOWBARS(VOL,5,100,1);
X_8:=CURRBARSCOUNT;
X_9:=0;
X_10:=CONST(X_4);
X_11:=CONST(X_5);
X_12:=CONST(X_6);
X_13:=CONST(X_7);
X_14:=CONST(REF(IF(CLOSE>OPEN,CLOSE,OPEN),X_10+X_9));
X_15:=CONST(REF(IF(CLOSE>OPEN,OPEN,CLOSE),X_10+X_9));
DRAWICON(CURRBARSCOUNT=X_10+1,LOW*0.98,38),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=X_10,X_14,X_14,4,1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT<=X_10,X_15,X_15,2,(-1)),COLORMAGENTA;
X_16:=CONST(REF(IF(CLOSE>OPEN,CLOSE,OPEN),X_11+X_9));
X_17:=CONST(REF(IF(CLOSE>OPEN,OPEN,CLOSE),X_11+X_9));
DRAWICON(CURRBARSCOUNT=X_11+1,LOW*0.98,11),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=X_11,X_16,X_16,4,1),COLORLICYAN;
STICKLINE(CURRBARSCOUNT<=X_11,X_17,X_17,2,(-1)),COLORLICYAN;
X_18:=CONST(REF(IF(CLOSE>OPEN,CLOSE,OPEN),X_12));
DRAWICON(CURRBARSCOUNT=X_12+1,HIGH,35),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=X_12,X_18,X_18,4,(-1)),COLORRED;
X_19:=CONST(REF(IF(CLOSE>OPEN,OPEN,CLOSE),X_13));
DRAWICON(CURRBARSCOUNT=X_13+1,LOW*0.97,34),LINETHICK9;
STICKLINE(CURRBARSCOUNT<=X_13,X_19,X_19,1,(-1)),COLORRED;