网友求助:
AA:=COUNT(REF(V,1)<REF(V,2),2)=2;
BB:=COUNT(REF(C,1)<REF(C,2),2)=2;
CC:=V<REF(V,1) AND C>O;
AA AND BB AND CC;
加入的条件是:收阳时股价在10日均线或20日均线或30日均线上。
解答如下:
AA:=COUNT(REF(V,1)<REF(V,2),2)=2;
BB:=COUNT(REF(C,1)<REF(C,2),2)=2;
CC:=V<REF(V,1) AND C>O;
DD:=C>O AND (C>MA(C,10) OR C>MA(C,20) OR C>MA(C,30));
AA AND BB AND CC AND DD;