boll:=MA(CLOSE,20);
UPPER:=(BOLL+2*STD(CLOSE,20));
站上上轨:=REF(C<UPPER,1) AND C>UPPER*0.98;
M5:=MA(C,5);
M10:=MA(C,10);
M20:=MA(C,20);
M60:=MA(C,60);
M120:=MA(C,120);
AA:=C>MAX(M5,MAX(M10,MAX(M20,MAX(M60,M120))));
BB:=obv>=HHV(OBV,60);
埋伏上轨捉妖1:=AA AND BB AND 站上上轨;
埋伏上轨捉妖2:=REF(埋伏上轨捉妖1,1)=0 AND 埋伏上轨捉妖1;
埋伏捉妖:埋伏上轨捉妖2;