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...
s0:=c>3 and c<10 and c>ref(c,1) and c<ref(c,1)*1.023;s1:=if(codelike('300'),0,1); {通达信去掉创业板}s2:=if(namelike('s'),0,1); {通达信去掉*、s、st}s3:=if(namelike('*'),0,1);tp:=dy...
阳线:=barslast((ref(c,1)/ref(c,2)>1.07 and ref(c,1)>ref(ma(c,20),1)))<10;回调:=barslastcount(ref(v,1)<ref(v,2) and ma(c,5)>ma(c,20) and ma(c,10)>ma(c,20) and ref(c,1)>ref(ma(c,20),1))...