VAR1:=REF(CLOSE,1); VAR2:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100; VAR3:=SMA(MAX(CLOSE-VAR1,0),12,1)/SMA(ABS(CLOSE-VAR1),12,1)*100; VAR4:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),24,1)*100; VAR5:=50; VAR6:=80; VAR7:=IF(NAMELIKE(1),0,1); VAR8:=IF(NAMELIKE(2),0,1); VAR9:=DYNAINFO(17)>0; VAR10:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,MAX(VOL,DYNAINFO(17)*REF(MA(VOL,5),1)),0); VAR11:=VAR10>=1.5*REF(VOL,1) AND CLOSE>OPEN; VAR12:=VOL/REF(VOL,1)>1.5; XG9:IF(CROSS(VAR2,VAR6) AND VAR11 AND VAR7 AND VAR8 AND VAR9,80,0);