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...
t1:=c/o>1.07;t2:=o>ref(c,1)and min(c,o)-l>0 and h-max(c,o)>0 and max(c,o)/min(c,o)<1.04 and v>ref(v,1);xg:ref(t1,2)=1 and ref(t2,1)=1 and c(c,5)*1.01 and c>ma(c,5)*0.99;以上公式判断是收盘价...