七天线:=ma(c,7);工作线:=(ema(c,17));生命线:=(ma(c,25));不惑线:=(ma(c,43));姊妹线:=(ema(c,50));九号线:=(ma(c,99));卖线:=ema(slope(c,21)*21+c,42);l1:=ref(every(生命线>卖线,60),1)and cross(卖线,生命线);d1:=barslast(l1);l2:d1>14 and every(c>生命线,d1)and l<卖线 and l>生命线; 20210311
{30日线由下跌阶段走平并翘头向上,在股价缩量回调至30日线附近,再次放量上涨的选股公式-没有具体量化,公式很难写!按照自己的理解写了一个,但条件太苛刻,实战意义不大} xg:ref(count(c(c,1),5)=5 and between(c,ma(c,30)*0.98,ma(c,30)*1.08),3)and cross(count(ma(c,30)(ma(c,30),1),20...
aa:=ma(c,5)>ref(ma(c,5),1) and ma(c,10)>ref(ma(c,10),1) and ma(c,30)>ref(ma(c,30),1) and ma(c,60)>ref(ma(c,60),1);bb:=ma(c,5)>ma(c,10) and ma(c,10)>ma(c,30) and ma(c,30)>ma(c,60);...