1、有庄控盘主图,金叉原理买进加仓
{有庄控盘}
均线1:=EMA(C,3);
均线2:=EMA(C,5);
均线3:=EMA(C,7);
均线4:=EMA(C,12);
均线5:=EMA(C,20);
均线6:EMA(C,50),COLORBLUE;
年线:=EMA(C,250);
追涨:EMA(C,3);
大行情:(年线-(追涨-年线)),NODRAW;
压力:MA(LLV(C,9)*1.1,14),COLORBROWN;
支撑:MA(HHV(C,26)*0.9,14);
多空:=(压力+支撑)/2;
神马:(压力+支撑)/2,COLORRED;
神牛:MA(LLV(C,9)*1.1,14),COLOR0099FF;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
有庄控盘:=REF(控盘,1) AND 控盘;
SS:=有庄控盘 AND CROSS(均线1,均线2) AND C AND REF(C,1) AND C/REF(C,1)=1.018
OR CROSS(均线1,均线4) AND C AND REF(C,1) AND C/REF(C,1)=1.018
OR CROSS(均线2,均线3) AND C AND REF(C,1) AND C/REF(C,1)=1.018
OR CROSS(均线1,均线3) AND C AND REF(C,1) AND C/REF(C,1)=1.018 AND CROSS(均线1,均线4);
DRAWICON(SS,L-0.04,26);
DRAWTEXT(CROSS(追涨,神马),L*0.99,'↖买进'),COLORYELLOW;
DRAWTEXT(CROSS(神牛,大行情),L*0.98,'↖加仓'),COLORF00FF0;
2、筹码辨顶底
{筹码辨顶底}
{相对底顶提示源码}
DIFF:=EMA(CLOSE,6) - EMA(CLOSE,13);
DEA:=EMA(DIFF,4);
MACD:=2*(DIFF-DEA);
X:0;
STICKLINE((MACD > 0),0,MACD,2.8,1),COLOR0000CC;
STICKLINE((MACD < 0),0,MACD,2.8,1),COLORCC0033;
N1:=6;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
全套牢1:=COST(0.01);
全套牢底1:L<全套牢1 AND RSI1<20,COLOR8977FF,NODRAW;
STICKLINE(全套牢底1,0,1.5,2,0),COLOR8977FF;
全套牢买点1:REF(全套牢底1,1)=1 AND 全套牢底1=0,COLORRED,NODRAW;
STICKLINE(全套牢买点1,0,2,2,0),COLORRED;
全套牢2:=COST(0.05);
全套牢底2:L<全套牢2 AND RSI1<25,COLOR00FFFF,NODRAW;
STICKLINE(全套牢底2,0,0.8,2,0),COLOR00FFFF;
全套牢买点2:REF(全套牢底2,1)=1 AND 全套牢底2=0,COLORFF00FF,NODRAW;
STICKLINE(全套牢买点2,0,1.2,2,0),COLORFF00FF;
全解套2:=COST(0.7);
全解套顶2:H>全解套2 AND RSI1>83,COLORFFFFFF,NODRAW;
STICKLINE(全解套顶2,0,1.5,2,0),COLORFFFFFF;
全解套点2:REF(全解套顶2,1)=1 AND 全解套顶2 =0,COLORFFFF00,NODRAW;
STICKLINE(全解套点2,0,2,2,0),COLORFFFF00;
DRAWTEXT(全解套点2,1.8,'危险'),COLOR0066FF;
全解套1:=COST(0.5);
全解套顶1:H>全解套1 AND RSI1>80,COLOR00FF00,NODRAW;
STICKLINE(全解套顶1,0,0.8,2,0),COLOR00FF00;
全解套点1:REF(全解套顶1,1)=1 AND 全解套顶1 =0,COLORFF0000,NODRAW;
STICKLINE(全解套点1,0,1.6,2,0),COLORFF0000;
DRAWTEXT(全解套点1,0.8,'小心'),COLOR0000FF;
DRAWTEXT(全解套顶2,1.4,'警觉'),COLOR0000FF;
DRAWTEXT(全套牢买点1,1.8,'抄底'),COLOR00FFFF;
DRAWTEXT(全套牢买点2,0.8,'准备'),COLOR00FFFF;
{股民学院 整理}
3、主力进场轨迹
{主力进场轨迹}
MTM:=C-REF(C,1);
ZLGJ:100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6),COLORWHITE;
{ZLGJ:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORWHITE;}
MAZL:MA(ZLGJ,4),COLORYELLOW;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
{VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/N2,1);}
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,1 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,1),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,1 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,1 ),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,1),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,1 ),COLOR0000FF;
洗盘:IF(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5VAR2L:=REF(LOW,1);
VAR3L:=SMA(ABS(LOW-VAR2L),3,1)/SMA(MAX(LOW-VAR2L,0),3,1)*110;
VAR4L:=EMA(IF(CLOSE*1.3,VAR3L*10,VAR3L/10),3);
VAR5L:=LLV(LOW,13);
VAR6L:=HHV(VAR4L,13);
VAR7L:=IF(MA(CLOSE,34),1,0);
VAR8L:=EMA(IF(LOW<=VAR5L,(VAR4L+VAR6L*2)/2,0),3)/618*VAR7L;
VAR9LL:=IF(VAR8L>110,110,VAR8L);
STICKLINE(VAR9LLVAR10:=100*(C-COST(10))/COST(10);
VAR6:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;
VAR7:=SMA(VAR6,4,1);
VAR8:=SMA(VAR7,2,1);
VAR9:=VOL/CAPITAL*34;
VAR12:=REF(VAR9,1);
主力建仓: IF(VAR8<8.5 AND VAR7<11,-10,0),COLORF00FF0;
【炒股入门】通达信源码精选:有庄控盘主图,筹码辨顶底,主力进场轨迹
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。