{金龙XG}
VAR3:=CLOSE/MA(CLOSE,40)*100<78;
VAR4:=CLOSE/MA(CLOSE,60)*100<74;
VAR5:=HIGH>LOW*1.051;
VAR6:=VAR5 AND COUNT(VAR5,5)>1;
VAR7:=IF(VAR6 AND (VAR3 OR VAR4),2,0);
VAR8:=CLOSE/REF(CLOSE,25)<=1.1;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)*100<15;
VAR10:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
VAR11:=SMA(VAR10,2,1);
VAR13:=IF(VAR11>REF(VAR11,1) AND REF(VAR11,1)<REF(VAR11,2) AND VAR11<23,1.5,0);
VAR15:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)<(-0.07);
VAR18:=MA(CLOSE,27);
VAR19:=(CLOSE-VAR18)/VAR18*100;
VAR20:=MA(VAR19,2);
VAR21:=BARSLAST(CROSS((-10),VAR20)=1);
VAR22:=VAR20<(-10) AND VAR21>3;
VAR23:=ABS(IF(VAR22,VAR20,0));
VAR24:=VAR23>0;
VAR25:=MA(CLOSE,80)-MA(CLOSE,13)/3;
VAR26:=MA((CLOSE-VAR25)/VAR25,1);
VAR27:=EMA(VAR26,12)*0.5;
VAR28:=EMA(VAR26,3);
VAR29:=ABS(IF(LLV(VAR28-VAR27,12)>0,0,1));
VAR30:=CLOSE/(EMA(EMA((CLOSE+LOW+HIGH)/3,3),26)*0.9)<0.95;
VAR31:=MA((CLOSE-MA(CLOSE,21))/MA(CLOSE,21),3)*100;
VAR32:=VAR31<(-15);
VAR33:=(CLOSE-MA(CLOSE,28))/MA(CLOSE,28)*100<(-23);
VAR34:=VAR8 AND VAR7 AND VAR9 AND VAR13;
VAR35:=VAR32>0 AND VAR30>0 AND VAR29>0 AND VAR24>0 AND VAR15>0 AND VAR33>0 AND CLOSE>REF(CLOSE,1);
金龙:=VAR35 AND VAR34;
XC:(COUNT(金龙=1,T))=1;