主图
DRAWGBK(C>0, RGB(40,120,10),RGB(500,00,00),0,0,1);
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
操盘线EMA7:EMA(CLOSE,7);
工作线MA30:MA(CLOSE,34);
HHSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
HHSJDB:=(20*HHSJDA+19*REF(HHSJDA,1)+18*REF(HHSJDA,2)+17*REF(HHSJDA,3)+16*REF(HHSJDA,4)+15*REF(HHSJDA,5)+14*REF(HHSJDA,6)
+13*REF(HHSJDA,7)+12*REF(HHSJDA,8)+11*REF(HHSJDA,9)+10*REF(HHSJDA,10)+9*REF(HHSJDA,11)+8*REF(HHSJDA,12)
+7*REF(HHSJDA,13)+6*REF(HHSJDA,14)+5*REF(HHSJDA,15)+4*REF(HHSJDA,16)+3*REF(HHSJDA,17)+2*REF(HHSJDA,18)+
REF(HHSJDA,20))/210;
HHSJDC:=MA(HHSJDB,5);
AA:=C>HHSJDC;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
中线:=EMA(X,13);
KKA:=EMA(C,5);
KKB:=EMA(KKA,8);
KKC:=EMA(KKB,13);
长线1:=EMA(KKC,50);
KAAA3:=REF(C,1)<REF(中线,1) AND C>中线;
KBBB3:=C/REF(C,1)>1+0.01*9.00;
KCCC3:=中线/长线1<1+0.01*20.00;
牛牛牛:=KAAA3 AND KBBB3 AND KCCC3;
JJ:=(OPEN+HIGH+LOW+CLOSE)/4;
AAA:=IF(BETWEEN(C,JJ,H) OR C=O,VOL,0);
BB:=IF(BETWEEN(C,JJ,L),VOL,0);
CC:=IF(AAA AND BB,0,VOL/3);
DDX:=10*(AAA-(BB+CC))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL);
AA1:=MA(C,5);
BB1:=MA(C,10);
CC1:=MA(C,20);
DD1:=MA(C,30);
EE1:=CROSS(C,AA1) AND CROSS(C,BB1) AND CROSS(C,CC1) AND CROSS(C,DD1);
FF1:=CROSS(C,AA1) AND CROSS(C,BB1) AND L<CC1 AND L<DD1;
XG:=REF(C,1)<REF(O,1) AND REF(C,1)<REF(C,2) AND REF(C,1)<工作线MA30 AND (C>工作线MA30 OR CROSS(C,工作线MA30)) AND C>REF(C,1) AND C>O AND (REF(C,1)/REF(C,2)-1)*100>-9.7 AND AA AND (C/REF(C,1)-1)*100>=2 AND KAAA3 AND KCCC3 AND REF(H,1)>=REF(操盘线EMA7,1) AND (EE1 OR FF1) AND DDX>0;
STICKLINE(XG,O,C,3.5,0),COLOR2F2F4F;
STICKLINE(XG,O,C,2,0),COLORRED;
STICKLINE(XG,L,H,0,0),COLORRED;
DRAWTEXT(XG,L*0.99,’黑马大妖’), COLORWHITE;
黑马大妖MACD副图
DRAWGBK(OPEN>CLOSE,RGB(48,41,124),RGB(0,0,0),0,1,0);
{日周月趋势}
月DIF:=(EMA(CLOSE,12*4*4)-EMA(CLOSE,26*4*4));
月DEA:=EMA(月DIF,9*4*4);
月MACD:=2*(月DIF-月DEA);
周DIF:=(EMA(CLOSE,12*4)-EMA(CLOSE,26*4));
周DEA:=EMA(周DIF,9*4),COLORWHITE,DOTLINE;
周MACD:=2*(周DIF-周DEA);
日DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
日DEA:=EMA(日DIF,9);
日MACD:=2*(日DIF-日DEA),COLORWHITE;
{MACD年线共振色带}
STICKLINE(月MACD>REF(月MACD,1),REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),0,5,0),COLOR660088;
STICKLINE(月MACD<REF(月MACD,1),REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),0,5,0),COLOR003300;
DRAWBAND(EMA(周MACD,10),RGB(0,0,180), 周MACD,RGB(255,255,0));
{MACD柱}
STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,1,0),COLORYELLOW;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1,0),COLORLIBLUE;
STICKLINE(MACD<0,0,MACD,1,0),COLORGREEN;
{MACD年线加强柱}
STICKLINE(MACD>=REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),MACD,2,0),COLORAA00CC;
股价趋势:MACD,COLORAACCEE,LINETHICK2;
行情启动:REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),COLOR0000EE,LINETHICK2;
{成妖}
DIF4:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA4:=EMA(DIF4,9);
ZTB:=C>INTPART(REF(C,1)*(1+10/100)/0.01+0.5)*0.01-0.006 AND C=H;
启动版:=DIF4>-0.2 AND DIF4<0.35 AND ZTB AND REF(ZTB,1)<1 AND COUNT(EMA(CLOSE,12)-EMA(CLOSE,26)>=-0.01,5)=5;
DRAWTEXT(启动版,REF(MACD/2,BARSLAST(MACD=HHV(MACD,250)))*1.185,’–妖来了’),COLOREE9900;
DRAWTEXT(启动版,REF(MACD/2,BARSLAST(MACD=HHV(MACD,250)))*1.185,’↙’),COLORYELLOW;
黑马底部副图
X_1:=EMA(EMA(EMA(CLOSE,9),9),9);
X_2:=(X_1-REF(X_1,1))/REF(X_1,1)*100;
X_3:=MA(X_2,8);
X_4:=CROSS(X_2,X_3);
X_5:=EMA(CLOSE,11)-EMA(CLOSE,24);
X_6:=EMA(X_5,8);{WWW.GPXIAZAI.COM}
X_7:=(X_5-X_6)*2;
X_8:=CROSS(X_5,X_6);
大妖底部:X_4 AND X_8;
主力监测副图
ZLCM:=EMA(WINNER(CLOSE)*70,3);
{//主力筹码估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
{//小筹码估算}
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
{//小股民套牢筹码比率}
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
{//主力控盘筹码比}
ZCMZL:=MA(ZLCM+SHCM,13);
{//市场筹码总量}
ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);
{//走牛天数}
ZSHJJ:=EMA(ZSHTL,89);
{//小股民警戒}
ZZLJJ:=EMA(ZZLKP,89);
{//主力警戒}
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);
{//资金流入强度}
BB:=MA(C,1);
持币阶段:=SMA(SMA(SMA(BB,2,1),2,1),2,1);
主升持股波段:=HHV(MA(持币阶段,1),13);
SH8:=EMA(ZSHTL,8);
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
{【参数定义】}
RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
K1:=SMA(RSV,10,1);
D1:=SMA(K1,5,1);
KK:=INTPART(K1);
DD:=INTPART(D1);
TFXXS:=KK+DD;{//变异KD风险系数}
TGLD:=MOD(TFXXS,10);
{//踏浪涨停概率点}
TGLXS:=(TFXXS-REF(TFXXS,1))*10;
{//变异KD乖离系数}
TYCFX:=TFXXS+TGLXS;
{//变异KD预测风险}
乖离系数:=TGLXS,NODRAW,COLORRED;
价量:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),NODRAW;
主力活跃力度:=(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25),NODRAW;
快线:=(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25),NODRAW;
牛股出现预警:=WINNER(C/1.10)*100,COLOR00FFFF,NODRAW;
主力赢利25持仓:=WINNER(C/1.25)*100,COLORFF00FF,NODRAW;
主力筹码:=EMA(WINNER(CLOSE)*70,3);
散户筹码:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
散户套牢筹码:=散户筹码/(主力筹码+散户筹码)*100;
主升浪波段:=主力筹码/(主力筹码+散户筹码)*100,COLORFF6100,NODRAW;
主力主导行情:=EMA(主升浪波段,55),NODRAW,COLORFF00FF;
金叉疯牛:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);
界:=MA(CLOSE,27);
M:=60;
N:=30;
SHX:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)) COLORGRAY;
庄家主力线:=50-SMA(SMA(SMA(SHX,2,1),2,1),2,1)/2,COLOR00FFFF,LINETHICK2;
散户持股线:=50-HHV(MA(庄家主力线,1),13)/2,COLORFF00FF,LINETHICK4;
ER:=V/FINANCE(7)*100;
A0:=TMA(ER,(1-ER),1);
MAXCYC:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));
T1:=BARSLAST(C>MAXCYC*POW(1.1,0.9));
T2:=BARSLAST(C<MAXCYC*POW(1.1,-0.9));
T3:=CROSS(T1,T2) OR CROSS(T2,T1) OR BARSSINCE(T1+1)=0 OR BARSSINCE(T2+1)=0 OR BARSCOUNT(C)=0;
T4:=REF(MAXCYC,BARSLAST(T3));
VAR11:=3*SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,5,1)
-2*SMA(SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,180,1),15,1);
超级主升:=EMA(VAR11,5);
主升1:=超级主升-100;
D8:=EMA(C,5);
D2:=(EMA(C,1)+EMA(C,5)+EMA(C,10)+EMA(C,15)+EMA(C,20)+EMA(C,25)+EMA(C,30)+EMA(C,35)+EMA(C,40)+EMA(C,45)+
EMA(C,50)+EMA(C,55)+EMA(C,60)+EMA(C,65)+EMA(C,70)+EMA(C,75)+EMA(C,80)+EMA(C,85)+EMA(C,90)+EMA(C,95)+
EMA(C,100)+EMA(C,105)+EMA(C,110)+EMA(C,115)+EMA(C,120)+EMA(C,125)+EMA(C,130)+EMA(C,135)+EMA(C,140)+EMA(C,150))/30;
DDE:=(D8/D2)*100;
主升2:=DDE-110;
A:=(H+L+2*C)/4;
A1:=(A-REF(A,3))/3+A;
MA5:=EMA(A1,7);
J:=EMA(HHV(A1,20),60),LINETHICK3;
CB5:=EMA(COST(80),30),CIRCLEDOT;
HMX:=EMA(1.4*EMA(FORCAST(A1,20),40),20),LINETHICK2;
金牛线:=(J+CB5+HMX)/3,LINETHICK2;
MA20:=MA(C,20);
UP:=EMA(EMA(C*1.38,50),50),DOTLINE,COLOR0000FF;
白色:=SMA(HIGH,21,2)*1.05;
黄色:=SMA(LOW,21,2)*0.95;
中线:=(白色+黄色)/2;
UP1:=中线+2*STD(中线,20);
UP2:=REF(UP1,0);
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(A1,20))/MA(A1,20);
DT:=DMA(CLOSE,CC);
通道3:=(1+9/100)*DT;
通道4:=(1-7/100)*DT;
界限:=(REF((金牛线+UP+EMA(UP1*1.04,40)+通道3)/4,10)+MA(C,20)*1.04)/2;
AHC1:=H*VOL;
AHC24:=EMA((EXPMA(AHC1,180)/EXPMA(VOL,180)+EXPMA(AHC1,360)/EXPMA(VOL,360)+EXPMA(AHC1,720)/EXPMA(VOL,720)+EXPMA(AHC1,1440)/EXPMA(VOL,1440))/4,34);
C上X:=1.06*AHC24;
C下X:=AHC24*0.94;
AHC22:=EMA((EXPMA(AHC1,27)/EXPMA(VOL,27)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);
上X:=1.06*AHC22;
下X:=AHC22*0.94;
AHC23:=EMA((EXPMA(AHC1,5)/EXPMA(VOL,5)+EXPMA(AHC1,10)/EXPMA(VOL,10)+EXPMA(AHC1,20)/EXPMA(VOL,20)+EXPMA(AHC1,40)/EXPMA(VOL,40))/4,34);
D上X:=1.06*AHC23;
D下X:=AHC23*0.94;
T:=(C上X+D上X+上X)/3*1.05;
主升3:=(MA5*2/(界限+T)-1)*100;
CBX80:=MA(COST(80),20);
主升4:=(MA5/CBX80-1)*100;
FT:=((HHV(H,42)-LLV(L,42)))/2+LLV(L,42);
FT1:=ABS(HHV(H,40)-LLV(L,40)-LLV(L,40))+FT*0.5;
主升5:=(FT/FT1-1)*100;
P:=EMA(EMA(C*1.14,55),20);
主升6:=(MA5/P-1)*100;
金K线:=(EMA(HHV(H,60),60)+EMA(FT,453)*1.62)/2;
HZ:=HHV((H+L)/2,120);
AA:=(2*C+H+L)/4;
VAR2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
VAR3:=EMA(CLOSE,3);
VAR4:=(2*CLOSE+LOW+HIGH)/4;
VAR5:=VAR2-VAR3;
VAR6:=CLOSE*VOL;
VAR7:=EMA((EMA(VAR6,3)/EMA(VOL,3)+EMA(VAR6,6)/EMA(VOL,6)+EMA(VAR6,12)/EMA(VOL,12)+EMA(VAR6,24)/EMA(VOL,24))/4,13);
VAR8:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
VAR9:=(CLOSE+OPEN)/2;
超牛分界线:=EMA(VAR8*1.15,15),COLORRED,LINETHICK0;
主升7:=(MA5/金K线-1)*100;
超牛拉升:=(主升1+主升2+主升3+主升4+主升5+主升6+主升7)/2,LINETHICK2;
持股时段:=IF((金叉疯牛>界)AND(散户筹码<主力筹码)AND((主力活跃力度>50)OR(主力活跃力度>REF(主力活跃力度,1))),-40,0),COLORRED,NODRAW;
横盘:=BARSLASTCOUNT(100*(HHV(H,14)-LLV(L,14))/LLV(L,14)<15 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1))>=5 AND BARSLASTCOUNT(100*(HHV(H,14)-LLV(L,14))/LLV(L,14)<15 AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1))<=30;
主力最大盈利:=LN(C/T4)/LN(1.1)*10,NODRAW,COLORFF0080;
VAR88:=AMOUNT/VOL/100;
WWW70822COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR78:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
狂飙主升:=EMA((CLOSE-REF(CLOSE,21))/REF(CLOSE,21)*100,4)*2,COLOR1E90FF,NODRAW;
疯牛强势分界线:=IF(C>200,C,DMA(VAR78,VOL/CAPITAL))*1.1,COLOR00FFFF,LINETHICK0;
疯牛压力平台:=HHV((H+L)/2,120),COLORFF0080,LINETHICK3;
主线:=EMA(EMA(C,1),5);
本:=EMA(HHV(主线,5),1);
急:=EMA(HHV(本,21),1);
稳:=EMA(HHV(急,21),2);
投:=EMA(HHV(稳,21),3);
散:=EMA(HHV(投,21),4);
集:=EMA(HHV(散,21),5);
日线:=CLOSE;
疯牛马线:=EMA(HHV(集,21),6),COLOR00FF00,LINETHICK3;
SMA2:=MA(持币阶段,3);
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,21);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*100,COLORRED,LINETHICK2;
筹码进:=IF(V4>=0,V4,0),COLORRED,LINETHICK2;
双线合一关注:=主升持股波段,COLOR4169E1,LINETHICK4;
超牛高:=H=HHV(超牛拉升,10);
日振幅:=(H-L)/REF(C,1)*100;
振幅15:=HHV(日振幅,15);
涨幅1:=(REF(C,1)-REF(C,2))/REF(C,2)*100;
涨幅2:=(REF(C,2)-REF(C,3))/REF(C,3)*100;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
涨幅20:=(REF(C,1)-REF(C,21))/REF(C,21)*100;
涨幅50:=(REF(C,1)-REF(C,50))/REF(C,50)*100;
涨幅10:=(REF(C,1)-REF(C,11))/REF(C,11)*100;
振幅5:=HHV(CLOSE,5)/LLV(CLOSE,5);
振幅:=(C-O)/O*100;
跌幅:=(REF(C,1)-C)/REF(C,1)*100;
大阳线:=(C-O)/O*100>5;
低开大阳线:=(REF(C,1)-O)/O*100>2.5;
连阳1:=COUNT(O>REF(C,1),3)=3;
跳空1:=COUNT(O>REF(H,1) AND L>REF(H,1),10);
跳空2:=COUNT(O>REF(C,1) AND L>REF(C,1),10) AND L<O;
跳空3:=COUNT(O>REF(C,1) AND (O-REF(C,1))/REF(C,1)*100>0.1 AND C>REF(H,1),10);
{快马加鞭}
快马加鞭:=FILTER((涨幅>5)AND(涨幅1>5)AND(超牛拉升>=REF(超牛拉升,1)AND(C>疯牛马线)AND(涨幅10<40)AND(超牛拉升>=REF(超牛拉升,1))),3);
VAR80:=3*SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,5,1)-2*SMA(SMA((C-LLV(L,180))/(HHV(H,180)-LLV(L,180))*100,180,1),15,1);
超级疯牛潜力股:=EMA(VAR80,5),COLOR6600FF,LINETHICK2;
筹码集中度:=COST(10)/(COST(80)-COST(10));
筹码1:=EMA(筹码集中度,1)*10,LINETHICK2;
筹码3:=EMA(筹码集中度,3)*10,LINETHICK2;
筹码7:=EMA(筹码集中度,7)*10,LINETHICK1;
筹码21:=EMA(筹码集中度,21)*10,LINETHICK1;
筹码34:=EMA(筹码集中度,34)*10,LINETHICK1;
筹码55:=EMA(筹码集中度,55)*10,LINETHICK1;
筹码90:=EMA(筹码集中度,89)*10,LINETHICK1;
N1:=9;N2:=5;
MTM:=C-REF(C,1);
主力轨迹:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORYELLOW;
散户轨迹:=100-MA(主力轨迹,N2),COLORFFFF00;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
主力进场:=IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
做多吸筹:=IF(筹码1>筹码90,(筹码1-筹码90)*100,0),COLORRED,LINESTICK;
{底仓吸筹}
底仓高效吸筹:IF(筹码1>筹码90 AND MA(C,34)>REF(MA(C,34),1) AND 超级疯牛潜力股>REF(超级疯牛潜力股,1),做多吸筹,0),COLORFF6100,NODRAW;
STICKLINE(筹码55>REF(筹码55,1)AND (MA(C,34)>REF(MA(C,34),1))AND 超级疯牛潜力股>REF(超级疯牛潜力股,1),0,做多吸筹*0.015,1,0),COLOR33CCEE;
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
主力抬轿:IF(VAR51<REF(VAR51,1)AND(跌幅<3),筹码进,0),COLORRED,NODRAW;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2,0 ),COLORGREEN;
浮筹1:=IF(((C<O)AND(C>疯牛马线)AND(涨幅20<50)AND(主力抬轿>0)AND(主力进场>REF(主力进场,1))),0,VAR51),COLORFFFF00,NODRAW;
浮筹2:=IF(((C>REF(C,1))AND(C>疯牛马线)AND(涨幅20<50)AND(主力抬轿<=0)AND(主力进场>REF(主力进场,1))),0,VAR51),COLORFFCC00,NODRAW;
连续下跌:=COUNT(REF(C,2)>REF(C,1),4)>=2;
连续缩量:=COUNT(V<=REF(V,1),4)>=2;
VAR1D:=EMA(CLOSE,2)-EMA(CLOSE,89);
VAR1E:=EMA(VAR1D,30);
VAR1F:=2*(VAR1D-VAR1E)*10;
VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2);
VAR25:=IF(YEAR<2008 AND VAR1F>0.015,VAR20,0)/45;
VAR26:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR27:=EMA(VAR26,100);
VAR28:=2*(VAR26-VAR27);
VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1);
AB:=IF( VAR28>0.1 AND 持币阶段=双线合一关注 AND 涨幅>0,VAR29,0)*3;
主力抢筹力度:AB,VOLSTICK,COLORFF0080;
{超强洗筹}
洗筹1:=IF((REF(涨幅>5,1)AND(REF(涨幅1,1))AND(振幅<2)AND((涨幅<2)AND(跌幅<2)AND(涨幅20<28)AND(主升持股波段=持币阶段))),18,0),COLORYELLOW,NODRAW;
洗筹2:=IF((REF(涨幅>2,1)AND(涨幅<2)AND(跌幅<2)AND(主升持股波段>REF(主升持股波段,1))),18,0),COLORYELLOW,NODRAW;
{底仓吸筹阶段}
底仓吸筹阶段:=(TFXXS>80 AND 超牛拉升>REF(超牛拉升,1) AND TFXXS>REF(TFXXS,1)AND(C<疯牛马线)AND MA(CLOSE,34)>REF(MA(CLOSE,34),1));
STICKLINE(TFXXS>80 AND 超牛拉升>REF(超牛拉升,1) AND TFXXS>REF(TFXXS,1)AND(C<疯牛马线)AND MA(CLOSE,34)>REF(MA(CLOSE,34),1),0,-128,2,0),COLORFF0080;
{主力抢筹阶段}
主力抢筹阶段:IF(TFXXS>80 AND 超牛拉升>REF(超牛拉升,1)AND(C>疯牛马线)AND(主力抬轿>0)AND MA(CLOSE,34)>REF(MA(CLOSE,34),1),-158,0),COLORFF00FF,NODRAW;
STICKLINE(TFXXS>80 AND 超牛拉升>REF(超牛拉升,1)AND(C>疯牛马线)AND(主力抬轿>0)AND MA(CLOSE,34)>REF(MA(CLOSE,34),1),0,-158,2,0),COLORFF00FF;
{主力洗筹}
{加速见顶阶段}
加速见顶阶段:IF((筹码进<REF(筹码进,1))AND(主升持股波段>REF(主升持股波段,1))AND(狂飙主升>REF(狂飙主升,1))AND(C>疯牛马线)AND(涨幅20>40)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),-158,0),COLORYELLOW,NODRAW;
STICKLINE((筹码进<REF(筹码进,1))AND(主升持股波段>REF(主升持股波段,1))AND(狂飙主升>REF(狂飙主升,1))AND(C>疯牛马线)AND(涨幅20>40)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),0,-158,2,0),COLORYELLOW;
{筹码松动警惕出货阶段}
筹码松动:IF((筹码进<REF(筹码进,1))AND(涨幅10>40)AND(超牛拉升>REF(超牛拉升,1))AND(主力抬轿<=0)AND(C>疯牛马线)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),-158,0),COLORBLUE,NODRAW;
STICKLINE((筹码进<REF(筹码进,1))AND(涨幅10>40)AND(超牛拉升>REF(超牛拉升,1))AND(主力抬轿<=0)AND(C>疯牛马线)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),0,-158,2,0),COLORBLUE;
出:=IF((VAR51>REF(VAR51,1))OR((涨幅10>50)AND(跌幅>4)AND(O>=REF(C,1))AND(C>疯牛马线)),-筹码进+超牛拉升,0);
出货:IF((底仓高效吸筹=0)AND(底仓吸筹阶段=0),出,0),COLORGREEN,NODRAW;
STICKLINE((VAR51>REF(VAR51,1))OR((涨幅10>50)AND(跌幅>4)AND(O>=REF(C,1))AND(C>疯牛马线)),0,出货,2,0 ),COLORGREEN;
最后清仓:IF((筹码进<REF(筹码进,1))AND(主升持股波段>REF(主升持股波段,1))AND(狂飙主升<REF(狂飙主升,1))AND(C>疯牛马线)AND(涨幅20>40)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),-158,0),COLORGREEN,NODRAW;
STICKLINE((筹码进<REF(筹码进,1))AND(主升持股波段>REF(主升持股波段,1))AND(狂飙主升<REF(狂飙主升,1))AND(C>疯牛马线)AND(涨幅20>40)AND(MA(CLOSE,34)>REF(MA(CLOSE,34),1)),0,-158,2,0),COLORGREEN;
XA_1:=(C-REF(C,1))*100/REF(C,1)>2;
XA_2:=5;
XA_3:=3;
XA_4:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
XA_5:=IF(YEAR>=2025,0,1);
XA_6:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);
XA_7:=EMA(CLOSE/XA_6*(1.88*CLOSE+LOW+OPEN)/2.75,3);
XA_8:=(XA_7-XA_6)/XA_6/2;
XA_9:=EMA(XA_7-XA_8*XA_7,5)*XA_5;
XA_10:=EMA(CLOSE,34)-3*STD(CLOSE,34);
主升浪:=IF(XA_4>XA_9,XA_4,XA_9)*XA_5,COLORGREEN,LINETHICK3;
狂飙主升浪:=IF(主升浪>REF(主升浪,1),主升浪,主升浪),COLORRED,LINETHICK3;
下轨:=IF(XA_9<XA_4 AND XA_9<CLOSE*0.15,EMA(CLOSE,34)-3*STD(CLOSE,34),XA_9),COLORFF0080,LINETHICK3;
角度:=ATAN((狂飙主升浪/REF(狂飙主升浪,1)-1)*100)*180/3.1416;
角度选股:=BARSLASTCOUNT(狂飙主升浪>下轨)=1,NODRAW,COLORRED;
超牛警戒线:100,LINETHICK2,COLOR800800;
{全仓出击:=IF(VAR29>REF(VAR29,1)*1.5,8,0),COLORRED,LINETHICK2;}
超牛全仓出击:=IF(主力抢筹力度>100,8,0),COLORRED,LINETHICK2;
STICKLINE(超牛全仓出击,0,主力抢筹力度,2,0),COLORRED,LINETHICK3;
STICKLINE(超牛全仓出击,主力抢筹力度/3,主力抢筹力度/3*2,2,0),COLORFF0080,LINETHICK3;
STICKLINE(超牛全仓出击,主力抢筹力度/3*2,主力抢筹力度,2,0),COLORYELLOW,LINETHICK3;
STICKLINE(VAR51<REF(VAR51,1)AND(跌幅<3),0,筹码进,2,0),COLORRED;
全仓出击:FILTER((超牛全仓出击>5)AND(狂飙主升浪>下轨),25),COLORRED,LINETHICK2;
DRAWTEXT(全仓出击>0.6 AND 狂飙主升浪>下轨 AND 主升持股波段>REF(主升持股波段,1),主力抢筹力度*1.28,’全仓出击’),COLORYELLOW;{全仓出击}
DRAWICON(全仓出击>0.6 AND 狂飙主升浪>下轨 AND 主升持股波段>REF(主升持股波段,1),主力抢筹力度*1.25,25);
STICKLINE(TGLXS>0 AND 80+TGLXS<TYCFX AND MA(C,34)>REF(MA(C,34),1) AND 80+REF(TGLXS,1)>=REF(TYCFX,1),0,(80+ABS(TGLXS))*1.6,1,0),COLORFFFF00;
DRAWTEXT(TGLXS>0 AND 80+TGLXS<TYCFX AND MA(CLOSE,34)>REF(MA(CLOSE,34),1) AND 80+REF(TGLXS,1)>=REF(TYCFX,1),(100+ABS(TGLXS))*1.6,’主资流入’),COLORRED;
双过百:=IF(主力抢筹力度>=100 AND 主力抬轿>=100 AND C>超牛分界线 AND 持股时段<-18,1,0);
双过百次数:=COUNT(双过百,BARSSINCE(双过百)+1);
DRAWNUMBER(双过百,主力抢筹力度*1.035,SUM(双过百,15)),COLORLIBLUE;
黑马大妖副图
DRAWGBK(C>0, RGB(40,120,10),RGB(500,00,00),0,0,1);
操盘线EMA7:=EMA(CLOSE,7);
工作线MA30:=MA(CLOSE,34);
HHSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
HHSJDB:=(20*HHSJDA+19*REF(HHSJDA,1)+18*REF(HHSJDA,2)+17*REF(HHSJDA,3)+16*REF(HHSJDA,4)+15*REF(HHSJDA,5)+14*REF(HHSJDA,6)
+13*REF(HHSJDA,7)+12*REF(HHSJDA,8)+11*REF(HHSJDA,9)+10*REF(HHSJDA,10)+9*REF(HHSJDA,11)+8*REF(HHSJDA,12)
+7*REF(HHSJDA,13)+6*REF(HHSJDA,14)+5*REF(HHSJDA,15)+4*REF(HHSJDA,16)+3*REF(HHSJDA,17)+2*REF(HHSJDA,18)+
REF(HHSJDA,20))/210;
HHSJDC:=MA(HHSJDB,5);
AA:=C>HHSJDC;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
中线:=EMA(X,13);
KKA:=EMA(C,5);
KKB:=EMA(KKA,8);
KKC:=EMA(KKB,13);
长线1:=EMA(KKC,50);
KAAA3:=REF(C,1)<REF(中线,1) AND C>中线;
KBBB3:=C/REF(C,1)>1+0.01*9.00;
KCCC3:=中线/长线1<1+0.01*20.00;
牛牛牛:=KAAA3 AND KBBB3 AND KCCC3;
JJ:=(OPEN+HIGH+LOW+CLOSE)/4;
AAA:=IF(BETWEEN(C,JJ,H) OR C=O,VOL,0);
BB:=IF(BETWEEN(C,JJ,L),VOL,0);
CC:=IF(AAA AND BB,0,VOL/3);
DDX:=10*(AAA-(BB+CC))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL);
AA1:=MA(C,5);
BB1:=MA(C,10);
CC1:=MA(C,20);
DD1:=MA(C,30);
EE1:=CROSS(C,AA1) AND CROSS(C,BB1) AND CROSS(C,CC1) AND CROSS(C,DD1);
FF1:=CROSS(C,AA1) AND CROSS(C,BB1) AND L<CC1 AND L<DD1;
XG:REF(C,1)<REF(O,1) AND REF(C,1)<REF(C,2) AND REF(C,1)<工作线MA30 AND (C>工作线MA30 OR CROSS(C,工作线MA30)) AND C>REF(C,1) AND C>O AND (REF(C,1)/REF(C,2)-1)*100>-9.7 AND AA AND (C/REF(C,1)-1)*100>=2 AND KAAA3 AND KCCC3 AND REF(H,1)>=REF(操盘线EMA7,1) AND (EE1 OR FF1) AND DDX>0;
STICKLINE(XG,30,15,22,0),COLOR999966;
STICKLINE(XG,31,30,21,0),COLOR999966;
STICKLINE(XG,32,31,20,0),COLOR999966;
STICKLINE(XG,33,32,19,0),COLOR999966;
STICKLINE(XG,34,33,18,0),COLOR999966;
STICKLINE(XG,35,34,17,0),COLOR999966;
STICKLINE(XG,36,35,16,0),COLOR999966;
STICKLINE(XG,37,36,15,0),COLOR999966;
STICKLINE(XG,5,0,1,0),COLORRED;
STICKLINE(XG,10,5,2.5,0),COLORRED;
STICKLINE(XG,15,10,5,0),COLORRED;
STICKLINE(XG,15,10,2.5,0),COLORYELLOW;
STICKLINE(XG,20,15,10,0),COLORRED;
STICKLINE(XG,20,15,5,0),COLORYELLOW;
STICKLINE(XG,80,20,15,0),COLORWHITE;
STICKLINE(XG,100,95,1,0),COLORWHITE;
STICKLINE(XG,95,90,2.5,0),COLORWHITE;
STICKLINE(XG,90,85,5,0),COLORWHITE;
STICKLINE(XG,85,80,10,0),COLORWHITE;
STICKLINE(XG,80,79,15,0),COLORRED;
STICKLINE(XG,60,58,15,0),COLORBLUE;
STICKLINE(XG,40,38,15,0),COLORBLUE;
STICKLINE(XG,74,66,7.5,0),COLORRED;
STICKLINE(XG,54,46,7.5,0),COLORRED;
STICKLINE(XG,20,19,15,0),COLOR999966;
黑马大妖选股
操盘线EMA7:=EMA(CLOSE,7);
工作线MA30:=MA(CLOSE,34);
HHSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
HHSJDB:=(20*HHSJDA+19*REF(HHSJDA,1)+18*REF(HHSJDA,2)+17*REF(HHSJDA,3)+16*REF(HHSJDA,4)+15*REF(HHSJDA,5)+14*REF(HHSJDA,6)
+13*REF(HHSJDA,7)+12*REF(HHSJDA,8)+11*REF(HHSJDA,9)+10*REF(HHSJDA,10)+9*REF(HHSJDA,11)+8*REF(HHSJDA,12)
+7*REF(HHSJDA,13)+6*REF(HHSJDA,14)+5*REF(HHSJDA,15)+4*REF(HHSJDA,16)+3*REF(HHSJDA,17)+2*REF(HHSJDA,18)+
REF(HHSJDA,20))/210;
HHSJDC:=MA(HHSJDB,5);
AA:=C>HHSJDC;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
中线:=EMA(X,13);
KKA:=EMA(C,5);
KKB:=EMA(KKA,8);
KKC:=EMA(KKB,13);
长线1:=EMA(KKC,50);
KAAA3:=REF(C,1)<REF(中线,1) AND C>中线;
KBBB3:=C/REF(C,1)>1+0.01*9.00;
KCCC3:=中线/长线1<1+0.01*20.00;
牛牛牛:=KAAA3 AND KBBB3 AND KCCC3;
JJ:=(OPEN+HIGH+LOW+CLOSE)/4;
AAA:=IF(BETWEEN(C,JJ,H) OR C=O,VOL,0);
BB:=IF(BETWEEN(C,JJ,L),VOL,0);
CC:=IF(AAA AND BB,0,VOL/3);
DDX:=10*(AAA-(BB+CC))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL);
AA1:=MA(C,5);
BB1:=MA(C,10);
CC1:=MA(C,20);
DD1:=MA(C,30);
EE1:=CROSS(C,AA1) AND CROSS(C,BB1) AND CROSS(C,CC1) AND CROSS(C,DD1);
FF1:=CROSS(C,AA1) AND CROSS(C,BB1) AND L<CC1 AND L<DD1;
XG:REF(C,1)<REF(O,1) AND REF(C,1)<REF(C,2) AND REF(C,1)<工作线MA30 AND (C>工作线MA30 OR CROSS(C,工作线MA30)) AND C>REF(C,1) AND C>O AND (REF(C,1)/REF(C,2)-1)*100>-9.7 AND AA AND (C/REF(C,1)-1)*100>=2 AND KAAA3 AND KCCC3 AND REF(H,1)>=REF(操盘线EMA7,1) AND (EE1 OR FF1) AND DDX>0;
{大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}