X_1:=55;
X_2:=34;
X_3:=100*(HHV(HIGH,X_1)-CLOSE)/(HHV(HIGH,X_1)-LLV(LOW,X_1));
X_4:=(CLOSE-LLV(LOW,X_2))/(HHV(HIGH,X_2)-LLV(LOW,X_2))*100;
X_5:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
X_6:=SMA(X_4,3,1);
X_7:=SMA(X_6,3,1);
X_8:=3*X_6-2*X_7;
X_9:=EMA(X_8,6);
擒妖:CROSS(X_9,X_3) AND X_9<50,COLORRED;