捉妖爆发线:=65,COLORMAGENTA;
趋势捉妖XS:=NOT(CODELIKE('4'));
趋势捉妖KC:=NOT(CODELIKE('688'));
趋势捉妖ST:=IF(NAMELIKE('S'),0,1);
趋势捉妖XX:=IF(NAMELIKE('*'),0,1);
趋势捉妖BJ:=NOT(CODELIKE('8'));
趋势突破捉妖D:=趋势捉妖XS AND 趋势捉妖ST AND 趋势捉妖KC AND 趋势捉妖XX AND 趋势捉妖BJ;
趋势线:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORWHITE,LINETHICK2;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
DEFG:=MACD>0;
CROSS(趋势线,捉妖爆发线) AND 趋势突破捉妖D AND DEFG;