x1:=finance(7)<=300000000 and dyna**(7)>5;x2:=macd.macd>ref(macd.macd,1) and macd.dif<macd.dea ;x1 and count(x2,3)=3 and macd.dif>=0;快要金叉是个模糊的概念,公式无法准确表达出来,所以只能用白线连续3天向上来表达。
hscol:=100*vol/(finance(7)/100),volstick;aa:=every(hscol>3,3);bb:=every(v>ref(v,1),3);a1:=ma(c,30)>ref(ma(c,30),1)and ma(c,10)>ref(ma(c,10),1)and ma(c,5)>ref(ma(c,5),1);xg:aa=1 and bb=1...
你这个要求,要求得有点不明确,obv 3天内创前期新高,这个“前期”是多少天你没说,这里暂定为30天吧。这里3天内我理解成:今天、昨天或前天obv开始创30天以来的新高。jg:=obv=hhv(obv,30);zg:=count(jg,2)=2;qg:=count(jg,3)=3;qzjg:=jg or zg or qg;jx:=ma(c,60)>ma(c,120);zx:=ref(ma(c...
a1:=ref(hhv(h,120),10);a3:=(c-ref(c,1))/ref(c,1)*100;a4:=ma(c,5);a5:=ref(hhv(h,10),1);h>a1 and ref(h,1)<a1 and h>a5 and ref(h,1)<a5 and o>ref(c,1) and a3<4 and count(c>a4,3)=3;