

X_2:=BARSLAST(X_1);
STICKLINE(X_2 0 AND CLOSE REF(MAX(HIGH,REF(CLOSE,1)),X_2),REF(MAX(OPEN,REF(CLOSE,1)),X_2),REF(CLOSE,X_2),4,0),COLORFF0080;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);{www.9m8.cn 九毛八公式指标网}
X_3:=CLOSE =ZTPRICE(REF(CLOSE,1),0.1);
X_4:=X_3 AND CLOSE REF(MAX(HIGH,REF(CLOSE,1)),X_2);
STICKLINE(X_4,REF(CLOSE,1),CLOSE,3,(-1)),COLORYELLOW;
STICKLINE(X_4,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(X_4,LOW,HIGH,0.8,0),COLORRED;
DRAWTEXT(X_4,HIGH,VAR2STR(BARSLASTCOUNT(X_4),0)),COLORMAGENTA,LINETHICK9;
DRAWNUMBER(ISLASTBAR,HIGH*1.15,DATE+19000000);