XV:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,VOL);{虚拟成交量}
HS:=XV/CAPITAL*100;{换手}
TJ1:=REF(O,1)<=REF(L,2);{满足条件1}
{www.kanguba.com 看股吧_最新股票指标公式}
TJ2:=ABS(REF(C,1)-REF(O,1))/(REF(H,1)-REF(L,1))<3/10;{十字星线,附加条件}
TJ3:=XV/REF(VOL,1)>1.5;{单日量比>1.5,附加条件}
TJ4:=HS>3;{换手>3,附加条件}
TJ5:=C>REF(H,1);{满足条件2}
XG:TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5;