var1:=c-ref(c,1);var2:=100*ema(ema(var1,6),6)/ema(ema(abs(var1),6),6);ma5:=ema(c,5);ma13:=ema(c,13);up:=drawline(l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barslast(cross(ma13,ma5))+1),h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,barslast(cross(ma5,ma13))+1),0);down:=drawline(h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,barslast(cross(ma5,ma13))+1),l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barslast(cross(ma13,ma5))+1),0);hr:=hhv(high,55); hry:=llv(low,55);hry11:=hr*hry; hry33:=sqrt(hry11);大牛xg:=ref(down,1)<ref(down,2) and up>ref(down,1) and c<hry33;{个人看法,仅供参考。} 20210311
a1:=barslast(ref(cross("macd.diff","macd.dea"),1));b1:=ref(c,a1+1)>c and ref("macd.diff",a1+1)("macd.diff","macd.dea");macd底背:if(b1>0,10,0);起个名字,保存成条件选股公式就可以了。(如果对您有帮助请采纳答案谢谢)
ddx金交叉与kdj低位金交叉的公式 供大家参考下公式源码 tj1:=cross(ddx.ddx1,ddx.ddx2)or cross(ddx.ddx1,ddx.ddx3);tj2:=ddx.ddx1ddx.ddx2 and ddx.ddx2ddx.ddx3;tj3:=cross(kdj.k(9,3,3),kdj.d(9,3,3))and kdj.d(9,3,3)30;tj4:=tj1 and t...