第一个公式:要求upper,lower,ene指标线均向上,收盘价下破lower线n:=25;m1:=6;m2:=6;upper:=(1+m1/100)*ma(close,n);lower:=(1-m2/100)*ma(close,n);ene:=(upper+lower)/2;x1:=upper>=ref(upper,1) and lower>=ref(lower,1) and en...
var1f:=((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100);var21:=sma(var1f,3,1);趋势:=sma(var21,3,1);人气:=sma(趋势,3,1);出击:if(cross(趋势,人气) and (趋势<30),20,0);{已经测试通过,满意请给采纳}