X_93:=MA(CLOSE,10);
X_94:=MA(CLOSE,54);
X_95:=(CLOSE-X_94)/X_94<0.1;
X_96:=(CLOSE-X_93)/X_93<0.3;
X_97:=(X_95=1 AND X_96=1)*0.2;
X_98:=(X_97=0 AND REF(X_97,1)=0.2 AND REF(COUNT(X_97=0.2,10)=10,1)=1)*1;
红钻:X_98>0;
X_93:=MA(CLOSE,10);
X_94:=MA(CLOSE,54);
X_95:=(CLOSE-X_94)/X_94<0.1;
X_96:=(CLOSE-X_93)/X_93<0.3;
X_97:=(X_95=1 AND X_96=1)*0.2;
X_98:=(X_97=0 AND REF(X_97,1)=0.2 AND REF(COUNT(X_97=0.2,10)=10,1)=1)*1;
红钻:X_98>0;