X_1:=14;
DRAWLINE(CLOSE=HHV(CLOSE,X_1),HIGH,CLOSE=LLV(CLOSE,X_1) AND BacKSET(ISLASTBAR,BArslAST(CLOSE=LLV(CLOSE,X_1))+1),HHV(HIGH,X_1/2),1),COLORGRAY;
IF(BACKSET(ISLASTBAR,BARSLAST(CLOSE=LLV(CLOSE,X_1))+1),REF(HHV(HIGH,X_1/2),BARSLAST(CLOSE=LLV(CLOSE,X_1))+1),DRAWNULL),DOTLINE,COLORGREEN;
IF(BACKSET(ISLASTBAR,BARSLAST(CLOSE=LLV(CLOSE,X_1))+1)=1 AND REF(BACKSET(ISLASTBAR,BARSLAST(CLOSE=LLV(CLOSE,X_1))+1),1)=0,HHV(HIGH,X_1/2),DRAWNULL),CIRCLEDOT,COLORGREEN,LINETHICK9;