神仙大趋势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));
输出波段选5ri:统计5日中满足ma1上穿ma2andma1>昨日ma1andma2>昨日ma2 =1ma1:ma(close,m1);ma2:ma(close,m2);ma3:ma(close,m3);ma4:ma(close,m4);drawtext(cross(ma1,ma2) and ma1>ref(ma1,1) and ma2>ref(ma2,1),ma2,&...