通达信妖股成长起飞 游资接力 量价共振抓大牛副图源码
通达信金芙蓉VIP副图指标公式源码 _源码_指标
通达信妖股成长起飞 游资接力 量价共振抓大牛副图源码 :
DRAWGBK(OPEN>0,RGB(0,0,0),RGB(33,47,58),0,6,0);
获利30:=10*WINNER(CLOSE*0.9*0.9*0.9),COLORYELLOW,LINETHICK0;
STICKLINE(获利30>=2,0,-获利30/20,8,0),COLORRED;
换手:=V*100/CAPITAL;
主力:=MA(换手,4);
大户:=MA(换手,9);
中户:=MA(换手,17);
散户:=MA(换手,34);
均量:=(主力+大户+中户+散户)/4;
主力能量:=(主力-均量);
操盘:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),0+2.2,主力能量/5+2.2,3,3),COLORRED;
减仓:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),0+2.2,主力能量/5+2.2,3,3),COLORYELLOW;
反弹:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),0+2.2,主力能量/5+2.2,3,0),COLORGREEN;
寻底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),0+2.2,主力能量/5+2.2,3,3),COLORGREEN;
HJ_1:=CLOSE/REF(CLOSE,1)>=1.098;
HJ_22:=COUNT(HJ_1,2)>=1 AND NOT(COUNT(HJ_1,3)>=2);
妖股授精:FILTER(HJ_22,13),COLORDDDDDD;
HJ_23:=COUNT(HJ_1,3)>=2 AND NOT(COUNT(HJ_1,4)>=3);
妖股孕育:FILTER(HJ_23,13),COLORGREEN;
HJ_24:=COUNT(HJ_1,4)>=3 AND NOT(COUNT(HJ_1,5)>=4);
妖股初生:FILTER(HJ_24,11),COLOR9933FF;
妖股长成:COUNT(HJ_1,8)>=6.5,COLORRED;
STICKLINE(妖股授精 AND COUNT(妖股授精,18)=1,0,2,3,0),COLORDDDDDD;
STICKLINE(妖股孕育 AND COUNT(妖股孕育,18)=1,0,2,3,0),COLORGREEN;
STICKLINE(妖股初生 AND COUNT(妖股孕育,18)=1,0,1,3,0),COLOR9933FF;
STICKLINE(妖股长成 AND COUNT(妖股孕育,18)=1,0,1
,3,0),COLORRED;
VARH3:=MA(CLOSE,13);
VARH4:=100-ABS((CLOSE-VARH3)/VARH3*100);
筹码:=MA(WINNER(CLOSE*0.95)*100,1),COLORRED;
VARD:=筹码>VARH4;
DRAWNUMBER(VARD AND VARH4>REF(VARH4,1) AND REF(VARD,1)>0,(VARH4+20-30)/80-1.2,ROUND(VARH4)) COLORCYAN;
DRAWNUMBER(VARD,(VARH4+20-30)/80-1.2,ROUND(VARH4)) COLORCYAN;
STICKLINE(VARD,(VARH4-30)/80-1.2,5/80-1.2,2,0),COLORMAGENTA;
STICKLINE(VARD AND VARH4>REF(VARH4,1) AND REF(VARD,1)>0,(VARH4-30)/80-1.2,5/80-1.2,2,0),COLORGREEN;
DRAWTEXT(VARD AND VARH4>REF(VARH4,1) AND REF(VARD,1)>0,(VARH4+30-30)/80-1.2,'风险'),COLORGREEN;
DRAWTEXT(VARD AND VARH4>REF(VARH4,1) AND REF(VARD,1)>0,(VARH4+60-30)/80-1.2,'注意'),COLORGREEN;
FFD:=EMA((C - REF(C,1)) / REF(C,3),10) * 100;
KJHU:=EMA(EMA(EMA(EMA(FFD,2),2),2),3);
A1:=SMA(MAX(C - REF(C,1),0),24,1) / SMA(ABS(C - REF(C,1)),24,1) * 100;
龙头启动:=(A1 > 65) * (A1 - 65) / 10 + 2,LINETHICK0;
控盘度:=CYW / 100,COLORSTICK,LINETHICK2,COLORRED;
STICKLINE(KJHU >= REF(KJHU,1) AND FFD>2,2.2,2.05,2,0),COLORRED;
STICKLINE(KJHU < REF(KJHU,1) AND KJHU > EMA(KJHU,4) AND FFD>2,2.2,2.05,2,0),COLOR00BBFF;
STICKLINE(KJHU < REF(KJHU,1) AND KJHU < EMA(KJHU,4) AND FFD>2,2.2,2.05,2,0),COLORGREEN;
DRAWTEXT(ISLASTBAR, 2.2,' 机构持仓? ?'),COLORFF00FF;
HJX_1:=MA(LOW+(HIGH-LOW)/2,25)*1.15;
HJX_2:=MA(LOW+(HIGH-LOW)/2,25)*0.95;
HJX_3:=(HJX_1+HJX_2)/2;
HJX_4:=(MA(CLOSE,5)+MA(OPEN,5))/2*1.06;
HJX_5:=(MA(CLOSE,5)+MA(OPEN,5))/2*0.98;
HJX_6:=(HJX_4+HJX_5)/2;
HJX_7:=HJX_4>HJX_2;
HJX_8:=HJX_4>HJX_3;
HJX_9:=HJX_4>HJX_1;
HJX_10:=HJX_6>HJX_2;
HJX_11:=HJX_6>HJX_3;
HJX_12:=HJX_6>HJX_1;
HJX_13:=HJX_5>HJX_2;
HJX_14:=HJX_5>HJX_3;
HJX_15:=HJX_5>HJX_1;
HJX_16:=HJX_7+HJX_8+HJX_9+HJX_10+HJX_11+HJX_12+HJX_13+HJX_14+HJX_15;
DRAWICON(HJX_16>8,-0.15,41);
N:=500;
BJQD:=100*CLOSE/INDEXC;
B:=SUM(BJQD,N)/N;
XDQD1:=BJQD/B;
XDQD:XDQD1/(SUM(XDQD1,60)/60)-0.4,COLORFF33FF,LINETHICK2;
BF1:0.9-0.4,COLORBLUE;
B2:1.0-0.4,COLORFFAA00,LINETHICK2;
B3:1.12-0.4,COLORRED,LINETHICK2;
DRAWICON(CROSS(XDQD,B3),B3,5);
BF:=C>0.97*REF(C,BARSLAST(CROSS(B3,XDQD)+1)) AND (LONGCROSS(XDQD,B3,30));
STICKLINE(BF,BF1,B3,1,0),COLORRED;
STICKLINE(LONGCROSS(B3,XDQD,20),BF1,B3,1,0),COLORYELLOW;
DRAWTEXT(ISLASTBAR, XDQD,' 牛股线'),COLORFF33FF;
DRAWTEXT(ISLASTBAR, B3,' 主升浪'),COLORRED;
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
{柱状线}
AAA1:=(DIF-DEA)*2*60;
必涨天上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),
STICK,COLORRED,LINETHICK1;
必涨天下:=IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;
黑马线:=16,POINTDOT,COLORFFFFFF;
主力X:=AAA1-REF(AAA1,1),COLORRED;
启动:=CROSS(主力X,黑马线);
STICKLINE(REF(启动,1),-1.2,-1.5,3,0),COLORRED;
DRAWTEXT(REF(启动,1),-1.2,' 淘金股'),COLORYELLOW;
趋势:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);
ZZ:=趋势>REF(趋势,1);
KT1:=DVOL/1000000;
KT2:=DCLOSE;
V1:=EMA(KT1,5);
V2:=EMA(KT2,5);
价异动:=KT2>REF(V2,1)*1.06;
量异动:=KT1>REF(V1,1)*1.6&&ZZ;
停牌:=DYNAINFO(17)>0;
M1:=SUM(价异动,2)>0 AND 停牌;
M2:=SUM(量异动,2)>0 AND REF(趋势,1)<89;
量价共振要大涨:
-FILTER(M1&&M2,3)*1,COLORWHITE;
DRAWTEXT( FILTER(M1&&M2,3),-1,' 要大涨'),COLORFF0080;
HJXX_1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
HJXX_2:=EMA(HIGH,30)*1.15;
HJXX_3:=EMA(HIGH,3)*1.03;
游资接力:CROSS(CLOSE,HJXX_3) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1) > 0.04 ;
STICKLINE(游资接力,-1.5,-2,1.5,0),COLORFFFF00;
DRAWTEXT(游资接力,-1.5,' 游资接力'),COLORYELLOW;
VARK6:=((2)*(CLOSE)+HIGH+LOW)/(4);
VARK8:=LLV(LOW,34);
VARK11:=HHV(HIGH,34);
BK1:=EMA(((VARK6-VARK8)/(VARK11-VARK8))*(100),8);
VK1:=MA(C,5)=HHV(MA(C,5),20);
VK2:=MA(C,5)>MA(C,10);
VK3:=MA(V,5)>MA(V,40)*1.01;
VK4:=COUNT(MA(C,1)>REF(C,1),2)=2;
AKK1:=EMA(CLOSE,8);
AKK2:=EMA(AKK1,20);
AKK3:=CROSS(AKK1,AKK2);
AKK4:=AKK1<EMA(CLOSE,120);
STICKLINE((AKK3 AND AKK4)OR(VK1 AND VK2 AND VK3 AND VK4),3,3.1,1,0),COLORYELLOW;
主筹估算:=EMA(WINNER(C)*70,3),LINETHICK2,COLORRED;
主筹估算X:EMA(WINNER(C)*70,3)/100-2.3,LINETHICK2,COLORRED;
散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3),LINETHICK1,COLORGREEN;
筹码锁定:=散筹估算-主筹估算,COLORFFBB00;
UB:=BOLL+2*STD(CLOSE,20),COLORGREEN,LINETHICK2;
BOLL:=MA(CLOSE,20),COLORRED,LINETHICK2;
DRAWICON(CROSS(CLOSE,UB),主筹估算/100-2.3,5);
LB:=BOLL-2*STD(CLOSE,20),COLORGREEN,LINETHICK2;
HJK_1:=CROSS(CLOSE,UB) OR CLOSE>UB;
DRAWICON(HJK_1,主筹估算/100-2.3,5);
浮筹H:=(WINNER(C*1.1)-WINNER(C*0.9))/WINNER(HHV(H,0))*100,COLORYELLOW,LINETHICK2;
RPY:=(C-LLV(C,240))/(HHV(C,240)-LLV(C,240))*100,COLORWHITE,LINETHICK1;
锁仓拉升:=RPY>99 AND 浮筹H<30,COLORRED;
DRAWICON(锁仓拉升,主筹估算/100-2.5,13);
DIFH:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEAH:=EMA(DIFH,9);
MACDH:=(DIFH-DEAH)*2,COLORSTICK;
AAA1H:=(DIFH-DEAH)*2*60;
主力H:=AAA1H-REF(AAA1H,1),COLORRED;
DRAWICON(CROSS(主力H,16),主筹估算/100-2.6,26);
ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算}
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}
STICKLINE(ZZLKP>75,-2,-2.5,2,0),COLORFFFFFF;
Z_J1:=EMA(C,2)-EMA(C,150);
Z_J2:=EMA(Z_J1,100);
Z_J3:=2*(Z_J1-Z_J2);
Z_J4:=POW(Z_J3,3)*0.1+POW(Z_J3,1);
G_J1:=EMA(C,2)-EMA(C,89);
G_J2:=EMA(G_J1,30);
G_J3:=2*(G_J1-G_J2)*9.8;
G_J4:=POW(G_J3,3)*0.1+POW(G_J3,2);
攻击资金:=IF(G_J3>0.015,G_J4,0)/28,LINETHICK2,COLORRED;
STICKLINE(攻击资金>25,-2.5,-3,2,0),COLORRED;
所属地域:DRAWTEXT_FIX(1,0.5,0,0,DYBLOCK),COLORMAGENTA,LINETHICK2;
所属行业:DRAWTEXT_FIX(ISLASTBAR ,0.55,0,0,HYBLOCK),COLORYELLOW;
所属概念:DRAWTEXT_FIX(ISLASTBAR ,0.60,0,0,GNBLOCK),COLORMAGENTA,LINETHICK2;
VARA1:=(DVOL/C)/2,NODRAW;
VARA2:=SUM(IF(VARA1>100 AND CLOSE>REF(CLOSE,1),VARA1,0),0);
VARA3:=SUM(IF(VARA1>100 AND CLOSE<REF(CLOSE,1),VARA1,0),0);
VARA4:=SUM(IF(VARA1<100 AND CLOSE>REF(CLOSE,1),VARA1,0),0);
VARA5:=SUM(IF(VARA1<100 AND CLOSE<REF(CLOSE,1),VARA1,0),0);
VARA6:=VARA2+VARA3+VARA4+VARA5;
机买:=(VARA2/VARA6)*100,LINETHICK2,COLORRED;
机卖:=(VARA3/VARA6)*100,LINETHICK2,COLORGREEN;
主力差:=机买-机卖,LINETHICK2,NODRAW;
强度:=主力差-REF(主力差,1),NODRAW,COLORYELLOW;
STICKLINE(强度>1.5,-3.01,-3.3,2,0),COLORYELLOW;
L2:=MA(AMOUNT/(100*V),13);
CYS13:= (C-L2)/L2*100;
强庄:STICKLINE(CYS13>5,-3.35,-3.6,2,0 ),COLORCYAN;
个股涨幅:(C-REF(C,1))/REF(C,1)*100,COLORRED,NODRAW;
行业涨幅:(HY_INDEXC-REF(HY_INDEXC,1))/REF(HY_INDEXC,1)*100,COLORYELLOW,NODRAW;
大盘涨幅:(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100,COLORCYAN,NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.85,0,STRCAT(STRCAT('【情绪共振】 ',CON2STR(DRAWNULL,0)),' ')),COLORWHITE;
DRAWTEXT_FIX(ISLASTBAR AND 个股涨幅>=行业涨幅,0.8,0.85,1,STRCAT(STRCAT(' 个股强 ',CON2STR(DRAWNULL,0)),' ')),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND 个股涨幅<行业涨幅,0.8,0.85,1,STRCAT(STRCAT(' 个股弱 ',CON2STR(DRAWNULL,0)),' ')),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR AND 大盘涨幅<=行业涨幅,0.85,0.85,1,STRCAT(STRCAT(' 行业强 ',CON2STR(DRAWNULL,0)),' ')),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND 大盘涨幅>行业涨幅,0.85,0.85,1,STRCAT(STRCAT(' 行业弱 ',CON2STR(DRAWNULL,0)),' ')),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR AND REF(大盘涨幅,1)<=大盘涨幅,0.90,0.85,1,STRCAT(STRCAT(' 大盘强 ',CON2STR(DRAWNULL,0)),' ')),COLORRED;
DRAWTEXT_FIX(ISLASTBAR AND REF(大盘涨幅,1)>大盘涨幅,0.90,0.85,1,STRCAT(STRCAT(' 大盘弱 ',CON2STR(DRAWNULL,0)),' ')),COLORCYAN;
通达信_指标_通达信大盘生命指数副图指标公式源码