警示:=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(卧龙柱);
卧龙湾:=HHV(C,距今)<REF((C+O)/2,距今) AND 距今<15 ;
假阳:=REF(C<=O,1) AND H<REF(O,1) AND C<(REF(O-C,1))/3+REF(C,1) AND AMOUNT/V/100<REF(C,1) AND C>O;
黄金阳:=REF(DT OR DT1,1) AND 假阳;
阳距:=BARSLAST(黄金阳);
黄金坑:=HHV(C,阳距)<REF((C+O)/2,阳距+1) AND 阳距<15 ;
卧龙潜:=黄金坑 OR 卧龙湾,COLORWHITE;
ADA:=(HIGH+LOW+CLOSE)/3;
下:=-100*(0.015*AVEDEV(ADA,14))+MA(ADA,14);
买入:=crOSS(C,下);
潜龙飞天:EXIST(卧龙潜,10) AND 买入;