《王子量柱群指标公式.docx》由会员分享,可在线阅读,更多相关《王子量柱群指标公式.docx(18页珍藏版)》请在优知文库上搜索。
1、黑马王子量柱群指标公式转1.黑马王子黑马王子量柱群指标图VOLUME:VOL,VOLSTICK;降:COUNT(CLoSE>REF(CLOSE,1),2)=2ANDCOUNT(VOL<REF(VOLI),2)=2;STIeKLNE(降。MLO)Cc)LORGREEN;DRAWTEXT(,VOL+3000,1,),COLORGREEN;T:=DYNAINFO(8)>0;VOVOL=LLV(VOL,100)ANDT;地量柱:TANDVO,COLORBLUE;STlCKLNE(地量柱QMLO)COLORBLUE;DRAWTEXT(地量柱,VOL+3000,地),LORBLUE;BL
2、Z:=VoL>REF(V,1)*1.9;BLZl:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VoL,55),1);STIeKLNE(BL乙OMLo),COLORYELLOW;倍量柱:BLZCOLORYELLOW;DRAWTEXT(倍量柱,VOL+3000:倍),COLORYELLOW;HJZ:=(3*C+H+L+O)6;HJZ2:=(8*HJZ+7*REF(HJZ,l)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJ乙4)+3*REF(HJ乙5)+2*REF(HJ乙6)+REF(HJ乙8)/36;HJZ3:=VO
3、L=HHV(VOL,10)ANDVOL>2*REF(VOL,l)ANDCLOSE>HJZ2ANDC>O;黄金柱:FlLTER(HJZ3,5),STICKCOLORRED,LINETHICK4;STICKLNE(黄金柱QMLO)COLORRED;DRAWTEXT(黄金柱,VOL+100OO:黄,),Cc)LoRRED;价涨量缩:降,LORGREEN;FLZ:=V>REF(V,l)*0.98ANDV<REF(V,l)*1.02,LINETHlCKO;STICKLINE(FL乙O,V,1Q),COLORMAGENTA;DRAWTEXT(FLZ,VOL+3000,1平),
4、LORMAGENTA;平量柱:FLZ,COLORMAGENTA;2MX:=EMA(C,2);MXA:=EMA(SLe)PE(C,21)*20+C,42);STlCKLNE(MX>=MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),LOR600020;STICKLINE(MX<MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR404050;DRAWKLINE(HtOlLtC);AA-ABS(2*CLOSE+HIGH+LOW)4-MA(CLO
5、SE,30)MA(CLOSE,30);趋势线MA(2*CLOSE+LOW+HIGH)4,AA),LINETHICK3,COLORRED;CC:二(CLc)SE/趋势线);MAl:=MA(CC*(2*CLOSE+HIGH+LOW)4,3);MAAA:二(MAl-趋势线)/趋势线)/3;TMP:=MA1-MAAA*MA1;JJ:IF(TMP<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;XJ:IF(TMP<二趋势线,TMP,DRAWNULL),LINETHICK2,COLORBROWN;建仓:CROSS(MX,MXA),NODRAW;SEL:=CRC
6、)SS(MXA,MX);DRAWIeoN(建仓,JOLI);DRAWIN(SEL,H+0,1,2);DRAWTEXT(建仓,L-0.68,建仓持股)COLORMAGENTA;DRAWTEXT(SEL,H+0.381/清仓持币,),COLc)RBRoWN;STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),COLORRED;STICKLNE(MX>=MXAeLOSEQPEN31),CoLORRED;STICKLINE(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(MX<MXA,CLOSE,OPEN,3,1),COL
7、ORGREEN;STlCKLNE(建仓QPENCLOSE20),CoLoRYELLOW;STICKLINE(SELtOPEN,CLOSE,2,0),COLORBROWN;CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1;JD:=MA(CLOSE,18),COLORMAGENTA;DRAWICON(CROSS(CP,JD)ANDMX>=MXA,JD-0.1,l);DRAWTEXT(CRoSS(CPjD)ANDMX&gMXAjD-0.38:、力口),COLORYELLOW;BL:=V0L>=REF(V,l)*1.91ANDC>REF(C,l)*1.01;D
8、RAWTEXT(FlLTER(BL,3),H+02,/倍量柱,)COLoRYELLoW;STICKLINE(FILTER(BL,3),OPEN,CL0SEt1,5,0),COLORYELLOW;XG:=SUMBARS(FlLTER(BL,3),1);STicKLINE(XGjREF(LtXG-I)jREF(L1XG-I)1IOjO)lCOLORYELLOWI3 .跟庄机构资金出入和建仓行为的实用副图VARA:=REF(LoW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(Le)W-VARAQ),3,1)*100;VARC:=EMA(IF(CLoSE*1.3,V
9、ARB*10,VARB10),3);VARD:=LLV(LOW,30);VARE:=HHV(VARC,30);VARF:=IF(MA(CLe)SE,58),L0);VARG:=EMA(IF(LoW<=VARD,(VARC+VARE*2)2,0),3)/618*VARF;VARHHF(VARG>28,28,VARG);RSV:=(CLOSE-LLV(L0W,9)/(HHV(HIGH,9)-LLV(L0W,9)*100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);买入时机:If(cross(j,3),65
10、,0),Colorffooff,linethicks;DRAWTEXT(买入时机,70.L跟庄)COLORFFOOFF;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:二HHV(H,5);红线上穿买:EMA(VA-VB)/(VC-VB)*100CoLORRED;红线下穿卖:EMA(红线上穿买,3),CoLORFFFF00;趋势:3*SMA(CLC)SE-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),
11、COLOROOFFFF;秘密买点:IF(趋势&13,20,0),COLoRoOFF00,LlNETHICK3;机构建仓:if(趋势&it;5,4o,o),Colorffffff,linethick3;4.涨停5基因涨停5基因附图公式:1.百日低量群百日地量:二V=LLV(V1100)ANDV>0;倍量:=VOL>=REF(V,l)*1.9ANDC>REF(C,l);地量又倍量:Ce)UNT(百日地量,5)>=lANDUNT(倍量,D>;=i;2.倍量过左峰N:=20;左峰高:二REF(HHV(C,N),1);倍量过左:REF(COUNT(C<左峰高,2)=2,
12、1)ANDC>左峰高ANDC>OANDVOL/REF(VOL,l)>=1.9;3.回踩黄金线1.黄金柱JJ:=(3*C+H+L+O)/6;VARI:=DMA(JJQ.2);VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)4*REF(JJt4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8)/36;TJ1=VOL=HHV(VOL,10)ANDVOL>2*REF(VOL,l)ANDCLOSE>VARlANDC>REFe1);1.JL:=FlLTER(TJL3);黄金线:=REF(LOW,barsl
13、ast(ljl);黄金柱:二FlLTER(TJL3);2.倍量过左峰SRl:二REF(HlGH,10)=HHV(HlGH,2*10+1);SR2:=FlLTER(SRLl0);SR3:二BACKSET(SR2,10+1);HD:=FlLTER(SR3,10);前高:=REF(H,barslast(hd);倍量:=VoL/REF(VOL,l)>尸2ANDCOUNT(CLOSE>OPEN,l)ORLOW>REF(HIGH,1)ANDCOUNT(OPEN>CLOSE,l)ANDVOL/REF(VOL,l)>=2;突破前高:二CR(DSS(C,前高);倍量过左峰:二突破前高
14、AND倍量;3凹口起柱T7:二REF(VOL6)/REF(Ve)L,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>;=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:二REF(VOL2)/REF(VC)L,3)>=L5;Tl:=V/REF(VOL,l)>2;T0:=C>OANDC>REF(C,l);凹口起柱:二T7ANDTlANDTOORT6ANDTlANDTOORT5ANDTlANDTOORT4ANDTlANDTOORT3ANDTlANDTO;
15、凹口起柱AKQZ:=黄金柱AND凹口起柱;4.前上下位X:=21;TTY=H;AAT:=REF(TTY,X)=HHV(TTY,2*X+1);BBT:=FlLTER(AAT,X);CCT=BACKSET(BBT,X+1);HDlOr=FILTER(CCTjX);前期高位:二REF(H,barslast(hdiot);突破前高TPQG:=黄金柱AND倍量过左峰ANDC>前期高位;选股回踩黄金线:(COUNT(TPQGtIO)ORCOUNT(AKQZtIO)ANDCOUNT(CRc)SS(黄金线*1.0LL),3)>0ANDL>=黄金线ANDC>REF(C,1)ANDREF(C,2)>REFCl)ANDUNT(LJL,3)=0;5长阴短柱长阴短柱:C/REF(C,l)<0.95ANDV<HHV(V,30)