rsv:=(close-llv(low,18))/(hhv(high,18)-llv(low,18))*100;k:=ema(rsv,3);d:=ema(k,3);j:=(3*k-2*d);kdj1:=ref(count(j(j,1),5)>=3,1)and ref(j,1);kdj2:=j>ref(j,1);xg:filter(kdj1 and kdj2,3);
你的公式源码不全,前面的t1是什么不知道,这样改下看可以用不。jia:=stickline((t3 and count(t3,30)=1) or (t4 and count(t4,30)=1) or (t8 and count(t8,30)=1), 0,-220,5,0);底顶aa:=filter(jia,15);(t1 and count(t1,30)=1) and 底顶aa;
ma1:ma(close,5);ma2:ma(close,10);ma3:ma(close,20);ma4:ma(close,60);x:=barslast(v/ref(v,1)>2);aa:stickline(x>=0 and x,ref(c,x),ref(c,x),4,0)coloryellow,linethick2;