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天向上来表达。
(1):ma(l+(h-l)/2,25)*1.15;道:ma(l+(h-l)/2,25)*0.95;中轨:(上通道+下通道)/2;股价:c;次上通道:(ma(c,5)+ma(o,5))/2*1.06;次下通道:(ma(c,5)+ma(o,5))/2*0.98;强弱线:(次上通道+次下通道)/2;(2)a1:=ref(c,1)/ref(c,2)>1.095;a2:=c>o and l/r...
xg:ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1) and ma(c,5)>ma(c,10) and ma(c,10)>ma(c,20) and ma(c,20)>ma(c,30) ...