这两个公式本身没有什么问题 关键是 公式也就是技术指标是要有输出的 就是显示在屏幕上如下:ma1:=ma(close,n1); ma2:=ma(close,n2); ma3:=ma(close,n3); ya:count(cross(ma2,ma1),21)=1 and cross(ma3,ma2) and count(cross(ma3,ma1),21)=1 and barslast(cross(ma2,ma1))>barslast(cross(ma3,ma1)) and barslast(cross(ma3,ma1))>barslast(cross(ma3,ma2)) and ma1<ref(ma1,1); 老鸭头 var1:=ma(close,5); var2:=ma(close,10); var3:=ma(close,60); var4:barslast(cross(var1,var3)); var5:barslast(cross(var2,var3)); 20210311
v1:=close>open and ref(close,1)(open,1)and ref(close,2)>ref(open,2)and close>ref(open,1)and close>ref(close,2);v2:=backset(v1 and ref(v1,2)and c>ref(c,4),5);v3:=backse.
var1:=(2*close+high+low)/4;var2:=ema(ema(ema(var1,4),4),4);j:=(var2-ref(var2,1))/ref(var2,1)*100;d:=ma(j,3);k:=ma(j,1);cross(k,d) and vol>ref(hhv(vol,n),1)*m;参数你加进去就ok