警示:=NAMEINCLUDE('S');
W:=IF(NAMELIKE('W') OR NAMELIKE('*W'),0.05,0.1);
DT:=(REF(C,1)/C-1>=W-0.01/REF(C,1) AND L=C AND PERIOD=5) OR C=DTPRICE(REF(C,1),IF(警示,0.05,0.1));
DT1:=REF(C,1)/L-1>=W-0.01/REF(C,1) AND L<C AND PERIOD=5;
连阴:=COUNT((C<REF(C,1) OR L<REF(L,1)),10)>=5;
卧龙柱:=REF(连阴,1) AND (DT OR DT1);
距今:=BArslAST(卧龙柱);
月线:=WMA(C,21);
月角:=ATAN((WMA(C,21)/REF(WMA(C,21),1)-1)*100)*180/3.1416;
卧龙出水:HHV(C,距今)<=REF((C+O)*0.5,距今) AND crOSS(C,月线) AND 月角>-20 AND 距今<30;