编写要求:
20MA上拐 60MA下行或平行 20MA小于60MA 昨日收盘价大于开盘价 今日收盘价小于开盘价 今日量能小于昨日量能 十日内有过最少一次涨停。
公式在线网解答:
cross(ma(c,20),ref(ma(c,20),1)) and
ma(c,20)<ma(c,20) and
ma(c,60)<=ref(ma(c,60),1) and
ref(c>o,1) and c<o and v<ref(v,1) and
exist(c/ref(c,1)>=1.095 and c=h,10);