XV:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL);{虚拟成交量}
HS:=XV/CAPITAL*100;{换手}
TJ1:=REF(O,1)<=REF(L,2) || REF(O,1)>=REF(H,2);{下跳十字星线或上跳十字星线}
TJ2:=ABS(REF(C,1)-REF(O,1))/(REF(H,1)-REF(L,1))<3/10;{K线实体%比小于3/10}
TJ3:=XV/REF(VOL,1)>1.5;{单日量比>1.5}
TJ4:=HS>3;{换手>3}
TJ5:=C>REF(H,1);{十字星线反转或向上确认}
XG:TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5;