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...