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)
妖股种子:FILTER(HJ_22,13),COLORDDDDDD;
HJ_23:=COUNT(HJ_1,3) =2 AND NOT(COUNT(HJ_1,4)
妖股孕育:FILTER(HJ_23,13),COLORGREEN;
HJ_24:=COUNT(HJ_1,4) =3 AND NOT(COUNT(HJ_1,5)
妖股初生: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
停牌:=DYNAINFO(17)
M1:=SUM(价异动,2) 0 AND 停牌;
M2:=SUM(量异动,2) 0 AND REF(趋势,1)
量价共振要大涨:
-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);
源码太长末粘贴完,下载附件.....