X_47:=(3*CLOSE+HIGH+LOW+OPEN)/6;
X_48:=(8*X_47+7*REF(X_47,1)+6*REF(X_47,2)+5*REF(X_47,3)+4*REF(X_47,4)+3*REF(X_47,5)+2*REF(X_47,6)+REF(X_47,8))/36;
X_49:=vol=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>X_48 AND CLOSE>REF(CLOSE,1);
X_50:=FILTER(X_49,5);
X_51:=EMA(CLOSE,1);
X_52:=EMA(X_51,3);
X_53:=EMA(HHV(X_52,3),1);
X_54:=EMA(HHV(X_53,13),1);
X_55:=EMA(HHV(X_54,13),2);
主升:=EMA(HHV(X_55,80),2),COLORRED;
X_81:=EMA(CLOSE,5);
X_82:=EMA(EMA(CLOSE,29)*1.01,10);
X_83:=EMA(CLOSE,10);
X_84:=EMA(EMA(CLOSE,60)*0.99,26);
X_85:=EMA((CLOSE+OPEN+HIGH+LOW)/4,1);
X_86:=EMA(X_85,5);
X_87:=EMA(HHV(X_86,5),1);
X_88:=EMA(HHV(X_87,17),1);
X_89:=EMA(HHV(X_88,17),1);
AF快线:=EMA(HHV(X_89,38),3),COLORYELLOW;
X_199:=crOSS(CLOSE,主升) AND CROSS(CLOSE,AF快线);
红钻:X_199>0;