网友求助:
写一个5日均线10日均线金叉同时K线呈多方炮形态的选股公式
解答如下:'
ZF:=(CLOSE/REF(CLOSE,1)-1)*100;
A:=(REF(ZF,2)>=1 and REF(ZF,2)<=3) and (REF(ZF,1)<-1 and REF(ZF,1)>=-3) and ZF>1 and ZF<=3;
多方炮:REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN and A
and cross(MA(CLOSE,5),MA(CLOSE,10));