副图:ma5:=ma(c,5);ma10:=ma(c,10);aa:=c>ma5 and c>ma10;bb:=ma10>ma5;cc:=ma5>ref(ma5,1);dd:=ref(every(ma10<=ref(ma10,1),3),1) and ma10>ref(ma10,1);ee:aa and bb and cc and dd;可以做为选股公式直接选出...
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指标是均线类指...