公式源码:
XA_1:=MA(LOW,24)*1.09;
XA_2:=MA(LOW,24)*1.19;
XA_3:=COUNT(CROSS(CLOSE,XA_1),2)=1 OR CROSS(CLOSE,XA_2);
XA_4:=REF(COUNT(CLOSE/OPEN<0.963,7)<2 AND CLOSE/OPEN>0.963,1);
XA_5:=EMA(SLOPE(CLOSE,13)*13+CLOSE,13);
XA_6:=HHV(XA_5,26);
XA_7:=EMA(SLOPE(CLOSE,25)*25+CLOSE,25);
XA_8:=HHV(XA_7,55);
XA_9:=EMA(SLOPE(CLOSE,13)*20+CLOSE,55);
XA_10:=HHV(XA_9,60);
XA_11:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
XA_12:=HHV(XA_11,60);
XA_13:=REF(CLOSE<=OPEN AND REF(COUNT(CLOSE<OPEN,6)<2,1) AND COUNT(CLOSE/OPEN<0.963 AND REF(CLOSE>OPEN,1) AND HIGH>=REF(HIGH,1) AND OPEN>=REF(CLOSE,1),7)<1 AND REF(CLOSE/OPEN,1)<REF(CLOSE/OPEN,2) AND CLOSE/MA(CLOSE,5)<1.009 AND HIGH/CLOSE>REF(HIGH/CLOSE,1) AND REF(HIGH,3)>REF(HIGH,4) AND REF(OPEN/REF(CLOSE,1)<1.04,3) AND VOL<REF(VOL,1) AND (REF(CLOSE>=OPEN,1) OR REF(CLOSE<OPEN,1)) AND OPEN>MA(CLOSE,5) AND HIGH/OPEN>1.001 AND CLOSE>LOW,1);
XA_14:=OPEN>MA(CLOSE,60) AND REF(CLOSE>OPEN AND REF(CLOSE,4)>REF(CLOSE,5) AND REF(CLOSE/OPEN,1)>REF(CLOSE/OPEN,2) AND REF(CLOSE/OPEN,2)>REF(CLOSE/OPEN,3) AND REF(MA(CLOSE,5)>MA(CLOSE,20),2),1);
XA_15:=CLOSE>XA_6 AND CLOSE>XA_8 AND CLOSE>XA_10 AND CLOSE>XA_12;
XA_16:=COUNT(CROSS(CLOSE,XA_6),4)>=1 OR CROSS(CLOSE,XA_8);
XA_17:=CROSS(CLOSE,XA_10) AND CROSS(CLOSE,XA_12);
XA_18:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
XA_19:=COUNT(XA_18<35,100)>=2;
XA_20:=MACD.MACD>REF(MACD.MACD,1) AND MACD.MACD>(-0.085) AND REF(MACD.MACD<1.35,3);
XA_21:=CLOSE>REF(HHV(HIGH,13),1);
XA_22:=OPEN/MA(CLOSE,5)<0.9998;
XA_23:=OPEN/MA(CLOSE,10)>0.999 OR OPEN/MA(CLOSE,20)>0.99 OR OPEN/MA(CLOSE,30)>0.99;
XA_24:=CLOSE/REF(CLOSE,1)>=1.041 OR CLOSE/OPEN>1.041;
私募密钥:XA_20 AND XA_21 AND XA_23 AND XA_22 AND XA_24 AND (XA_14 OR XA_13) AND (XA_15 OR XA_16 OR XA_17) AND XA_3 AND XA_4 AND XA_19 AND OPEN<REF(HIGH,1) AND (REF(VOL,1)<REF(VOL,2) OR REF(VOL,1)<REF(VOL,3) OR REF(VOL,3)<REF(VOL,4));