a:=ema(close,9)-ema(close,18);b:=ema(a,7),linethick1;macd:=2*(a-b);机会来临:=ref((ma(c,5)-c)/c>0.04 and (ma(c,10)-ma(c,5))/ma(c,5)>0.04,1);红色箭头:=hhv(macd,4)<0 and macd>ref(macd,1) and ref(macd...
修改后的代码:必买:=if(trou**ars(3,15,1)=0 and high>low+0.01,1,-1);必卖:=if(peakbars(3,15,1)=1,1,2);stickline(ref(必买,1)=1,o,c,3,0),colorred;stickline(ref(必买,1)=1,l,h,0,0),colorred;drawtext(ref(必买,1)=1,l-0.1, ...