编写要求:
条件: 1.股价上穿30日均线; 2.MACD旳DEA上穿零轴; 3.成交量是前一日的1.5倍; 4.30日内上下振幅在20%内;
www.gszx.com.cn网解答:
XG:CROSS(C,MA(C,30)) AND CROSS(MACD.DEA,0) AND V=1.5*REF(V,1) AND BETWEEN((HHV(H,30)-LLV(L,30))/LLV(L,30)*100,-20,20);