N:=10;
N1:=6;
紫线金袋1:=100-(100*(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))),COLORFF00FF;
紫线金袋2:=100-(100*(HHV(H,N1)-C)/(HHV(H,N1)-LLV(LOW,N1))),COLOR545454;
金龙突破1:=crOSS(紫线金袋1,90);
金龙突破2:=REF(CROSS(紫线金袋2,90),1);
金龙突破3:=REF(CROSS(紫线金袋1,90),1);
金龙突破4:=CROSS(紫线金袋2,89);
AA:=C>MA(C,60);
筹码突破捉妖XS:=NOT(CODELIKE('4'));
筹码突破捉妖KC:=NOT(CODELIKE('688'));
筹码突破捉妖ST:=IF(NAMELIKE('S'),0,1);
筹码突破捉妖XX:=IF(NAMELIKE('*'),0,1);
筹码突破捉妖BJ:=NOT(CODELIKE('8'));
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
XG1:=MACD>0;
LTP:=CAPITAL;
LL:=FINANCE(40)/100000000>=100;
LL1:=FINANCE(40)/100000000<=350;
金龙突破D:=筹码突破捉妖XS AND 筹码突破捉妖ST AND 筹码突破捉妖KC AND 筹码突破捉妖XX AND 筹码突破捉妖BJ;
紫线金袋:=IF(CROSS(紫线金袋1,90) AND CROSS(紫线金袋2,90),1,0) OR IF((金龙突破1 AND 金龙突破2),1,0) OR IF((金龙突破3 AND 金龙突破4),1,0);
XG:(CROSS(紫线金袋1,90) AND CROSS(紫线金袋2,90) OR 金龙突破1 AND 金龙突破2 AND AA ) OR CROSS(紫线金袋1,90) AND CROSS(紫线金袋2,90) OR 金龙突破3 AND 金龙突破4 AND AA AND XG1 AND 金龙突破D AND LL AND LL1 AND C< 50;