100,COLORRED;
80,COLORGREEN;
DRAWTEXT(ISLASTBAR,100,’ 游资控盘线’),COLOR0000CC;
DRAWTEXT(ISLASTBAR,80,’ 量价突破线’),COLOR669900;
DRAWTEXT(ISLASTBAR,0,’ 板块涨跌幅’),COLORC0C0C0;
{计算涨停价}
XM_1:=IF(FINANCE(3)!=1,0.1998,IF(NAMELIKE(‘ST’) OR NAMELIKE(‘*ST’),0.0495,0.0998));
涨停价:=ZTPRICE(REF(C,1),XM_1);
涨停:=C>=涨停价 AND C=H;
炸板:=H>=涨停价 AND C<H;
{擒牛}
RSV:=(C-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K1:=SMA(RSV,3,1);
D1:=SMA(K1,3,1);
KK:=INTPART(K1);
DD:=INTPART(D1);
TFXXS:=KK+DD;
擒牛:=(TFXXS-REF(TFXXS,1));
ZLCM:=EMA(WINNER(C)*70,3);
SHCM:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
起飞KP:=ZLCM/(ZLCM+SHCM)*100;
ZSHJJ:=EMA(ZSHTL,55);
起飞JJ:=EMA(起飞KP,55);
黄金坑:=IF(起飞KP<=10,起飞KP,起飞KP),COLORMAGENTA,NODRAW;
STICKLINE(C>0,ZSHTL,起飞KP,2,0),COLOR808080;
STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLORC0C0C0;
STICKLINE(起飞KP>REF(起飞KP,1) AND 起飞KP>20,起飞KP,20,2.5,0 ),COLORAA00BB;
STICKLINE(起飞JJ>REF(起飞JJ,1),起飞KP,起飞JJ,2.5,0 ),COLOR00AAFF;
STICKLINE(起飞KP>起飞JJ AND 起飞JJ<50 AND 起飞KP>50 AND 起飞JJ>REF(起飞JJ,1),起飞KP,50,2.5,0 ),COLOR0000AA;
{游资控盘}
N:=35;
M:=35;
N1:=3;
游资控盘1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100- M;
游资控盘2:=SMA(游资控盘1,N,1)+100;
游资控盘3:=(C-LLV(L,N))/(HHV(H,N)- LLV(L,N))*100;
游资控盘4:=SMA(游资控盘3,3,1);
游资控盘5:=SMA(游资控盘4,3,1)+100;
游资控盘6:=游资控盘5-游资控盘2;
游资控盘:(IF(游资控盘6>N1,游资控盘6-N1,0))*2.5,COLORYELLOW,LINETHICK2;
控盘度:=100,COLORRED;
游资抢筹:=CROSS(游资控盘,控盘度);
STICKLINE(CROSS(游资控盘,控盘度),80,100,2,0),COLOR006699;
控盘主升:游资控盘>100 AND 游资控盘>REF(游资控盘,1),COLORRED,NODRAW;
DRAWICON(CROSS(游资控盘,控盘度),游资控盘,10);
{DRAWICON(CROSS(游资控盘,控盘度),游资控盘*0.8,10);}
STICKLINE(游资控盘>100,100,游资控盘,0.0,0),COLORRED;
STICKLINE(游资控盘>100 AND 控盘主升=0,100,游资控盘,0.0,0),COLORFF66FF;
DRAWTEXT(游资抢筹,85,’↖等起风’),COLORC0C0C0;
游资:=REF(H,BARSLAST(CONST(BARSLAST(游资抢筹))+1=CURRBARSCOUNT)),COLOR006699,DOTLINE;
主升浪:=CROSS(C,游资) OR (REF(游资抢筹,1) AND L>REF(H,1));
STICKLINE(主升浪,80,100,0,0),COLOR0066CC;
DRAWTEXT(主升浪,90,’ ↖起风’),COLOR0066CC;
DRAWICON(主升浪,游资控盘,34);
{量价共振}
三倍量:=VOL>=REF(V,1)*3;
换手Z:=V*10000/FINANCE(46);
量能:=换手Z>=5 OR 三倍量;
AA:=C>MA(C,60);
量价:=3*SMA((C-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1) -2*SMA(SMA((C-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1) NODRAW;
量价线:量价,COLORWHITE,LINETHICK1;
主线:=(((量价-LLV(量价,27))/(HHV(量价,27)-LLV(量价,27)))*(4))*(25) ,COLORCYAN,NODRAW;
快线:=(((量价-LLV(量价,9))/(HHV(量价,9)-LLV(量价,9)))*(4))*(25) ,COLOR55AAFF,NODRAW;
DRAWICON(量能 AND CROSS(快线,80) AND AA AND 擒牛>0,量价线,23);
DRAWICON(量能 AND CROSS(量价线,80),80*1.002,9);
{板块涨幅}
X:=1;
板块指数:=HY_INDEXC,COLORC0C0C0;
MA5:=MA(板块指数,5),COLOR545454;
通达信:游资控盘度最新版指标源码
板块突破:=CROSS(板块指数,MA5),NODRAW;
板块涨幅:=(HY_INDEXC-REF(HY_INDEXC,X))/REF(HY_INDEXC,X)*100,COLORRED,NODRAW;
板块涨:=板块涨幅>0;
板块大涨:=板块涨幅>=2;
大盘涨幅:=(INDEXC-REF(INDEXC,X))/REF(INDEXC,X)*100,COLORGREEN,NODRAW;
昨板块:=REF(板块涨幅,1),NODRAW;
今板块:=板块涨幅,NODRAW;
十日涨幅:=(C/REF(C,10)-1)*100,NODRAW,COLORRED;
十日板块涨幅:=(板块指数/REF(板块指数,10)-1)*100,COLOR0033CC;
十日板块累计:COUNT(板块涨,10),NODRAW;
十日板块大涨:COUNT(板块大涨,10),NODRAW;
STICKLINE(板块涨,0,板块涨幅,3,0),COLORLIRED;
STICKLINE(板块涨=0,0,板块涨幅,3,0),COLORBLUE;