趋势线1:=(close-ma(close,40))/ma(close,40)*130;买:((ref(趋势线1,1)<ref(趋势线1,2) and 趋势线1<-30) and 趋势线1>=ref(趋势线1,1))or (ref(cross(-30,趋势线1),1) and cross(趋势线1,-30)) or 趋势线1=-30;
{大智慧已通过,和你要的一模一样}核心k线:v/ref(v,1)>=1.91 and c>ref(c,1) and c>o,linethick0;tt:=v=hhv(v,21);bbl:=核心k线 and tt;bl:=filter(bbl,2);k1:=sumbars(bl,1);stickline(k1,ref(c,k1-1),ref(c,k1-1),8,0),colorye...