{指标介绍:用沙盘推演看,下降时低点会变化,不断下降。但在上升时基本不变,如上升变成压力了,也就是到顶了。}
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;