这个好解决。假如你选择的条件是 5 10 30 60 90 120 250我们可以把这些看做: a b c d e f g a:=ma(c,250);a1:=if(a=draw**,1,0);b:=ma(c,120);b1:=if(b=draw**,1,0);条件:(a 并且 b 并且 c 并且 d 并且 e 并且 f 并且 g ) 或者 (a 并且 b 并且 c 并且 d 并且 e 并且 f 并且(g 或者 a1>0))或者 (a 并且 b 并且 c 并且 d 并且 e 并且 (f 或者 b1>0) 并且(g 或者 a1>0));明白了吗? 逐级增加附加条件。 20210311
aa:cross(ma(close,5),ma(close,20));//表示5日均线与20日均线交金**b:cross(ma(close,10),ma(close,20));//表示10日均线与20日均线交金叉选股:aa and bb;或者直接选股:cross(ma(close,5),ma(close,20)) and cross(ma(close,10),ma(close,20));
连续出现三颗小星星(有上下影线)已经是极品票了,数量本身就很少,你再加条件写公式,写不好就一个票也选不出的。只能这样了,写了个连续出现三个小星,且收盘价在25日线上的指标。票不多,出来后只有手工挑选了。aa1:=abs(c-o)<0.02 and h>max(c,o) and l<min(c,o);xg:count(every(aa1,3),4)=1 and c>ma(c,...