dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);xg:dea>ref(dea,1);(信号太多了)dea转头向上的选股:dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);xg:ref(dea,1)<ref(dea,2) and dea>ref(dea,1);
diff:=ema(close,12)-ema(close,27);dea:=ema(diff,9);macd:=2*(diff-dea);低位金叉:=cross(diff,dea) and diff<-0.1;jccount:=count(cross(diff,dea),barslast(dea>=0));二次金叉:=cross(diff,dea) and dea<0 and ...
神仙大趋势h1:=ema(close,6),colorwhite; h2:=ema(神仙大趋势h1,18),colorgreen; h3:=ema(close,108),coloryellow;cross(神仙大趋势h1,max(h2,h3)) or (神仙大趋势h1>max(h2,h3) and ref(c,1)<ref(c,2) and c>ref(max(c,o),1));