DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,XA_1);
均价:AMOUNT/VOL/100,NODRAW,COLORWHITE;
XA_2:=(CLOSE+0.005-REF(CLOSE,1))/REF(CLOSE,1)*100
STICKLINE(XA_2=1,OPEN,CLOSE,3,0),COLORMAGENTA;
XA_3:=MIN(CLOSE,OPEN) REF(MAX(CLOSE,OPEN),1);
明日涨停参考:CLOSE*1.1,NODRAW,COLORWHITE;
STICKLINE(XA_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;
XA_4:=FINDHIGHBARS(VOL,1,天数,1);
XA_5:=FINDHIGHBARS(VOL,XA_4+5,天数,1);
XA_6:=FINDHIGHBARS(VOL,10,100,1);
XA_7:=FINDLOWBARS(VOL,5,100,1);
XA_8:=CURRBARSCOUNT;
XA_9:=0;{www.9m8.cn 九毛八公式指标网}
XA_10:=CONST(XA_4);
XA_11:=CONST(XA_5);
XA_12:=CONST(XA_6);
XA_13:=CONST(XA_7);
XA_14:=CONST(REF(IF(CLOSE OPEN,CLOSE,OPEN),XA_10+XA_9));
XA_15:=CONST(REF(IF(CLOSE OPEN,OPEN,CLOSE),XA_10+XA_9));
DRAWICON(CURRBARSCOUNT=XA_10+1,LOW*0.98,38),LINETHICK9;
STICKLINE(CURRBARSCOUNT =XA_10,XA_14,XA_14,4,1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT =XA_10,XA_15,XA_15,2,(-1)),COLORMAGENTA;
XA_16:=CONST(REF(IF(CLOSE OPEN,CLOSE,OPEN),XA_11+XA_9));
XA_17:=CONST(REF(IF(CLOSE OPEN,OPEN,CLOSE),XA_11+XA_9));
DRAWICON(CURRBARSCOUNT=XA_11+1,LOW*0.98,11),LINETHICK9;
STICKLINE(CURRBARSCOUNT =XA_11,XA_16,XA_16,4,1),COLORLICYAN;
STICKLINE(CURRBARSCOUNT =XA_11,XA_17,XA_17,2,(-1)),COLORLICYAN;
XA_18:=CONST(REF(IF(CLOSE OPEN,CLOSE,OPEN),XA_12));
DRAWICON(CURRBARSCOUNT=XA_12+1,HIGH,35),LINETHICK9;
STICKLINE(CURRBARSCOUNT =XA_12,XA_18,XA_18,4,(-1)),COLORRED;
XA_19:=CONST(REF(IF(CLOSE OPEN,OPEN,CLOSE),XA_13));
DRAWICON(CURRBARSCOUNT=XA_13+1,LOW*0.97,34),LINETHICK9;
STICKLINE(CURRBARSCOUNT =XA_13,XA_19,XA_19,1,(-1)),COLORRED;