ok了(ref(c>o,5) and ref(c<o,4) and ref(c>o,3) and ref(c<o,2) and ref(c<o,1) and c>o) or(ref(c>o,5) and ref(c<o,4) and ref(c<o,3) and ref(c>o,2) and ref(c<o,1) and c>...
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...