{双阴线埋伏阳线副图指标,无未来函数}
DCZ:= REF((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>7,2) AND REF(OPEN>CLOSE AND (OPEN-CLOSE)/CLOSE<0.05,1) AND OPEN>CLOSE AND (OPEN-CLOSE)/CLOSE<0.05;
DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:= EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
DCZ1:=DIFF>0 AND DIFF>DEA AND DIFF>REF(DIFF,1) AND DEA>REF(DEA,1);
多头排列:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,120)>REF(MA(CLOSE,120),1) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
双阴埋伏:DCZ AND DCZ1 AND 多头排列;
阳线到:REF(双阴埋伏,1) AND C>O ;
STICKLINE(阳线到,0,0.6,1,0),COLORYELLOW;
STICKLINE(双阴埋伏,0,0.4,1,0),COLORRED;