a:=ref(high,10)=hhv(high,2*10+1); a1:=filter(a,10); a2:=backset(a1,10+1); a3:=filter(a2,10); 前高:=ref(h,barslast(a3));放量:=vol/ref(vol,1)>=2 and count(close>open,1) or low>ref(high,1) and count...
diff=ema(close,12)-ema(close,26);dea=ema(diff,9);t1:=macd>0 and macd-dea>0.03;t2:=diff-dea>1.0;if(26>12) { if(t1=1 and ref(t1,1)=0) buy;if(t2=1 and ref(t2,1)=0) sell;} 没明白这买卖依据,macd指标是均线类指...