{再试试,这个木错了}bbi:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;回踩:=cross(bbi,l) and c>bbi;上穿:=cross(c,bbi);最低:=(bbi-l)/l>0 and (bbi-l)/l<0.01;xg:((回踩 + 上穿)>0)*最低;
修改后的代码:必买:=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, ...
{没有未来}var1:=(close-llv(low,36))/(hhv(high,36)-llv(low,36))*100;var2:=sma(var1,3,1);var3:=sma(var2,3,1);var4:=sma(var3,3,1);k:=var3;d:=var4;v**:=cross(var3,var4) and var3<20;filter(v**,10)=1;