N:=10;
N1:=6;
VAR11:=100-(100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))),COLORFF00FF;
VAR12:=100-(100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1))),COLOR545454;
ABC1:=crOSS(VAR11,90);
ABC2:=REF(CROSS(VAR12,90),1);
ABC3:=REF(CROSS(VAR11,90),1);
ABC4:=CROSS(VAR12,89);
AA:=C>MA(C,60);
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
XG1:=MACD>0;
LTP:=CAPITAL;
LL:=FINANCE(40)/100000000>=100;
LL1:=FINANCE(40)/100000000<=350;
ABCD:=QXS AND QST AND QKC AND QXX AND QBJ;
VAR1:=IF(CROSS(VAR11,90) AND CROSS(VAR12,90),1,0) OR IF((ABC1 AND ABC2),1,0) OR IF((ABC3 AND ABC4),1,0);
XG:((CROSS(VAR11,90) AND CROSS(VAR12,90)) OR (ABC1 AND ABC2 AND AA )) OR ABC3 AND ABC4 AND AA;