MA1:=MA(C,5);MA2:=MA(C,10);
MA3:=MA(C,20);MA4:=MA(C,60);
MA5:=MA(C,120);MA6:=MA(C,250);
潜伏主升:C>MA1 AND C>MA2 AND C>MA3 AND MA1>O AND H/C<1.015 AND MA3>O AND MA3>MA4 AND MA4>MA5 AND MA5>MA6 AND MACD.DIF>REF(MACD.DIF,1) AND V>=HHV(V,10) AND MACD.MACD<0 AND MACD.MACD>REF(MACD.MACD,1);
DRAWTEXT(潜伏主升,(C>MA1 AND C>MA2 AND C>MA3 AND MA1>O AND H/C<1.015 AND MA3>O AND MA3>MA4 AND MA4>MA5 AND MA5>MA6 AND MACD.DIF>REF(MACD.DIF,1) AND V>=HHV(V,10) AND MACD.MACD<0 AND MACD.MACD>REF(MACD.MACD,1))*0.18,'潜伏主升');