XG:=REF((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>7,2) AND REF(OPEN>CLOSE AND (OPEN-CLOSE)/CLOSE<0.05,1) AND OPEN>CLOSE AND (OPEN-CLOSE)/CLOSE<0.05; DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); macd:=2*(DIFF-DEA); XG1:=DIFF>0 AND DIFF>DEA AND DIFF>REF(DIFF,1) AND DEA>REF(DEA,1); 多頭排列:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,120)>REF(MA(CLOSE,120),1) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1); YJ:=XG AND XG1 AND 多頭排列; YJDRAW:=IF(YJ,1,0); 選股:YJDRAW=1;
|