X_1:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_20:=Ema((X_1-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,13);
X_21:=EMA(X_20,3);
X_22:=vol>=REF(VOL,1)*2 AND CLOSE>=REF(CLOSE,1)*1.045 AND REF(CLOSE,1)<=REF(CLOSE,5)*1.05 AND HHV(REF(HIGH,1),5)/LLV(REF(LOW,1),5)<=1.1 AND crOSS(X_20,X_21);
红钻:X_22;