条件:k线最低<5,10,21日均线,最高价>5日10日21日均线,收盘21线之上,公式如下:low<ma(close,5) and low<ma(close,10) and low<ma(close,21) and high>ma(close,5) and high>ma(close,10) and high>ma(close,21) and cl...
你是要编写选股公式吧?是可以编写的,但是不表达的不是特别的清楚,大概是这样的dif:=ema(close,short)-ema(close,long);dea:=ema(dif,mid);ref(dif,3)>ref(dea,3) and ref(dif,4)<ref(dea,4) and ref(dif,2)>ref(dea,2) and ref(dif,1)>ref(d...