请老师编写通达信的 满足5日内同时: 1.)KDJ金叉, 2.)MACD金叉, 3.)5日线上穿10日线, 4.)5日量上穿10日量 四条件的选股公式..
爱约股解答:
AA:=COUNT(CROSS(MA(C,5),MA(C,10)),5);
BB:=COUNT(CROSS(MA(V,5),MA(V,10)),5);
CC:=COUNT(CROSS("KDJ.K","KDJ.D"),5);
DD:=COUNT(CROSS("MACD.DIF","MACD.DEA"),5);
XG:AA AND BB AND CC AND DD;