MACD背离+CCI买入信号 = 吻合
MACD背离强求与CCI专家买入信号同步发生,可以延迟2天发生。
源码
短线:=((CLOSE-MA(CLOSE,5))/MA(CLOSE,5))*30,LINETHICK1,COLORYELLOW;
红柱持股:=SMA(短线,3,1)*20,LINETHICK1,COLORRED;
INDEX:=CCI(14);
专家:=CROSS(INDEX,-100),LINETHICK9,COLORRED;
A1X:=BARSLAST(CROSS( MACD.DIF , MACD.DEA ));
B1:=REF(C,A1X+1) C AND REF( MACD.DIF ,A1X+1) MACD.DIF {AND CROSS( MACD.DIF , MACD.DEA )};
底背:=B1 0,LINETHICK6,COLORYELLOW;
选股:(专家 AND (底背 OR REF(底背,1) OR REF(底背,2))) OR (底背 AND (专家 OR REF(专家,1) OR REF(专家,2))) AND C =REF(O,1)*1.02 AND 红柱持股 =REF(红柱持股,1) AND 红柱持股 -6 AND C =REF(C,1)*1.01,LINETHICK3,COLORFF00FF;