a:=high<ref(high,1) and ref(high,1)<ref(high,2) and ref(high,2)<ref(high,3);b:=low>ref(low,1) and ref(low,1)>ref(low,2) and ref(low,2)>ref(low,3);drawicon((a and b),10,15);这是源码,通达信的...
diff:=ema(c,12)-ema(c,26);dea:=ema(diff,9);macd:=2*(diff-dea);天数:=barslast(ref(cross(macd,ref(macd,1)) and macd<0,1));xg:cross(macd,ref(macd,1)) and ref(c,1)<ref(c,天数+2) and ref(macd,1)>ref(m...