{满足条件: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;
a:=cross(macd.dif,macd.dea);a and macd.dif>=macd.dea+0.01 and range(macd.dif,-0.3,0.3) 周dif:="macd.dif#week"(12,26,9);周dea:="macd.dea#week"(12,26,9);周dea>0 and cross(周dif,周dea);