伏:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
埋伏:=IF(MA(CLOSE,17)<伏,伏,MA(CLOSE,17)),;
信号线:=埋伏-(EMA(C,3)-埋伏),;
潜:=MA(C,5),;
赢:=(潜> 信号线);
AA1:=埋伏<REF(埋伏,1);
潜伏出击:crOSS(埋伏,信号线);
DRAWTEXT(潜伏出击,2,'←出↗'),COLOR0000FF;
DRAWTEXT(潜伏出击,1.5,'←击↗'),COLOR0000FF;
DRAWTEXT(潜伏出击,1,'←伏↗'),COLOR00FFFF;
DRAWTEXT(潜伏出击,0.5,'←潜↗'),COLOR00FF00;
STICKLINE(潜伏出击,1,2.5,0.2,0),COLOR0000FF;
STICKLINE(潜伏出击,1.5,1,3,0),COLOR00FFFF;
STICKLINE(潜伏出击,0,0.5,6,0),COLOR008000;
DRAWICON(潜伏出击>0,2.5,9);