X_1:=9;
X_2:=3;
X_3:=3;
X_4:=(CLOSE-LLV(LOW,X_1))/(HHV(HIGH,X_1)-LLV(LOW,X_1))*100;
X_5:=SMA(X_4,X_2,1);
X_6:=SMA(X_5,X_3,1);
X_7:=3*X_5-2*X_6;
X_8:=6;
X_9:=5;
X_18:=LLV(LOW,X_8);
X_19:=HHV(HIGH,X_8);
X_20:=EMA((CLOSE-X_18)/(X_19-X_18)*100,X_9);
X_21:=EMA(0.667*REF(X_20,1)+0.333*X_20,2);
红箭头:crOSS(0.9,1/vol*1000>0.01 AND X_7<0) AND X_20>X_21;