X_1:=CLOSE<=MAX(HIGH,REF(CLOSE,1))*0.92; X_2:=BARSLAST(X_1); STICKLINE(X_2>0 AND CLOSE DRAWKLINE(HIGH,OPEN,LOW,CLOSE); 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);
|