九毛八公式指标
条件: 1:当MACD的DIF、DEA指标处于O轴以下的时候; 2:如果短期内(26个交易日内)连续发生两次金叉,则发生第二次金叉的时候,可能发生暴涨; 3:买入点在0轴下第一次金叉后又0轴下死叉、死叉后经过9个以内交易日调整MACD的绿柱开始缩短(如下图),MACD绿柱开始缩短时作预警选股!
公式模块:
{黑马抬头}
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); macd:=2*(DIFF-DEA); DD1:=1+Barslast(cross(DIFF,DEA) AND DIFF<0 AND DEA<0); DD2:=1+BarsLast(Cross(DEA,DIFF) AND DIFF<0 AND DEA<0); C1:=DD1<26; C2:=DD2<DD1; C3:=Cross(Count(MacD>Ref(MACD,1) AND MACD<0,DD2),0.8); C1 AND C2 AND C3;