超凡2号
XA_1:=EMA(EMA(CLOSE,23),23);
XA_2:=(XA_1-REF(XA_1,1))/REF(XA_1,1)*1000;
XA_3:=DYNAINFO(11);
XA_4:=(EMA(CLOSE,10)-EMA(CLOSE,55))*10;
XA_5:=EMA(XA_4,5);
XA_6:=(CLOSE-XA_3)/XA_3<(-0.03);
XA_7:=(CLOSE-XA_3)/XA_3<(-0.03);
XA_8:=LAST(XA_3>=REF(XA_3,1),5,1) AND (CLOSE-XA_3)/XA_3<0.005;
XA_9:=(CLOSE-XA_3)/XA_3>0.005;
XA_10:=XA_2<REF(XA_2,1) AND XA_2>0.5;
XA_11:=XA_2>0;
XA_12:=XA_2>REF(XA_2,1) AND XA_2<(-0.2);
XA_13:=XA_2>REF(XA_2,1) AND XA_2<0;
XA_14:=CROSS(XA_4,XA_5) AND XA_4<(-0.3);
XA_15:=FILTER(XA_6 AND XA_12 AND XA_14,13);
持续:FILTER(XA_7 AND XA_12 AND XA_14,13),STICK;
STICKLINE(持续,30,0,3,0),COLORMAGENTA;
STICKLINE(持续,30,0,0.001,0),COLORYELLOW;
DRAWICON(持续>0,31,26);
超凡1号
XA_1:=(2*CLOSE+HIGH+LOW+OPEN)/5;
XA_2:=EMA(EMA(EMA(XA_1,4),4),4);
XA_3:=(XA_2-REF(XA_2,1))/REF(XA_2,1)*100;
XA_4:=MA(XA_3,3);
XA_5:=MA(XA_3,1);
XA_6:=IF(XA_5>XA_4 OR XA_5>(-0.25),0.2,0);
XA_7:=CROSS(XA_6,0.01);
XA_8:=EMA(CLOSE,2);
XA_9:=EMA(SLOPE(CLOSE,9)*20+CLOSE,37);
信号:CROSS(XA_8,XA_9) AND XA_7,STICK;
STICKLINE(信号,30,0,3,0),COLORYELLOW;
STICKLINE(信号,30,0,0.01,0),COLORLIGREEN;
DRAWICON(信号>0,31,26);