X_1:=42;
X_2:=21;
慢:100-100*(HHV(HIGH,X_1)-CLOSE)/(HHV(HIGH,X_1)-LLV(LOW,X_1)),COLORYELLOW;
快:100-100*(HHV(HIGH,X_2)-CLOSE)/(HHV(HIGH,X_2)-LLV(LOW,X_2)),COLORRED;
准备:CROSS(20,慢) AND CROSS(20,快);
IF(准备,58,20),COLORMAGENTA;
80,DOTLINE,COLORRED;
20,DOTLINE,COLORYELLOW;