diff:=ema(dclose,12)-ema(dclose,26);dea:=ema(diff,9),colorffff00;macd:=(diff-dea)*2;a1:=barslast(ref(cross(diff,dea),1));a2:=barslast(ref(cross(dea,diff),1));底背离:ref(close,a1+1)>close and diff>r...
t1:=c(c,20)*1.1 and c>o;a1:=(h-max(c,o));a2:=h-l;t2:=a1/ref(c,1)*100>=2 and a1*2>=a2;t3:=v>ref(v,1);xg:t1 and t2 and t3;参考资料:http://tieba.baidu.com/f?kw=%b9%c9%c6%b1%b9%ab%ca%bd%d7%a8%bc%d...