VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
交时1:=FROMOPEN<240;
交时2:=交时1<=0;
交时3:=1;
定时1:=IF(DATE>20151230,交时2,交时3);
庄家:IF( 定时1 AND VAR3,VAR3,DRAWNULL),LINETHICK1,COLORWHITE;
散户:IF( 定时1 AND VAR4,VAR4,DRAWNULL),,LINETHICK1,COLORGREEN;
DRAWICON(庄家>REF(庄家,1) AND REF(庄家,1)DRAWICON(庄家REF(庄家,2) AND 庄家>88 ,庄家,2);
DRAWBAND(庄家,RGB(0,255,0),散户,RGB(255,0,255));
VAR6:=CROSS(VAR3,VAR4) AND VAR3<35;
VAR7:=CROSS(VAR3,VAR4) AND VAR3<35;
ZT:=REF(FILTER(VAR6,10)=1,1);
BH:=BARSLAST(ZT)+1;
BHV1:=VAR3>REF(VAR3,BH);
VAR20:=COUNT(VAR4>50,10)<1;
VAR108:=COUNT((CLOSE>REF(CLOSE,1)*1.097),89)>0;
STICKLINE(FILTER(VAR6,10)=1 AND 定时1 AND BHV1 AND VAR20 ,13,30,8,0),COLORYELLOW;
DRAWTEXT( FILTER(VAR6,10)=1 AND 定时1 AND BHV1 AND VAR20 ,40,'抄底'),LINETHICK3,COLORYELLOW;