typ:=(high+low+close)/3;cci:=(typ-ma(typ,14))/(0.015***edev(typ,14));dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;ma13:=ma(c,13);ma34:=ma(c,34);tj1:=cross(c,ma(c,5));tj2:=cross(ma13,ma34);cci>100 and macd>0 and tj1 and tj2; 20210311
{满足条件:macd金叉 或 kdj金叉 或 rsi金叉 任一条件满足时选股 且收盘价在 60均线之上 且 macd值大于0}(cross(macd.dif,macd.dea) or cross(kdj.j,kdj.k) or cross(rsi.rsi1,rsi.rsi3)) and c>ma(c,60) and macd.macd>0;