mh:=close#month;ml:=close#month;ab1:=ema(c,14);ab1x:=(ab1-ref(ab1,1))/ref(ab1,1)*100;a1:=(mh-c)/c*100>20 and barscount(close)>20 and ab1x<0;xg:ab1x>=0 and ref(a1,1)>0;记得采纳一下。
修改好的立桩量:=vol=hhv(vol,40) and vol>1.9*ref(vol,1);立桩量三日突破:=if(barslast(立桩量)=1 and close>ref(high,1),1,if(barslast(立桩量)=2 and close>ref(high,2),1,if(barslast(立桩量)=3 and close>ref(high,3),1,0)...