VAR1:=(CLOSE*2+HIGH+LOW)/4;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
SHZJX:=(-2)*(VAR2-VAR3)*3.8;
ZLZJX:=2*(VAR2-VAR3)*3.8;
STICKLINE(ZLZJX>0,0,ZLZJX*10,3.2,4),COLORRED;
STICKLINE(ZLZJX<0,0,ZLZJX*10,3.2,4),COLORGREEN;
VAR4:=EMA(EMA(CLOSE,9),9);
控盤:=(VAR1-REF(VAR4,1))/REF(VAR4,1)*30;
A10:=CROSS(控盤,0);
無莊控盤:IF(控盤<0,控盤,0),COLORYELLOW,NODRAW;
開始控盤:IF(A10,15,0),LINETHICK3,COLORMAGENTA;
有莊控盤:IF(控盤>REF(控盤,1) AND 控盤>0,控盤,0),COLORRED,NODRAW;
VAR5:=100*WINNER(CLOSE*0.95);
高度控盤:IF(VAR5>50 AND COST(80)<CLOSE AND 控盤>0,控盤,0),COLORFF00FF,NODRAW;
散戶資金線:SHZJX,COLORGREEN;
主力資金線:ZLZJX,COLORYELLOW,LINETHICK2;
XA:=CROSS(主力資金線,散戶資金線),COLORMAGENTA;
建倉(cāng):IF(XA,4,0),LINETHICK1,COLORMAGENTA;
飛龍?jiān)谔?=EMA(COST(80),13);
啟動(dòng):主力資金線>REF(主力資金線,1) AND 主力資金線>-1.3 AND C/REF(C,1)>1.05 AND C>飛龍?jiān)谔?AND 高度控盤>1,COLORRED;
主力出貨:IF(控盤<REF(控盤,1) AND 控盤>0,控盤,0),COLORCYAN,NODRAW;
清倉(cāng):CROSS(散戶資金線,主力資金線),COLORGREEN;
STICKLINE(控盤<0,控盤,0,2.8,0),COLOR00AAFF;
STICKLINE(控盤<0,控盤,0,1.5,0),COLOR00CCFF;
STICKLINE(控盤<0,控盤,0,0.5,0),COLOR00FFFF;
STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,2.8,0),COLOR000055;
STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,2,0),COLOR000088;
STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1.5,0),COLOR0000AA;
STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,1,0),COLOR0000CC;
STICKLINE(控盤>REF(控盤,1) AND 控盤>0,控盤,0,0.5,0),COLOR0000EE;
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盤>0,控盤,0,2.8,0),COLOR550055;
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盤>0,控盤,0,2,0),COLOR880088;
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盤>0,控盤,0,1.5,0),COLORAA00AA;
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盤>0,控盤,0,1.0,0),COLORCC00CC;
STICKLINE(VAR5>50 AND COST(80)<CLOSE AND 控盤>0,控盤,0,0.5,0),COLOREE00EE;
STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,2.8,0),COLOR555500;
STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,2,0),COLOR888800;
STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,1.5,0),COLORAAAA00;
STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,1,0),COLORCCCC00;
STICKLINE(控盤<REF(控盤,1) AND 控盤>0,控盤,0,0.5,0),COLOREEEE00;
DRAWTEXT(建倉(cāng),5,'建倉(cāng)'),COLORMAGENTA;
DRAWICON(啟動(dòng) AND NOT(REF(啟動(dòng),1)),ZLZJX*10+5,1);
DRAWTEXT_FIX(1,0,0.05,0,'★開始控盤信號(hào)出現(xiàn)逐步介入'),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.1,0,'★第一天出現(xiàn)高度控盤為啟動(dòng)'),COLORRED;
DRAWTEXT_FIX(1,0,0.15,0,'★收盤前紅柱低于昨日紅柱減倉(cāng)'),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.2,0,'★散戶資金上穿主力資金時(shí)清倉(cāng)'),COLORGREEN;
A2:=(C - REF(C,1)) / REF(C,1) * 100;
A3:=COUNT(A2 > 8,120);
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.2,0,0,A3),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'【關(guān)注級(jí)別大的股票】 '),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.13,0,0,'級(jí): '),COLORYELLOW;
生命CCI線:=CCI(84)/10,COLORRED,LINETHICK2;
DRAWTEXT(CROSS(生命CCI線,0),0,'★主升浪')COLORYELLOW;
DRAWTEXT(CROSS(生命CCI線,25),25,'★警惕')COLORWHITE;
DRAWTEXT(CROSS(生命CCI線,12),12,'★強(qiáng)')COLORYELLOW;
|