{看盘专用}ZLCM:=EMA(WINNER(CLOSE)*70,3)NODRAW;SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3)NODRAW;ZSHTL:=SHCM/(ZLCM+SHCM)*100,NODRAW;ZZLKP:=ZLCM/(ZLCM+SHCM)*100,NODRAW;ZSHJJ:=EMA(ZSHTL,55)NODRAW;ZZLJJ:=EMA(ZZLKP,55)NODRAW;黄金坑:=IF(ZZLKP<=10,ZZLKP,ZZLKP),COLORMAGENTA,NODRAW;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,2.5,0),COLOR00AA00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,1.5,0),COLOR00CC00;STICKLINE(ZZLKP>80,ZZLKP,ZZLKP-(ZZLKP-80)/2,0.5,0),COLOR00FF00;STICKLINE(C>0,ZSHTL,ZZLKP,2,0),COLOR808080;STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;STICKLINE(ZZLKP<=10,ZZLKP,0,5,0),COLORDD00DD;{以下抓妖股主图中的庄进和妖股部分}{有庄控盘}VAW1:=EMA(EMA(CLOSE,13),13);控盘:=(VAW1-REF(VAW1,1))/REF(VAW1,1)*1000;无庄控盘:=控盘<0;有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;{分时价格原码}JJ:=DYNAINFO(11);{波段买卖原码}P:=21;S:=8;M1:=3;财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*50;神:=EMA(财,M1);{股价与均线偏离买卖条件}BTJ1:=(C-JJ)/JJ<-0.03;BTJ11:=(C-JJ)/JJ<-0.03;BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005;STJ1:=(C-JJ)/JJ>0.005;{控盘买卖条件}STJ01:=控盘<REF(控盘,1) AND 控盘>0.5;STJ02:=控盘>0;BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2;BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ;{波段买卖条件}BTJ3:=CROSS(财,神) AND 财<-0.3;BTJ32:=CROSS(财,神) AND 财<-0.1;STJ31:=CROSS(神,财);STJ32:=CROSS(神,财) AND 财>1.618;{以下为信号};BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13);BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13);STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13);STJ82:=FILTER(STJ02 AND STJ32 ,13);STJ83:=STJ81 AND STJ82;STICKLINE(STJ83,20,50,2,0),COLOR00FF00;DRAWTEXT(STJ83,30,' 庄出'),COLOR00FF00;庄:= BTJ11 AND BTJ2 AND BTJ3;有庄:=FILTER(庄,30);STICKLINE(有庄,50,80,2,0),COLORRED;DRAWTEXT(有庄,60,' 庄进'),COLORRED;