XA_40:=Ema(CLOSE,12)-EMA(CLOSE,26);
XA_41:=EMA(XA_40,9);
XA_42:=2*(XA_40-XA_41);
XA_43:=1.25*XA_40-0.25*XA_41;
XA_44:=(XA_43*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;
XA_45:=(XA_40*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;
XA_46:=(XA_41*13*27-27*11*EMA(CLOSE,12)+13*25*EMA(CLOSE,26))/28;
XA_47:=(XA_44+XA_46)/2;
XA_48:=ATAN((XA_45-REF(XA_45,1))/REF(XA_45,1)*100)*180/3.14159;
XA_49:=XA_44;
XA_50:=XA_45;
XA_51:=XA_47;
XA_52:=XA_46;
XA_53:=EMA(XA_49,3);
XA_54:=EMA(XA_49,2);
XA_55:=EMA(XA_52,3);
红三角:crOSS(XA_55,XA_52) AND XA_49>XA_51;