1.=========选股:count((h>ref(c,1)*1.095 and h=c,15)>=1;2.=========zt:=barslast(c/ref(c,1)>1.095 and h=c);选股: llv(l,zt)>=ref(l,zt) and hhv(h,zt)<=ref(h,zt) and zt<=15;3.=========zt:=barslast(c/ref(c,1)>1.095 and h=c);选股: count(h,zt)=1 and c>ref(h,zt);这是作业还是自己用的? 20210311
diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);macd:=2*(diff-dea);sx:=barslast(cross(dea,diff))+1;jx:=barslast(cross(diff,dea))+1;t1:=if(jx=1 and diff>ref(diff,ref(jx,1)+1),1,0);t2:=if(jx=1 and...
1、{副图}m10:=ma(c,10);ls:ref(o>m10 and c>m10,1) and o<ref(o,1) and c<ref(c,1) and v<ref(v,1);2、{主图}stickline(((c>=ref(c,1)*1.095)),c,o,2,0),coloryellow;3、{副图}t1:=c>=ref(c,1)*1.095;z...