VOL黑马王子=副图
通达信指标公式源码 黑马王子 副图源码
黑马王子(源码、副图、附图)一切看图,一目了然!黑马王子源码RSV1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;RSV2:=(CLOSE-LLV(LOW,39))/(HHV(HIGH,39)-LLV(LOW,39))*100;短跳:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,28),COLOR00FF00;中跳:SMA(RSV2,6,1)+2*STD(CLOSE,39),COLORRED;RSV3:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;长跳:SMA(RSV3,6,1),COLORYELLOW;探试底:STICKLINE(中跳<17,中跳,17,6,0),COLORF00FF0;黄金坑:STICKLINE(短跳<28 AND 中跳<28 AND 长跳<28,MAX(长跳,MAX(短跳,中跳)),28,3,0),COLOR00CCFF;探顶:STICKLINE(中跳>80,80,中跳,3,0),COLORFFF000;DRAWICON(CROSS(长跳,17),中跳,1);DRAWTEXT(LONGCROSS(中跳,28,17),28,'追涨');DRAWTEXT(CROSS(短跳,长跳)AND 长跳<18 AND 长跳>REF(长跳,1)OR CROSS(长跳,6),28,'跑道起跳');短中长粘合:DRAWTEXT(ABS(中跳-长跳)<2 AND 中跳>REF(中跳,1),中跳,'**'),COLORBLUE;中跳1:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50));底:DRAWTEXT(CROSS(中跳1,-90) AND (长跳<中跳AND 长跳>REF(长跳,1)OR 短跳<28 AND 中跳<28 AND 长跳<28),长跳,'底'),COLORFF00FF;IF(COUNT(CROSS(中跳1,-90),12)=3,40,6);。
黑马王子的量柱擒涨停公式
黑马王子的量柱擒涨停公式Company Document number:WTUT-WT88Y-W8BBGB-BWYTT-19998黑马王子的《量柱擒涨停》开盘1小时的盘口分时图。
观察红波多,绿波少,“蓄势波”给人以悄悄向上的感觉,后势看涨、“犹豫波”给人以犹豫不觉的感觉,不看好后势。
王子语:人人平等,天天进步,事事成功!百日低量处,倍量要涨停;凹口平量柱,确实猛如虎;凹口去淘金,报四三涨停;倍量过左峰,涨停急先锋;判实黄金柱,实盘擒牛股;银谷黄金仓,涨停没商量;二次红波起,必有好戏看;咬住峰顶线,伏击赚大钱;回踩黄金线,腾飞不眨眼;长阴压短柱,攻势猛如虎;顶底若互换,牛股要逛奔;接力黄金线,一步一重天。
MA20:MA(C,20),ColorFF8888;DRAWTEXTABS(5,10,'所属板块:'+BKNAME),ColorAFFF00;DRAWTEXTABS(5,30,'每股收益:'+NUMTOSTRN(FINANCE2(3),3)+'元'+' 市盈率:'+NUMTOSTRN(DYNAINFO(39),2)+'元'+' 市净率:'+NUMTOSTRN((CLOSE / FINANCE2(4)),2)+'元'+' 净资产:'+NUMTOSTRN(FINANCE2(4),2)+'元'),Color00C0FF;三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));三日价涨A:=C>=REF(C,1);三日价涨B:=C<REF(C,1);三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);缩倍柱:=(VOL*<=REF(VOL,1));百日低量:=(VOL=LLV(VOL,100));倍量柱:=C>REF(C,1)* AND (VOL>=*REF(VOL,1));四日前倍量柱:=(REF(VOL,3)>*REF(VOL,4));四日前高量柱:=(REF(VOL,3)>=REF(VOL,4) AND REF(VOL,3)<*REF(VOL,4) AND 三日量缩);前三引用不成立:=COUNT(REF(四日前倍量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0 AND COUNT(REF(四日前高量柱,1) AND (REF(三日不破,1) OR REF(三日价涨C,1)),3)=0;倍量黄金柱:=四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;高量黄金柱:=四日前高量柱 AND 三日量缩 AND 三日不破 AND 三日价涨A AND 前三引用不成立;黄金柱:=倍量黄金柱 OR 高量黄金柱;次倍量黄金柱:=NOT(黄金柱) AND 四日前倍量柱 AND 三日量缩 AND 三日不破 AND 三日价涨B AND 前三引用不成立;次高量黄金柱:=NOT(黄金柱) AND 四日前高量柱 AND 三日量缩 AND 三日不破 AND 三日价涨B AND 前三引用不成立;次黄金柱:=次倍量黄金柱 OR 次高量黄金柱;准倍量黄金柱:=NOT(黄金柱 OR 次黄金柱) AND 四日前倍量柱 AND ((三日量缩 AND 三日价涨C) OR (COUNT(倍量柱,3)>=1 AND 三日不破)) AND 前三引用不成立;准高量黄金柱:=NOT(黄金柱 OR 次黄金柱) AND 四日前高量柱 AND (三日量缩 AND 三日价涨C) AND 前三引用不成立;准黄金柱:=准倍量黄金柱 OR 准高量黄金柱;倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨A AND 前三引用不成立;将军柱:=倍量将军柱 OR 高量将军柱;次倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱) AND 四日前倍量柱 AND 三日不破 AND 三日价涨B AND 前三引用不成立;次高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱) AND 四日前高量柱 AND 三日不破 AND 三日价涨B AND 前三引用不成立;次将军柱:=次倍量将军柱 OR 次高量将军柱;准倍量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱) AND 四日前倍量柱 AND 三日价涨C AND 前三引用不成立;准高量将军柱:=NOT(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱) AND 四日前高量柱 AND 三日价涨C AND 前三引用不成立;准将军柱:=准倍量将军柱 OR 准高量将军柱;BACKSET100:=BACKSET(黄金柱 OR 次黄金柱 OR 准黄金柱 OR 将军柱 OR 次将军柱 OR 准将军柱,4); FILTER100:=FILTER(BACKSET100,3);BACKSET101:=BACKSET(黄金柱,4);FILTER101:=FILTER(BACKSET101,3);BACKSET102:=BACKSET(次黄金柱,4);FILTER102:=FILTER(BACKSET102,3);BACKSET103:=BACKSET(准黄金柱,4);FILTER103:=FILTER(BACKSET103,3);BACKSET104:=BACKSET(将军柱,4);FILTER104:=FILTER(BACKSET104,3);BACKSET105:=BACKSET(次将军柱,4);FILTER105:=FILTER(BACKSET105,3);BACKSET106:=BACKSET(准将军柱,4);FILTER106:=FILTER(BACKSET106,3);DRAWTEXT(FILTER101,LOW*,'↖黄金柱'),COLOR0099FF;STICKLINE(FILTER101,OPEN,CLOSE,6,0),COLOR0099FF;DRAWTEXT(FILTER102,LOW*,'↖次黄'),COLOR00EEFF;STICKLINE(FILTER102,OPEN,CLOSE,6,0),COLOR00EEFF;DRAWTEXT(FILTER103,LOW*,'↖准黄'),COLOR00EE99;STICKLINE(FILTER103,OPEN,CLOSE,6,0),COLOR00EE99;DRAWTEXT(FILTER104,LOW*,'↖将军柱'),COLORRED;STICKLINE(FILTER104,OPEN,CLOSE,6,0),COLORRED;DRAWTEXT(FILTER105,LOW*,'↖次将'),COLOR8822FF;STICKLINE(FILTER105,OPEN,CLOSE,6,0),COLOR8822FF;DRAWTEXT(FILTER106,LOW*,'↖准将'),COLORDD22DD;STICKLINE(FILTER106,OPEN,CLOSE,6,0),COLORDD22DD;K1:=SUMBARS(FILTER104,1);STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),20,0),COLOR8822FF;STICKLINE(K1,REF(L,K1-1),REF(L,K1-1),3,0),COLORGREEN;K2:=SUMBARS(FILTER101,1);STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),20,0),COLOR0099FF;立桩量:=VOL=HHV(VOL,40) AND VOL>*REF(VOL,1);立桩量三日突破:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));立桩量三日不破:=BARSLAST(立桩量)=3 AND REF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2)); BACKSET300:=BACKSET(立桩量三日不破,4);BACKSET301:=BACKSET(立桩量三日突破,4);立桩量成立:=FILTER(BACKSET300,3) AND BACKSET301 AND 立桩量;DRAWTEXT(立桩量成立,H IGH*,'←立柱'),COLORGREEN;。
通达信指标公式源码 黑马王子 副图源码
黑马王子(源码、副图、附图)一切看图,一目了然!黑马王子源码RSV1:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,28)-LLV(LOW,28))*100;RSV2:=(CLOSE-LLV(LOW,39))/(HHV(HIGH,39)-LLV(LOW,39))*100;短跳:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,28),COLOR00FF00;中跳:SMA(RSV2,6,1)+2*STD(CLOSE,39),COLORRED;RSV3:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;长跳:SMA(RSV3,6,1),COLORYELLOW;探试底:STICKLINE(中跳<17,中跳,17,6,0),COLORF00FF0;黄金坑:STICKLINE(短跳<28 AND 中跳<28 AND 长跳<28,MAX(长跳,MAX(短跳,中跳)),28,3,0),COLOR00CCFF;探顶:STICKLINE(中跳>80,80,中跳,3,0),COLORFFF000;DRAWICON(CROSS(长跳,17),中跳,1);DRAWTEXT(LONGCROSS(中跳,28,17),28,'追涨');DRAWTEXT(CROSS(短跳,长跳)AND 长跳<18 AND 长跳>REF(长跳,1)OR CROSS(长跳,6),28,'跑道起跳');短中长粘合:DRAWTEXT(ABS(中跳-长跳)<2 AND 中跳>REF(中跳,1),中跳,'**'),COLORBLUE;中跳1:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50));底:DRAWTEXT(CROSS(中跳1,-90) AND (长跳<中跳AND 长跳>REF(长跳,1)OR 短跳<28 AND 中跳<28 AND 长跳<28),长跳,'底'),COLORFF00FF;IF(COUNT(CROSS(中跳1,-90),12)=3,40,6);。
黑马王子的《量柱擒涨停》公式
DRAWTEXT(FILTER102,LOW*0.986,'↖次黄'),COLOR00EEFF;
STICKLINE(FILTER102,OPEN,CLOSE,6,0),COLOR00EEFF;
DRAWTEXT(FILTER103,LOW*0.986,'↖准黄'),COLOR00EE99;
BACKSET100:=BACKSET(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将军柱OR准将军柱,4);
FILTER100:=FILTER(BACKSET100,3);
BACKSET101:=BACKSET(黄金柱,4);
FILTER101:=FILTER(BACKSET101,3);
BACKSET102:=BACKSET(次黄金柱,4);
高量黄金柱:=四日前高量柱AND三日量缩AND三日不破AND三日价涨AAND前三引用不成立;
黄金柱:=倍量黄金柱OR高量黄金柱;
次倍量黄金柱:=NOT(黄金柱)AND四日前倍量柱AND三日量缩AND三日不破AND三日价涨BAND前三引用不成立;
次高量黄金柱:=NOT(黄金柱)AND四日前高量柱AND三日量缩AND三日不破AND三日价涨BAND前三引用不成立;
STICKLINE(K1,REF(L,K1-2),REF(L,K1-2),20,0),COLOR8822FF;
STICKLINE(K1,REF(L,K1-1),REF(L,K1-1),3,0),COLORGREEN;
K2:=SUMBARS(FILTER101,1);
STICKLINE(K2,REF(L,K2-2),REF(L,K2-2),20,0),COLOR0099FF;
黑马王子公式培训资料
黑马王子公式转自操盘手股票论坛1.黑马王子黑马王子量柱群指标图VOLUME:VOL,VOLSTICK;降:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;STICKLINE(降,0,V,1,0),COLORGREEN;DRAWTEXT(降,VOL+3000,'降'),COLORGREEN;T:=DYNAINFO(8)>0;VO:VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLORBLUE;STICKLINE(地量柱,0,V,1,0),COLORBLUE;DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);STICKLINE(BLZ,0,V,1,0),COLORYELLOW;倍量柱:BLZ,COLORYELLOW;DRAWTEXT(倍量柱,VOL+3000,'倍'),COLORYELLOW;HJZ:=(3*C+H+L+O)/6;HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+R EF(HJZ,8))/36;HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4;STICKLINE(黄金柱,0,V,1,0),COLORRED;DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED;价涨量缩:降,COLORGREEN;FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02,LINETHICK0;STICKLINE(FLZ,0,V,1,0),COLORMAGENTA;DRAWTEXT(FLZ,VOL+3000,'平'),COLORMAGENTA;平量柱:FLZ,COLORMAGENTA;转自操盘手股票论坛2、均线上的量柱公式MX:=EMA(C,2);MXA:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(MX>=MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR600020;STICKLINE(MX<MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR404050;DRAWKLINE(H,O,L,C);AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);趋势线MA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED;CC:=(CLOSE/趋势线);MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);MAAA:=((MA1-趋势线)/趋势线)/3;TMP:=MA1-MAAA*MA1;JJ:IF(TMP<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;XJ:IF(TMP<=趋势线,TMP,DRAWNULL),LINETHICK2,COLORBROWN;建仓:CROSS(MX,MXA),NODRAW;SEL:=CROSS(MXA,MX);DRAWICON(建仓,L-0.1,1);DRAWICON(SEL,H+0.1,2);DRAWTEXT(建仓,L-0.68,'↖建仓持股')COLORMAGENTA;DRAWTEXT(SEL,H+0.38,'↙清仓持币'),COLORBROWN;STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),COLORRED;STICKLINE(MX>=MXA,CLOSE,OPEN,3,1),COLORRED;STICKLINE(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(MX<MXA,CLOSE,OPEN,3,1),COLORGREEN;STICKLINE(建仓,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBROWN;CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1;JD:=MA(CLOSE,18),COLORMAGENTA;DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1);DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'↖加仓'),COLORYELLOW; BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;DRAWTEXT(FILTER(BL,3),H+0.2,'↙倍量柱')COLORYELLOW;STICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0),COLORYELLOW;XG:=SUMBARS(FILTER(BL,3),1);STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLORYELLOW;转自操盘手股票论坛3.跟庄机构资金出入和建仓行为的实用副图VARA:=REF(LOW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);VARD:=LLV(LOW,30);VARE:=HHV(VARC,30);VARF:=IF(MA(CLOSE,58),1,0);VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;VARH:=IF(VARG>28,28,VARG);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,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,0),COLORFF00FF,LINETHICK3;DRAWTEXT(买入时机,70.1,'跟庄'),COLORFF00FF;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;趋势: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),COLOR00FFFF;秘密买点: IF(趋势<=3,20,0),COLOR00FF00,LINETHICK3;机构建仓: IF(趋势<5,40,0),COLORFFFFFF,LINETHICK3;转自操盘手股票论坛4.涨停5基因{涨停5基因附图公式:}{1.百日低量群}百日地量:= V=LLV(V,100) AND V>0;倍量:= VOL>=REF(V,1)*1.9 AND C>REF(C,1);地量又倍量:COUNT(百日地量,5)>=1 AND COUNT(倍量,1)>=1;{2.倍量过左峰}N:=20;左峰高:=REF(HHV(C,N),1);倍量过左:REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高 AND C>OAND VOL/REF(VOL,1)>=1.9;{3.回踩黄金线}{1.黄金柱}JJ:=(3*C+H+L+O)/6;VAR1:=DMA(JJ,0.2);{VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;}TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,3);黄金线:=REF(LOW,BARSLAST(LJL));黄金柱:=FILTER(TJ1,3);{2.倍量过左峰}SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));{倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;}突破前高:=CROSS(C,前高);倍量过左峰:= 突破前高 AND 倍量;{3.凹口起柱}T7:=REF(VOL,6)/REF(VOL,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(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);凹口起柱:= T7 AND T1 AND T0OR T6 AND T1 AND T0OR T5 AND T1 AND T0OR T4 AND T1 AND T0OR T3 AND T1 AND T0 ;{凹口起柱}AKQZ:= 黄金柱 AND 凹口起柱;{4.前高低位}X:=21;TTY:=H;AAT:=REF(TTY,X)=HHV(TTY,2*X+1);BBT:=FILTER(AAT,X);CCT:=BACKSET(BBT,X+1);HD10T:=FILTER(CCT,X);前期高位:=REF(H,BARSLAST(HD10T));{突破前高}TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位;{选股}回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10))AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0;{5.长阴短柱}长阴短柱: C/REF(C,1)<0.95 AND V<HHV(V,30)/1.9;{6.1 底同向精准}NN:=3;LL0:=0;L0:=LL0/100;L1:=ABS(L-REF(L,1))<=L0;L2:=ABS(L-REF(L,2))<=L0;L3:=ABS(L-REF(L,3))<=L0;L4:=ABS(L-REF(L,4))<=L0;L5:=ABS(L-REF(L,5))<=L0;精准线:=L1 OR L2 OR L3 OR L4 OR L5;底精准: FILTER(精准线,NN),COLORCYAN;{6.2 异向并肩精准线}异向并肩精准: MIN(O,C)=REF(MAX(O,C),1) ;{4.咬住峰顶线}FDX:=PEAK(1,10,1);{REF(HHV(H,60),5)};{上一波峰值}TJ:=BETWEEN(MA(H,3),FDX*0.997,FDX*1.02);咬住峰顶线: COUNT(TJ,3)>=2,COLORRED;5.启动买双阴卖启动点红买黄卖双阴出货COHL:=(C+O+H+L)/4;{算术均价}成交均价:=AMOUNT/VOL/100;TEST:=BETWEEN(成交均价,L,H);CC0:=IF(TEST,成交均价,COHL),COLORWHITE;{当均价远离算术均价时,用算术均价} CC:=FORCAST(CC0,5),COLORWHITE;EMA34:EMA(CC,34),COLORFFCC66;EMA21:EMA(CC,21),COLORGREEN;EMA13:EMA(CC,13),COLORBROWN;EMA5:EMA(EMA(CC,5),2),COLORYELLOW;TJ:= {C>O AND} ABS(EMA13-EMA5)<EMA5*0.01AND ABS(EMA13-EMA21)<EMA21*0.01AND ABS(EMA34-EMA21)<EMA21*0.01AND EMA5>REF(EMA5,1) AND EMA13>REF(EMA13,1)AND EMA21>REF(EMA21,1) AND EMA34>REF(EMA34,1);启动点:=FILTER(TJ,5);DRAWTEXT(启动点,L*0.95,'启动'),COLORMAGENTA;A1:=Ma(C,5);A2:=Ma(C,10); {可以自设均线,牛市21日线,熊市10日线}A3:=(A1+A2)/2;IF (A1>A2,A1,A3),Colorred,linethick2;IF (A1>A2,A2,A3),Colorred,linethick2;IF (A1<=A2,A1,A3),Color00ff00,linethick2;IF (A1<=A2,A2,A3),Color00ff00,linethick2;A3,colorwhite,linethick2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; DRAWICON(CROSS(84,RSI) ,h*1.03,5);DRAWICON(CROSS(RSI,11) ,l*0.99,4);Var27:=REF(CLOSE,1);Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100; DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),linethick7 , COLORff00ff;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100); VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);aa:=SMA(VARF,3,1);ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79); DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND(aa>ss),h*1.02,''),LINETHICK7,colorgreen;Var1:=ZIG(3,10)<REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);Var2:=ZIG(3,10)>REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;双阴出货:=FILTER(COUNT(C<O,2)=2 AND L<REF(C,1),5);DRAWTEXT(双阴出货,H*1.05,'双阴'),COLORYELLOW;6.黄金坑稳赚指标公式Var1:=MA(WINNER(CLOSE),9)*100;买!: CROSS(Var1,2)*30,COLOR0000FF ,LINETHICK3 ;Var2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;Var4:=SMA(Var3,9,1);Var5:=SMA(Var4,9,1);Var6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);Var7:=REF(Var6,1)>13 AND REF(Var6,1)/Var6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;春笋: IF(Var7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETHICK2;Var8:=MA(CLOSE,27);Var9:=(CLOSE-Var8)/Var8*100;VarA:=MA(Var9,2);VarB:=BARSLAST(CROSS(-10,VarA)=1);VarC:=BARSLAST(CROSS(VarA,10)=1);VarD:=VarA<-10 AND VarB>3;VarE:=VarA>10 AND VarC>3;黄金坑: IF(VarD,VarA,0),LINESTICK ,LINETHICK2, COLORYELLOW;财神到: IF(VarE,VarA,0),LINESTICK , COLORGREEN;稳赚买: IF(VarA>REF(VarA,1) AND VarD AND VarA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF; DRAWICON(稳赚买>0,40,1);VarF:=REF(LOW,1)*0.9;Var10:=LOW*0.9;Var11:=(Var10*VOL+VarF*(CAPITAL-VOL))/CAPITAL;Var12:=EMA(Var11,30);Var13:=CLOSE-REF(CLOSE,1);Var14:=MAX(Var13,0);Var15:=ABS(Var13);Var16:=SMA(Var14,7,1)/SMA(Var15,7,1)*100;Var17:=SMA(Var14,13,1)/SMA(Var15,13,1)*100;Var18:=BARSCOUNT(CLOSE);Var19:=SMA(MAX(Var13,0),6,1)/SMA(ABS(Var13),6,1)*100;Var1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1C:=SMA((SMA(Var1B,4,1)-50)*2,3,1);Var1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1E:=SMA(Var1D,4,1);Var1F:=SMA(Var1E,3,1);Var20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var21:=Var19<=25 AND Var1A<-95 AND Var20>20 AND Var1C<-30 AND Var1F<30 AND Var12-CLOSE>=-0.25 AND Var16<22 AND Var17<28 AND Var18>50;超跌: STICKLINE(Var21,0,60,5,0);7、临界点{N: 1 100 7;M: 1 100 3;}TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);PDI: DMP*100/TR0;MDI: DMM*100/TR0;ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);ADXR:(ADX+REF(ADX,M))/2;预警:IF(ADX>90 AND PDI=0,30,0),COLORYELLOW,LINETHICK2;买:IF(CROSS(PDI,MDI) AND (C >1.05*REF(C,1) OR REF(C,1)>1.05*REF(C,2))AND (V>2*REF(V,1) OR REF(V,1)>2*REF(V,2))AND MA(V,5)>MA(V,60) ,20,0),COLORRED, LINETHICK2;买2:IF(CROSS(PDI,MDI) AND COUNT(预警,10)>=1,10,0),LINETHICK3;8、带黄金柱的量柱指标VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;量:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;AA4:=VOL<REF(LLV(VOL,100),1);STICKLINE(AA,0,V,0.05,0),COLORYELLOW;STICKLINE(AA1,0,V,0.05,0),COLORGREEN;STICKLINE(AA2,0,V,0.05,0),COLORMAGENTA;STICKLINE(AA3,0,V,0.05,0),COLORWHITE;STICKLINE(AA4,0,V,0.05,0),COLORBLUE;黄金柱:DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)REF(O,3) AND REF(V,3)>2*REF(V,4),V,8); M5:MA(VOL,5);M10:MA(VOL,10);M20:MA(VOL,20);。
【通达信】黑马王子成交量副图公式加用法
【通达信】黑马王子成交量副图公式加用法{VOL_量柱}{看图说明:黄色为倍量柱,白色为并肩平量柱,紫色为缩倍柱,绿色为10天低量柱,蓝色为50天低量柱,灰色为百日低量柱,高量柱容易看无标记,!为长阴短柱, 内有红实线为假阴柱。
红色箭头(的前三天)为黄金柱。
次黄金柱难判,不标记}在大盘或个股上,我们都可以通过黄金柱,黄金线,黄金梯,黄金仓,黄金劫,和黄金道六大层面复合,相互配对,求证,以便找到最佳买卖点。
那如何找到黄金柱,再找到黄金线,黄金梯,黄金劫,黄金仓,黄金道呢?一:首先要找到黄金柱1、倍量柱+倍量柱=黄金柱----(单独倍量柱的出现不是最明显的,但却是最重要的,后期走势体现了主庄的主动行为,有预谋的,攻击性多余试探性。
此组合后的黄金柱在阶段性底部较好,往往是主庄控盘比较好,急于拉升的一种体现,可做防守线。
如连续三根倍量柱时最好是持币观望,不宜仓促进入)2、倍量柱+缩量柱=黄金柱----(此组合后的黄金柱关键在于缩量柱的优劣,缩量柱最好是三根左右价涨量却要缩的越大越好,其三日收盘价必须保持在倍量柱所对应的K线的最低价上方,且量柱是步步为阳的,K线与量柱形成一个喇叭形为真黄金柱,可做防守线。
)3、低量柱+梯量柱=黄金柱---(如在低量柱杀入后,出现了高量柱,形成明显的梯量柱拉升,这是因为上升的力度太大,速度太急,主力很可能制造打劫,所以在高量柱出现腰即使退出应是最明智的)4、低量柱+倍量柱=黄金柱---(凡是有低量柱的位置,肯定是回升的始点,是培育黄金柱的土壤。
具有休克机制,收集机制,测幅机制,又称停战柱,反攻柱,庄家的成本底线。
此组合是主庄采用|休克疗法探底之后,心中有数的主动拉升行为,是底部与底气相结合的标志,其后市必然大涨。
其单低量柱后期走势多数向上,少数向下。
可做攻防线)5、高量柱+缩量柱=黄金柱---(同上2,另:单独高量柱是最明显的,可能不是最重要的,后期走势多数向下,少数向上。
如有连续两根超级倍量柱递增的高量柱时,此为“发烧柱|”,是主力极力出货的标志。
黑马王子:理论公式
黑马王子:理论公式主图精准线这里的精准线是(至少)准确接触3个最低价位的一条水平线,不一定是所说的“精准线”。
但提出了一种设计思路,希望通过努力,把真正的“精准线”画出来。
几点说明:(1)你可以改变“点位差参数”:L0:=0.00;这里设为0,就精准了,也可以设为:L0:=0.01;L0:=0.02;(2)图中虚线(至少)准确接触2个最低价位,实线所在水平位置(至少)准确接触3个最低价位。
(3)你如果将光标十字线放在“精准线”(或自己画延长线),可能发现会接触更多的“精准点”。
(4)与附图指标配合使用,你会发现左右哪两点是“精准点”。
(5)去掉L4、L5前后的{}号,会出现更多的信号。
(6)本“精准线主图、附图及选股公式”适用于通达信软件。
1.主图精准线BN:=20;C2:XMA(C,2),COLORWHITE;MA10:MA(C2,10),COLORYELLOW;MA20:MA(C2,BN),COLORGREEN;MA60:MA(C2,60),COLORBLUE;{布林线信号}BOLL:=MA20;UPPER:BOLL+1.618*STD(C2,BN),COLORGREEN;LOWER:BOLL-1.618*STD(C2,BN),COLORGREEN;DRAWICON(CROSS(C2,LOWER),L*0.97,7);{买信号B}DRAWICON(CROSS(UPPER,C2),H*1.03,8);{卖信号S};2.精准线N:=3;L0:=0.02;L1:=ABS(L-REF(L,1))<=L0;L2:=ABS(L-REF(L,2))<=L0;L3:=ABS(L-REF(L,3))<=L0;{L4:=ABS(L-REF(L,4))<=L0;L5:=ABS(L-REF(L,5))<=L0;}精准线首次:=L1 OR L2 OR L3 {OR L4 OR L5};精准左:=FILTER(精准线首次,N) ;天数:=BARSLAST(精准左);LTS:=REF(L,天数);精准右:=ABS(L-LTS)<=L0;STICKLINE(精准左,L,L,50,-1),COLORMAGENTA; DRAWLINE(精准左,L,精准右,LTS,1),COLORMAGENTA;3.网上淘的黄金柱公式,修改后不错。
黑马王子公式
转自操盘手股票论坛1.黑马王子黑马王子量柱群指标图VOLUME:VOL,VOLSTICK;降:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;STICKLINE(降,0,V,1,0),COLORGREEN;DRAWTEXT(降,VOL+3000,'降'),COLORGREEN;T:=DYNAINFO(8)>0;VO:VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLORBLUE;STICKLINE(地量柱,0,V,1,0),COLORBLUE;DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);STICKLINE(BLZ,0,V,1,0),COLORYELLOW;倍量柱:BLZ,COLORYELLOW;DRAWTEXT(倍量柱,VOL+3000,'倍'),COLORYELLOW;HJZ:=(3*C+H+L+O)/6;HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+R EF(HJZ,8))/36;HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4;STICKLINE(黄金柱,0,V,1,0),COLORRED;DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED;价涨量缩:降,COLORGREEN;FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02,LINETHICK0;STICKLINE(FLZ,0,V,1,0),COLORMAGENTA;DRAWTEXT(FLZ,VOL+3000,'平'),COLORMAGENTA;平量柱:FLZ,COLORMAGENTA;转自操盘手股票论坛2、均线上的量柱公式MX:=EMA(C,2);MXA:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(MX>=MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR600020;STICKLINE(MX<MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR404050;DRAWKLINE(H,O,L,C);AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);趋势线MA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED;CC:=(CLOSE/趋势线);MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);MAAA:=((MA1-趋势线)/趋势线)/3;TMP:=MA1-MAAA*MA1;JJ:IF(TMP<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;XJ:IF(TMP<=趋势线,TMP,DRAWNULL),LINETHICK2,COLORBROWN;建仓:CROSS(MX,MXA),NODRAW;SEL:=CROSS(MXA,MX);DRAWICON(建仓,L-0.1,1);DRAWICON(SEL,H+0.1,2);DRAWTEXT(建仓,L-0.68,'↖建仓持股')COLORMAGENTA;DRAWTEXT(SEL,H+0.38,'↙清仓持币'),COLORBROWN;STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),COLORRED;STICKLINE(MX>=MXA,CLOSE,OPEN,3,1),COLORRED;STICKLINE(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(MX<MXA,CLOSE,OPEN,3,1),COLORGREEN;STICKLINE(建仓,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBROWN;CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1;JD:=MA(CLOSE,18),COLORMAGENTA;DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1);DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'↖加仓'),COLORYELLOW; BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;DRAWTEXT(FILTER(BL,3),H+0.2,'↙倍量柱')COLORYELLOW;STICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0),COLORYELLOW;XG:=SUMBARS(FILTER(BL,3),1);STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLORYELLOW;转自操盘手股票论坛3.跟庄机构资金出入和建仓行为的实用副图VARA:=REF(LOW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);VARD:=LLV(LOW,30);VARE:=HHV(VARC,30);VARF:=IF(MA(CLOSE,58),1,0);VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;VARH:=IF(VARG>28,28,VARG);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,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,0),COLORFF00FF,LINETHICK3; DRAWTEXT(买入时机,70.1,'跟庄'),COLORFF00FF;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;趋势: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),COLOR00FFFF;秘密买点: IF(趋势<=3,20,0),COLOR00FF00,LINETHICK3;机构建仓: IF(趋势<5,40,0),COLORFFFFFF,LINETHICK3;转自操盘手股票论坛4.涨停5基因{涨停5基因附图公式:}{1.百日低量群}百日地量:= V=LLV(V,100) AND V>0;倍量:= VOL>=REF(V,1)*1.9 AND C>REF(C,1);地量又倍量:COUNT(百日地量,5)>=1 AND COUNT(倍量,1)>=1;{2.倍量过左峰}N:=20;左峰高:=REF(HHV(C,N),1);倍量过左:REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高 AND C>OAND VOL/REF(VOL,1)>=1.9;{3.回踩黄金线}{1.黄金柱}JJ:=(3*C+H+L+O)/6;VAR1:=DMA(JJ,0.2);{VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;}TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,3);黄金线:=REF(LOW,BARSLAST(LJL));黄金柱:=FILTER(TJ1,3);{2.倍量过左峰}SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));{倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;}突破前高:=CROSS(C,前高);倍量过左峰:= 突破前高 AND 倍量;{3.凹口起柱}T7:=REF(VOL,6)/REF(VOL,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(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);凹口起柱:= T7 AND T1 AND T0OR T6 AND T1 AND T0OR T5 AND T1 AND T0OR T4 AND T1 AND T0OR T3 AND T1 AND T0 ;{凹口起柱}AKQZ:= 黄金柱 AND 凹口起柱;{4.前高低位}X:=21;TTY:=H;AAT:=REF(TTY,X)=HHV(TTY,2*X+1);BBT:=FILTER(AAT,X);CCT:=BACKSET(BBT,X+1);HD10T:=FILTER(CCT,X);前期高位:=REF(H,BARSLAST(HD10T));{突破前高}TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位;{选股}回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10))AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0;{5.长阴短柱}长阴短柱: C/REF(C,1)<0.95 AND V<HHV(V,30)/1.9;{6.1 底同向精准}NN:=3;LL0:=0;L0:=LL0/100;L1:=ABS(L-REF(L,1))<=L0;L2:=ABS(L-REF(L,2))<=L0;L3:=ABS(L-REF(L,3))<=L0;L4:=ABS(L-REF(L,4))<=L0;L5:=ABS(L-REF(L,5))<=L0;精准线:=L1 OR L2 OR L3 OR L4 OR L5;底精准: FILTER(精准线,NN),COLORCYAN;{6.2 异向并肩精准线}异向并肩精准: MIN(O,C)=REF(MAX(O,C),1) ;{4.咬住峰顶线}FDX:=PEAK(1,10,1);{REF(HHV(H,60),5)};{上一波峰值}TJ:=BETWEEN(MA(H,3),FDX*0.997,FDX*1.02);咬住峰顶线: COUNT(TJ,3)>=2,COLORRED;5.启动买双阴卖启动点红买黄卖双阴出货COHL:=(C+O+H+L)/4;{算术均价}成交均价:=AMOUNT/VOL/100;TEST:=BETWEEN(成交均价,L,H);CC0:=IF(TEST,成交均价,COHL),COLORWHITE;{当均价远离算术均价时,用算术均价} CC:=FORCAST(CC0,5),COLORWHITE;EMA34:EMA(CC,34),COLORFFCC66;EMA21:EMA(CC,21),COLORGREEN;EMA13:EMA(CC,13),COLORBROWN;EMA5:EMA(EMA(CC,5),2),COLORYELLOW;TJ:= {C>O AND} ABS(EMA13-EMA5)<EMA5*0.01AND ABS(EMA13-EMA21)<EMA21*0.01AND ABS(EMA34-EMA21)<EMA21*0.01AND EMA5>REF(EMA5,1) AND EMA13>REF(EMA13,1)AND EMA21>REF(EMA21,1) AND EMA34>REF(EMA34,1);启动点:=FILTER(TJ,5);DRAWTEXT(启动点,L*0.95,'启动'),COLORMAGENTA;A1:=Ma(C,5);A2:=Ma(C,10); {可以自设均线,牛市21日线,熊市10日线}A3:=(A1+A2)/2;IF (A1>A2,A1,A3),Colorred,linethick2;IF (A1>A2,A2,A3),Colorred,linethick2;IF (A1<=A2,A1,A3),Color00ff00,linethick2;IF (A1<=A2,A2,A3),Color00ff00,linethick2;A3,colorwhite,linethick2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(84,RSI) ,h*1.03,5);DRAWICON(CROSS(RSI,11) ,l*0.99,4);Var27:=REF(CLOSE,1);Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100; DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),linethick7 , COLORff00ff;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);aa:=SMA(VARF,3,1);ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79);DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND(aa>ss),h*1.02,''),LINETHICK7,colorgreen;Var1:=ZIG(3,10)<REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);Var2:=ZIG(3,10)>REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;双阴出货:=FILTER(COUNT(C<O,2)=2 AND L<REF(C,1),5);DRAWTEXT(双阴出货,H*1.05,'双阴'),COLORYELLOW;6.黄金坑稳赚指标公式Var1:=MA(WINNER(CLOSE),9)*100;买!: CROSS(Var1,2)*30,COLOR0000FF ,LINETHICK3 ;Var2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;Var4:=SMA(Var3,9,1);Var5:=SMA(Var4,9,1);Var6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);Var7:=REF(Var6,1)>13 AND REF(Var6,1)/Var6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;春笋: IF(Var7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETHICK2;Var8:=MA(CLOSE,27);Var9:=(CLOSE-Var8)/Var8*100;VarA:=MA(Var9,2);VarB:=BARSLAST(CROSS(-10,VarA)=1);VarC:=BARSLAST(CROSS(VarA,10)=1);VarD:=VarA<-10 AND VarB>3;VarE:=VarA>10 AND VarC>3;黄金坑: IF(VarD,VarA,0),LINESTICK ,LINETHICK2, COLORYELLOW;财神到: IF(VarE,VarA,0),LINESTICK , COLORGREEN;稳赚买: IF(VarA>REF(VarA,1) AND VarD AND VarA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF; DRAWICON(稳赚买>0,40,1);VarF:=REF(LOW,1)*0.9;Var10:=LOW*0.9;Var11:=(Var10*VOL+VarF*(CAPITAL-VOL))/CAPITAL;Var12:=EMA(Var11,30);Var13:=CLOSE-REF(CLOSE,1);Var14:=MAX(Var13,0);Var15:=ABS(Var13);Var16:=SMA(Var14,7,1)/SMA(Var15,7,1)*100;Var17:=SMA(Var14,13,1)/SMA(Var15,13,1)*100;Var18:=BARSCOUNT(CLOSE);Var19:=SMA(MAX(Var13,0),6,1)/SMA(ABS(Var13),6,1)*100;Var1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1C:=SMA((SMA(Var1B,4,1)-50)*2,3,1);Var1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1E:=SMA(Var1D,4,1);Var1F:=SMA(Var1E,3,1);Var20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var21:=Var19<=25 AND Var1A<-95 AND Var20>20 AND Var1C<-30 AND Var1F<30 AND Var12-CLOSE>=-0.25 AND Var16<22 AND Var17<28 AND Var18>50;超跌: STICKLINE(Var21,0,60,5,0);7、临界点{N: 1 100 7;M: 1 100 3;}TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);PDI: DMP*100/TR0;MDI: DMM*100/TR0;ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);ADXR:(ADX+REF(ADX,M))/2;预警:IF(ADX>90 AND PDI=0,30,0),COLORYELLOW,LINETHICK2;买:IF(CROSS(PDI,MDI) AND (C >1.05*REF(C,1) OR REF(C,1)>1.05*REF(C,2))AND (V>2*REF(V,1) OR REF(V,1)>2*REF(V,2))AND MA(V,5)>MA(V,60) ,20,0),COLORRED, LINETHICK2;买2:IF(CROSS(PDI,MDI) AND COUNT(预警,10)>=1,10,0),LINETHICK3;8、带黄金柱的量柱指标VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;量:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;AA4:=VOL<REF(LLV(VOL,100),1);STICKLINE(AA,0,V,0.05,0),COLORYELLOW;STICKLINE(AA1,0,V,0.05,0),COLORGREEN;STICKLINE(AA2,0,V,0.05,0),COLORMAGENTA;STICKLINE(AA3,0,V,0.05,0),COLORWHITE;STICKLINE(AA4,0,V,0.05,0),COLORBLUE;黄金柱:DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)REF(O,3) AND REF(V,3)>2*REF(V,4),V,8); M5:MA(VOL,5);M10:MA(VOL,10);M20:MA(VOL,20);。
黑马王子系列
黑马王子系列一、股市天经之一:量柱擒涨停―――选股股市温度计(七柱)倍量柱大于1.9倍平量柱小于3-5%量形:倍(阳柱和高开低走假阴柱)、高、缩(价涨量缩,确认趋势)、平、梯、低量柱(多空转折点)量级:将军柱、黄金柱量性:试探、建仓、增仓、补仓、震仓、启动、拉升黄金线、黄金梯、黄金仓、黄金劫、黄金道倍量柱+梯量柱=黄金柱低量柱+梯量柱=黄金柱倍量柱+缩量柱=黄金柱高量柱+缩量柱=黄金柱梯量柱+缩量柱=黄金柱平量柱+缩量柱=黄金柱高量柱+二日价升缩量柱=准黄金柱高量柱+三日价升缩量柱=真黄金柱将军柱三原则(多数倍量柱,少数高量柱):三日不破、价升量缩、先者优先主力攻防线(即平衡线):1、确定将军柱。
2、将军柱后三日最低价为参照:若最低价在将军柱实体上方,则在将军柱实体上沿画一平衡线;否则沿最低价画一平衡线。
3、以缺口顶为补充:若将军柱是跳空高开形成,则以将军柱下方缺口顶部画一平衡线。
量柱后三日定性:1、价升量缩、逐步走强――――黄金柱2、先阴后阳、先衰后缋――――官升一级3、阴阳相间、有气无力――――面临调整4、逐步缩小、先强后弱――――面临调整拐点定性:平台起柱、凹口起柱、过顶起柱、触底起柱集合定性:低量柱+倍量柱、倍量柱+倍量柱(若连续三根倍量柱则持币)、缩倍柱+倍量柱倍量柱:实力与雄心的温度计1、位置:绝对或相对底部、拐点或起点。
2、操盘:当天介入、平衡线、主力目的高量柱:欲望与走向的温度计1、走势:巨量出货(发烧柱,连续几根超级倍量柱)―――避之、无量涨停(启动桩,温和梯量柱)―――擒之、价涨量减(黄金柱)―――察之2、合格高量柱(即高量黄金柱):后三日价涨量缩缩量柱:价位与人气的温度计1、类型:量缩价跌、否极泰来―――往往3-13根量柱组成,应在最后一根阴柱被阳柱覆盖时介入;连续阴阳不齐、暗示调整在即;价升量缩、过顶触底做多。
2、最有价值的缩量柱三条件:紧靠倍量柱或高量柱;价升量缩,缩量越大越好;逐步缩量最好,其三日内收盘必须保持在第一量柱的最低价上方。
黑马王子的量柱理论(转载)
黑马王子的量柱理论(转载)王子理论的量柱,有六个元素,也就是六种量形,即:倍量、高量、缩量、梯量、平量、低量。
构成的黄金柱有三个级别:过顶黄金柱、托底黄金柱、中继黄金柱。
百日低量群倍量就涨停倍量过左峰涨停急先锋回踩黄金线腾飞不眨眼在大盘或个股上,我们都可以通过黄金柱,黄金线,黄金梯,黄金仓,黄金劫,和黄金道六大层面复合,相互配对,求证,以便找到最佳买卖点。
那如何找到黄金柱,再找到黄金线,黄金梯,黄金劫,黄金仓,黄金道呢?一:首先要找到黄金柱1、倍量柱倍量柱=黄金柱(单独倍量柱的出现不是最明显的,但却是最重要的,后期走势体现了主庄的主动行为,有预谋的,攻击性多于试探性。
此组合后的黄金柱在阶段性底部较好,往往是主庄控盘比较好,急于拉升的一种体现,可做防守线。
如连续三根倍量柱时最好是持币观望,不宜仓促进入)2、倍量柱缩量柱=黄金柱(此组合后的黄金柱关键在于缩量柱的优劣,缩量柱最好是三根左右价涨量却要缩的越大越好,其三日收盘价必须保持在倍量柱所对应的K 线的最低价上方,且量柱是步步为阳的,K 线与量柱形成一个喇叭形为真黄金柱,可做防守线。
)3、低量柱梯量柱=黄金柱---(如在低量柱杀入后,出现了高量柱,形成明显的梯量柱拉升,这是因为上升的力度太大,速度太急,主力很可能制造打劫,所以在高量柱出现要及时退出,应是最明智的)4、低量柱倍量柱= 黄金柱---(凡是有低量柱的位置,肯定是回升的始点,是培育黄金柱的土壤。
具有休克机制,收集机制,测幅机制,又称停战柱,反攻柱,庄家的成本底线。
此组合是主庄采用休克疗法探底之后,心中有数的主动拉升行为,是底部与底气相结合的标志,其后市必然大涨。
其单低量柱后期走势多数向上,少数向下。
可做攻防线)5、高量柱缩量柱=黄金柱--- (同上2,另:单独高量柱是最明显的,可能不是最重要的,后期走势多数向下,少数向上。
如有连续两根超级倍量柱递增的高量柱时,此为“发烧柱”,是主力极力出货的标志。
黑马王子课程指南
黑马王子课程销售指南---克隆擒涨停高级特训班☆黑马王子简介:黑马王子,真名张得一,大学教授,创新型学者,发明家,演说家。
2005年创办我国第一个“量柱理论”研究室,第一次将“量柱”作为“股市温度计”进行系统研究,其后又将“量线”作为“股市脉搏仪”,“量波”作为”股市心电图“进行全面研究,从而完成了“量柱擒涨停”、“量线捉涨停”、“量波抓涨停”三大发明。
2007年累计预报217个涨停、,2008年累计预报331个涨停、2009年累计预报365个涨停,并多次提前准确预报逃顶抄底良机,被网友誉为: “我们的股海明灯”!经典语录:1、没有万能的技术,只有万能的眼光2、勤奋出高手☆技术特点:均线只是取了收盘价的平均值、k线只是取了开盘价,收盘价,最高价,最低价四个值。
而黑马王子的量柱理论取了股票的所有值。
主力和庄家能的确有能力改变均线和k线的某一个值,但是,他不能改变股票和股票市场的所有值。
王子选择量柱、量线、量波角度全面研究股市。
量柱选股、量线选价、量波选时,个股启动之前发现个股。
涨停基因系列(一)长腿踩线:2013年3月4日,大盘大跌100点,在收评中发布“长腿踩线”涨停趋势预报,连续四天都是这类股票主导涨停。
在《红周刊》2013年第9期也点评过这两股,中成股份两天涨幅最高20%(两个涨停,第二个没有封住),华神集团四天上涨幅度近20%(有一个涨停)。
(二)回踩精准线:节后开市的第一天,论坛发表《预防倒春寒》,关注“回踩精准线”这类技术上日趋成熟的股票。
当周“倒春寒”截止周四共有78只股票涨停,其中70只是“回踩精准线”。
中国武夷、联环药业在《红周刊》2013年第7期点评,点评后中国武夷不到一月,涨幅高达50%;(三)倍量伸缩“倍量伸缩”是由“一个倍增柱”和“一个倍缩柱”的近距离的量柱组合。
所谓“近距离”特指二者相距一两天,最多三五天间隔时间。
见《红周刊》2013年第8期点评凤凰光学,在出现一个涨停之后,短短两天时间最大涨幅依然有15%。
?通达信公式黑马买入王,操盘公式红箭头是买点通达信公式副图源码
通达信公式黑马买入王,操盘公式红箭头是买点通达信公式副图源码黑马买入王,通达信副图操盘公式,公式的用法简单,红箭头是买点VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*20;STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORBROWN;STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORGRAY;DRAWICON( FILTER(CROSS(动力线,10*0.93),20),动力线+0.4 ,1);DRAWICON( FILTER(CROSS(90,动力线),20),动力线+0.4,2);DRAWICON( FILTER(CROSS(动力线,4),20),动力线+0.4 ,5);DRAWICON( FILTER(CROSS(90,动力线),20),动力线+0.4,6);买入:SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORMAGENTA,LINETHICK2;主力:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORYELLOW ;AA:=LLV(LOW,34);BB:=HHV(HIGH,30);DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);暗筹:(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25) COLORBLUE;DRAWICON(COUNT(暗筹>88,7)<5 AND EVERY(暗筹>98,2) AND C/O<1.003,暗筹*0.97,3);64,COLORC6C600;90,COLORFF75FF;10,POINTDOT,COLORMAGENTA; 4,COLORRED;-10,COLORGRAY;。
黑马王子量柱群指标公式(转)
黑马王子量柱群指标公式(转)1.黑马王子黑马王子量柱群指标图VOLUME:VOL,VOLSTICK;降:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;STICKLINE(降,0,V,1,0),COLORGREEN;DRAWTEXT(降,VOL+3000,'降'),COLORGREEN;T:=DYNAINFO(8)>0;VO:VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLORBLUE;STICKLINE(地量柱,0,V,1,0),COLORBLUE;DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);STICKLINE(BLZ,0,V,1,0),COLORYELLOW;倍量柱:BLZ,COLORYELLOW;DRAWTEXT(倍量柱,VOL+3000,'倍'),COLORYELLOW;HJZ:=(3*C+H+L+O)/6;HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4* REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4;STICKLINE(黄金柱,0,V,1,0),COLORRED;DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED;价涨量缩:降,COLORGREEN;FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02,LINETHICK0;STICKLINE(FLZ,0,V,1,0),COLORMAGENTA;DRAWTEXT(FLZ,VOL+3000,'平'),COLORMAGENTA;平量柱:FLZ,COLORMAGENTA;2、均线上的量柱公式MX:=EMA(C,2);MXA:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(MX>=MXA,REFDATE(HHV(H,130),DATE),REFDATE (LLV(L,130),DATE),5,0),COLOR600020;STICKLINE(MX<MXA,REFDATE(HHV(H,130),DATE),REFDATE( LLV(L,130),DATE),5,0),COLOR404050;DRAWKLINE(H,O,L,C);AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);趋势线MA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED;CC:=(CLOSE/趋势线);MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);MAAA:=((MA1-趋势线)/趋势线)/3;TMP:=MA1-MAAA*MA1;JJ:IF(TMP<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;XJ:IF(TMP<=趋势线,TMP,DRAWNULL),LINETHICK2,COLORBROWN;建仓:CROSS(MX,MXA),NODRAW;SEL:=CROSS(MXA,MX);DRAWICON(建仓,L-0.1,1);DRAWICON(SEL,H+0.1,2);DRAWTEXT(建仓,L-0.68,'↖建仓持股')COLORMAGENTA;DRAWTEXT(SEL,H+0.38,'↙清仓持币'),COLORBROWN;STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),COLORRED;STICKLINE(MX>=MXA,CLOSE,OPEN,3,1),COLORRED;STICKLINE(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(MX<MXA,CLOSE,OPEN,3,1),COLORGREEN;STICKLINE(建仓,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBROWN;CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1;JD:=MA(CLOSE,18),COLORMAGENTA;DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1);DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'↖加仓'),COLORYELLOW;BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;DRAWTEXT(FILTER(BL,3),H+0.2,'↙倍量柱')COLORYELLOW;STICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0),COLORYELLOW;XG:=SUMBARS(FILTER(BL,3),1);STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLORYELLOW;3.跟庄机构资金出入和建仓行为的实用副图VARA:=REF(LOW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);VARD:=LLV(LOW,30);VARE:=HHV(VARC,30);VARF:=IF(MA(CLOSE,58),1,0);VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*V ARF;VARH:=IF(VARG>28,28,VARG);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,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,0),COLORFF00FF,LINETHICK3;DRAWTEXT(买入时机,70.1,'跟庄'),COLORFF00FF;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;趋势: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),COLOR00FFFF;秘密买点: IF(趋势<=3,20,0),COLOR00FF00,LINETHICK3;机构建仓: IF(趋势<5,40,0),COLORFFFFFF,LINETHICK3;4.涨停5基因{涨停5基因附图公式:}{1.百日低量群}百日地量:= V=LLV(V,100) AND V>0;倍量:= VOL>=REF(V,1)*1.9 AND C>REF(C,1);地量又倍量:COUNT(百日地量,5)>=1 AND COUNT(倍量,1)>=1;{2.倍量过左峰}N:=20;左峰高:=REF(HHV(C,N),1);倍量过左:REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高AND C>OAND VOL/REF(VOL,1)>=1.9;{3.回踩黄金线}{1.黄金柱}JJ:=(3*C+H+L+O)/6;VAR1:=DMA(JJ,0.2);{VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;}TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,3);黄金线:=REF(LOW,BARSLAST(LJL));黄金柱:=FILTER(TJ1,3);{2.倍量过左峰}SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));{倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;}突破前高:=CROSS(C,前高);倍量过左峰:= 突破前高 AND 倍量;{3.凹口起柱}T7:=REF(VOL,6)/REF(VOL,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(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);凹口起柱:= T7 AND T1 AND T0OR T6 AND T1 AND T0OR T5 AND T1 AND T0OR T4 AND T1 AND T0OR T3 AND T1 AND T0 ;{凹口起柱}AKQZ:= 黄金柱 AND 凹口起柱;{4.前高低位}X:=21;TTY:=H;AAT:=REF(TTY,X)=HHV(TTY,2*X+1);BBT:=FILTER(AAT,X);CCT:=BACKSET(BBT,X+1);HD10T:=FILTER(CCT,X);前期高位:=REF(H,BARSLAST(HD10T));{突破前高}TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位;{选股}回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10))AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0;{5.长阴短柱}长阴短柱: C/REF(C,1)<0.95 AND V<HHV(V,30)/1.9;{6.1 底同向精准}NN:=3;LL0:=0;L0:=LL0/100;L1:=ABS(L-REF(L,1))<=L0;L2:=ABS(L-REF(L,2))<=L0;L3:=ABS(L-REF(L,3))<=L0;L4:=ABS(L-REF(L,4))<=L0;L5:=ABS(L-REF(L,5))<=L0;精准线:=L1 OR L2 OR L3 OR L4 OR L5;底精准: FILTER(精准线,NN),COLORCYAN;{6.2 异向并肩精准线}异向并肩精准: MIN(O,C)=REF(MAX(O,C),1) ;{4.咬住峰顶线}FDX:=PEAK(1,10,1);{REF(HHV(H,60),5)};{上一波峰值}TJ:=BETWEEN(MA(H,3),FDX*0.997,FDX*1.02);咬住峰顶线: COUNT(TJ,3)>=2,COLORRED;5.启动买双阴卖启动点红买黄卖双阴出货COHL:=(C+O+H+L)/4;{算术均价}成交均价:=AMOUNT/VOL/100;TEST:=BETWEEN(成交均价,L,H);CC0:=IF(TEST,成交均价,COHL),COLORWHITE;{当均价远离算术均价时,用算术均价}CC:=FORCAST(CC0,5),COLORWHITE;EMA34:EMA(CC,34),COLORFFCC66;EMA21:EMA(CC,21),COLORGREEN;EMA13:EMA(CC,13),COLORBROWN;EMA5:EMA(EMA(CC,5),2),COLORYELLOW;TJ:= {C>O AND} ABS(EMA13-EMA5)<EMA5*0.01AND ABS(EMA13-EMA21)<EMA21*0.01AND ABS(EMA34-EMA21)<EMA21*0.01AND EMA5>REF(EMA5,1) AND EMA13>REF(EMA13,1)AND EMA21>REF(EMA21,1) AND EMA34>REF(EMA34,1);启动点:=FILTER(TJ,5);DRAWTEXT(启动点,L*0.95,'启动'),COLORMAGENTA;A1:=Ma(C,5);A2:=Ma(C,10); {可以自设均线,牛市21日线,熊市10日线} A3:=(A1+A2)/2;IF (A1>A2,A1,A3),Colorred,linethick2;IF (A1>A2,A2,A3),Colorred,linethick2;IF (A1<=A2,A1,A3),Color00ff00,linethick2;IF (A1<=A2,A2,A3),Color00ff00,linethick2;A3,colorwhite,linethick2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(84,RSI) ,h*1.03,5);DRAWICON(CROSS(RSI,11) ,l*0.99,4);Var27:=REF(CLOSE,1);Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100;DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),linethick7 , COLORff00ff;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);aa:=SMA(VARF,3,1);ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79);DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND(aa>ss),h*1.02,''),LINETHICK7,colorgreen;Var1:=ZIG(3,10)<REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);Var2:=ZIG(3,10)>REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;双阴出货:=FILTER(COUNT(C<O,2)=2 AND L<REF(C,1),5);DRAWTEXT(双阴出货,H*1.05,'双阴'),COLORYELLOW;6.黄金坑稳赚指标公式Var1:=MA(WINNER(CLOSE),9)*100;买!: CROSS(Var1,2)*30,COLOR0000FF ,LINETHICK3 ;Var2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;Var4:=SMA(Var3,9,1);Var5:=SMA(Var4,9,1);Var6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);Var7:=REF(Var6,1)>13 AND REF(Var6,1)/Var6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;春笋: IF(Var7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETH ICK2;Var8:=MA(CLOSE,27);Var9:=(CLOSE-Var8)/Var8*100;VarA:=MA(Var9,2);VarB:=BARSLAST(CROSS(-10,VarA)=1);VarC:=BARSLAST(CROSS(VarA,10)=1);VarD:=VarA<-10 AND VarB>3;VarE:=VarA>10 AND VarC>3;黄金坑: IF(VarD,VarA,0),LINESTICK ,LINETHICK2, COLORYELLOW;财神到: IF(VarE,VarA,0),LINESTICK , COLORGREEN;稳赚买: IF(VarA>REF(VarA,1) AND VarD AND VarA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF;DRAWICON(稳赚买>0,40,1);VarF:=REF(LOW,1)*0.9;Var10:=LOW*0.9;Var11:=(Var10*VOL+VarF*(CAPITAL-VOL))/CAPITAL;Var12:=EMA(Var11,30);Var13:=CLOSE-REF(CLOSE,1);Var14:=MAX(Var13,0);Var15:=ABS(Var13);Var16:=SMA(Var14,7,1)/SMA(Var15,7,1)*100;Var17:=SMA(Var14,13,1)/SMA(Var15,13,1)*100;Var18:=BARSCOUNT(CLOSE);Var19:=SMA(MAX(Var13,0),6,1)/SMA(ABS(Var13),6,1)*100;Var1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1C:=SMA((SMA(Var1B,4,1)-50)*2,3,1);Var1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1E:=SMA(Var1D,4,1);Var1F:=SMA(Var1E,3,1);Var20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var21:=Var19<=25 AND Var1A<-95 AND Var20>20 AND Var1C<-30 AND Var1F<30 AND Var12-CLOSE>=-0.25 AND Var16<22 AND Var17<28 AND Var18>50;超跌: STICKLINE(Var21,0,60,5,0);7、临界点{N: 1 100 7;M: 1 100 3;}TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);PDI: DMP*100/TR0;MDI: DMM*100/TR0;ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);ADXR:(ADX+REF(ADX,M))/2;预警:IF(ADX>90 AND PDI=0,30,0),COLORYELLOW,LINETHICK2;买:IF(CROSS(PDI,MDI) AND (C >1.05*REF(C,1) OR REF(C,1)>1.05*REF(C,2))AND (V>2*REF(V,1) OR REF(V,1)>2*REF(V,2))AND MA(V,5)>MA(V,60) ,20,0),COLORRED,LINETHICK2;买2:IF(CROSS(PDI,MDI) AND COUNT(预警,10)>=1,10,0),LINETHICK3;8、带黄金柱的量柱指标VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;量:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;AA4:=VOL<REF(LLV(VOL,100),1);STICKLINE(AA,0,V,0.05,0),COLORYELLOW;STICKLINE(AA1,0,V,0.05,0),COLORGREEN;STICKLINE(AA2,0,V,0.05,0),COLORMAGENTA;STICKLINE(AA3,0,V,0.05,0),COLORWHITE;STICKLINE(AA4,0,V,0.05,0),COLORBLUE;黄金柱:DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)REF(O,3) AND REF(V,3)>2*REF(V,4),V,8);M5:MA(VOL,5);M10:MA(VOL,10);M20:MA(VOL,20);。
黑马王子呕心沥血撰写出选股公式,一旦看懂,出手就是涨停大牛股
⿊马王⼦呕⼼沥⾎撰写出选股公式,⼀旦看懂,出⼿就是涨停⼤⽜股做投资选择很重要,趋势很重要,渠道很重要,技术很重要,⼼态同样也很重要。
良好的投资⼼态是投资者的重要法宝,每位投资者的投资预期、风险偏好、⾃控能⼒、市场和环境不同,反映在投资情绪上也是千差万别,直接影响到投资收益的最终实现。
股市要求要有⼀定的逻辑思维和悟性,这要求我们要有⾮常良好的⼼态,⽽好的⼼态⼀定也是离不开⼀套完善的研判体系和交易策略。
制胜三把斧:技术、原则、⼈性交易的真谛是什么呢?我想这是每⼀个参与市场的交易员都需要做出明确回答的问题。
我个⼈认为交易的真谛是:以⼩博⼤。
我这⾥所提到的“以⼩博⼤”,不是指平常我们所谈的保证⾦的杠杆作⽤,⽽是在交易中“如何⽤较⼩的亏损去搏击较⼤的利润”的问题。
以⼩博⼤的代名词便是投机,投机有⼴义与狭义之分。
⼴义的投机贯彻在我们⽣活中的⽅⽅⾯⾯,不仅期市中有投机,现货市场也有投机,甚⾄⼀个⽣命的⽣存过程,便是⼀个投机的过程。
单从⾦钱占有的⾓度来给投机下⼀个定义,便是:抓住机会,进⾏投资,以期获得⼏倍于投资的回报。
投机的⽬的⾮常明确,便是赚钱。
想归想,努⼒归努⼒,但事实是有的⼈赚了钱,有的却倒赔了本。
仔细分析⼀下,其实道理很简单:⼤多数赔钱的⼈没有学会以⼩博⼤。
炒股就是炒⼼理——暴炒伤⾝1.⾮理性⾏为中国证券市场建⽴以来,已经有⼗⼏年了,投资者也是从⽆到有,到⽬前已经是接近于亿级的投资⼤军了。
单单从投资⼈数量上看,已经是位居世界第⼀了,但从质量上看,提⾼投资者的素质已是刻不容缓的⼤事。
中国投资者存在的主要问题是整体的⾮理性,操作上情绪化严重,具体表现如下:(1)追涨杀跌由于对股票的价值不能做出相对准确的判断,既不会也懒得去判断,投资股票的理由⾮常简单,就是上涨获利。
表现在盘⾯上,那就是⼀旦某只股票出现⼤幅上涨时,⽴即就会引来⼤量的跟风盘,造成其在短时间内,股价会有⼤幅的上涨波动;相反的,那就是盲⽬地杀跌割⾁,这样⼀来,中国的股市就变成了在世界上波动率最⼤的市场了。
黑马王子量柱群指标公式
黑马王子量柱群指标公式(转)1.黑马王子黑马王子量柱群指标图VOLUME:VOL,VOLSTICK;降:COUNT(CLOSE>REF(CLOSE,1),2)=2 ANDCOUNT(VOL<REF(VOL,1),2)=2;STICKLINE(降,0,V,1,0),COLORGREEN;DRAWTEXT(降,VOL+3000,'降'),COLORGREEN;T:=DYNAINFO(8)>0;VO:VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLORBLUE;STICKLINE(地量柱,0,V,1,0),COLORBLUE;DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);STICKLINE(BLZ,0,V,1,0),COLORYELLOW;倍量柱:BLZ,COLORYELLOW;DRAWTEXT(倍量柱,VOL+3000,'倍'),COLORYELLOW; HJZ:=(3*C+H+L+O)/6;HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36; HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4; STICKLINE(黄金柱,0,V,1,0),COLORRED;DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED;价涨量缩:降,COLORGREEN;FLZ:=V>REF(V,1)*0.98 ANDV<REF(V,1)*1.02,LINETHICK0;STICKLINE(FLZ,0,V,1,0),COLORMAGENTA;DRAWTEXT(FLZ,VOL+3000,'平'),COLORMAGENTA;平量柱:FLZ,COLORMAGENTA;2MX:=EMA(C,2);MXA:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(MX>=MXA,REFDATE(HHV(H,130),DATE),REFD ATE(LLV(L,130),DATE),5,0),COLOR600020;STICKLINE(MX<MXA,REFDATE(HHV(H,130),DATE),REFDAT E(LLV(L,130),DATE),5,0),COLOR404050;DRAWKLINE(H,O,L,C);AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);趋势线MA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED; CC:=(CLOSE/趋势线);MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);MAAA:=((MA1-趋势线)/趋势线)/3;TMP:=MA1-MAAA*MA1;JJ:IF(TMP<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;XJ:IF(TMP<=趋势线,TMP,DRAWNULL),LINETHICK2,COLORBROWN;建仓:CROSS(MX,MXA),NODRAW;SEL:=CROSS(MXA,MX);DRAWICON(建仓,L-0.1,1);DRAWICON(SEL,H+0.1,2);DRAWTEXT(建仓,L-0.68,'↖建仓持股')COLORMAGENTA; DRAWTEXT(SEL,H+0.38,'↙清仓持币'),COLORBROWN; STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),COLORRED; STICKLINE(MX>=MXA,CLOSE,OPEN,3,1),COLORRED; STICKLINE(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(MX<MXA,CLOSE,OPEN,3,1),COLORGREEN; STICKLINE(建仓,OPEN,CLOSE,2,0),COLORYELLOW; STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBROWN;CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1;JD:=MA(CLOSE,18),COLORMAGENTA;DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1); DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'↖加仓'),COLORYELLOW;BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01; DRAWTE XT(FILTER(BL,3),H+0.2,'↙倍量柱')COLORYELLOW; STICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0),COLORYELLOW; XG:=SUMBARS(FILTER(BL,3),1);STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLORYELLOW;3.跟庄机构资金出入和建仓行为的实用副图VARA:=REF(LOW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100;VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);VARD:=LLV(LOW,30);VARE:=HHV(VARC,30);VARF:=IF(MA(CLOSE,58),1,0);VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618 *VARF;VARH:=IF(VARG>28,28,VARG);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) -LLV(LOW,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,0),COLORFF00FF,LINETHICK3; DRAWTEXT(买入时机,70.1,'跟庄'),COLORFF00FF;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;趋势: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),COLOR00FFFF;秘密买点: IF(趋势<=3,20,0),COLOR00FF00,LINETHICK3; 机构建仓: IF(趋势<5,40,0),COLORFFFFFF,LINETHICK3;4.涨停5基因{涨停5基因附图公式:}{1.百日低量群}百日地量:= V=LLV(V,100) AND V>0;倍量:= VOL>=REF(V,1)*1.9 AND C>REF(C,1);地量又倍量:COUNT(百日地量,5)>=1 AND COUNT(倍量,1)>=1;{2.倍量过左峰}N:=20;左峰高:=REF(HHV(C,N),1);倍量过左:REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高ANDC>OANDVOL/REF(VOL,1)>=1.9;{3.回踩黄金线}{1.黄金柱}JJ:=(3*C+H+L+O)/6;VAR1:=DMA(JJ,0.2);{VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;}TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,3);黄金线:=REF(LOW,BARSLAST(LJL));黄金柱:=FILTER(TJ1,3);{2.倍量过左峰}SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));{倍量:=VOL/REF(VOL,1)>=2 ANDCOUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) ANDVOL/REF(VOL,1)>=2;}突破前高:=CROSS(C,前高);倍量过左峰:= 突破前高AND 倍量; {3.凹口起柱}T7:=REF(VOL,6)/REF(VOL,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(VOL,2)/REF(VOL,3)>=1.5; T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);凹口起柱:= T7 AND T1 AND T0OR T6 ANDT1 AND T0OR T5 ANDT1 AND T0OR T4 ANDT1 AND T0OR T3 ANDT1 AND T0 ;{凹口起柱}AKQZ:= 黄金柱AND 凹口起柱; {4.前高低位}X:=21;TTY:=H;AAT:=REF(TTY,X)=HHV(TTY,2*X+1);BBT:=FILTER(AAT,X);CCT:=BACKSET(BBT,X+1);HD10T:=FILTER(CCT,X);前期高位:=REF(H,BARSLAST(HD10T));{突破前高}TPQG:= 黄金柱AND 倍量过左峰AND C>前期高位; {选股}回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10)) ANDCOUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线ANDC>REF(C,1) AND REF(C,2)>REF(C,1) ANDCOUNT(LJL,3)=0;{5.长阴短柱}长阴短柱: C/REF(C,1)<0.95 AND V<HHV(V,30)/1.9;{6.1 底同向精准}NN:=3;LL0:=0;L0:=LL0/100;L1:=ABS(L-REF(L,1))<=L0;L2:=ABS(L-REF(L,2))<=L0;L3:=ABS(L-REF(L,3))<=L0;L4:=ABS(L-REF(L,4))<=L0;L5:=ABS(L-REF(L,5))<=L0;精准线:=L1 OR L2 OR L3 OR L4 OR L5;底精准: FILTER(精准线,NN),COLORCYAN;{6.2 异向并肩精准线}异向并肩精准:MIN(O,C)=REF(MAX(O,C),1) ;{4.咬住峰顶线}FDX:=PEAK(1,10,1);{REF(HHV(H,60),5)};{上一波峰值} TJ:=BETWEEN(MA(H,3),FDX*0.997,FDX*1.02);咬住峰顶线: COUNT(TJ,3)>=2,COLORRED;5.启动买双阴卖启动点红买黄卖双阴出货COHL:=(C+O+H+L)/4;{算术均价}成交均价:=AMOUNT/VOL/100;TEST:=BETWEEN(成交均价,L,H);CC0:=IF(TEST,成交均价,COHL),COLORWHITE;{当均价远离算术均价时,用算术均价}CC:=FORCAST(CC0,5),COLORWHITE;EMA34:EMA(CC,34),COLORFFCC66;EMA21:EMA(CC,21),COLORGREEN;EMA13:EMA(CC,13),COLORBROWN;EMA5:EMA(EMA(CC,5),2),COLORYELLOW;TJ:= {C>O AND} ABS(EMA13-EMA5)<EMA5*0.01 ANDABS(EMA13-EMA21)<EMA21*0.01ANDABS(EMA34-EMA21)<EMA21*0.01ANDEMA5>REF(EMA5,1) AND EMA13>REF(EMA13,1) ANDEMA21>REF(EMA21,1) AND EMA34>REF(EMA34,1); 启动点:=FILTER(TJ,5);DRAWTEXT(启动点,L*0.95,'启动'),COLORMAGENTA;A1:=Ma(C,5);A2:=Ma(C,10); {可以自设均线,牛市21日线,熊市10日线}A3:=(A1+A2)/2;IF (A1>A2,A1,A3),Colorred,linethick2;IF (A1>A2,A2,A3),Colorred,linethick2;IF (A1<=A2,A1,A3),Color00ff00,linethick2;IF (A1<=A2,A2,A3),Color00ff00,linethick2;A3,colorwhite,linethick2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(84,RSI) ,h*1.03,5);DRAWICON(CROSS(RSI,11) ,l*0.99,4);Var27:=REF(CLOSE,1);Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100;DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5); DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),linethick7 , COLORff00ff;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7); VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100); aa:=SMA(VARF,3,1);ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79);DRAWTEXT((REF(BIAS18,1)>=5) ANDCROSS(VARJ,VARE) AND(aa>ss),h*1.02,''),LINETHICK7,colorgreen;Var1:=ZIG(3,10)<REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);Var2:=ZIG(3,10)>REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2; STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2; STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2; STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2; STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;双阴出货:=FILTER(COUNT(C<O,2)=2 ANDL<REF(C,1),5);DRAWTEXT(双阴出货,H*1.05,'双阴'),COLORYELLOW;6.黄金坑稳赚指标公式Var1:=MA(WINNER(CLOSE),9)*100;买!: CROSS(Var1,2)*30,COLOR0000FF ,LINETHICK3 ;Var2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;Var4:=SMA(Var3,9,1);Var5:=SMA(Var4,9,1);Var6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);Var7:=REF(Var6,1)>13 ANDREF(Var6,1)/Var6>1.23 ANDCLOSE/REF(CLOSE,1)>1.03;春笋: IF(Var7 ANDREF(CLOSE,1)<=COST(5),20,0),LINESTICK,COLOR00FF00,LINETHICK2;Var8:=MA(CLOSE,27);Var9:=(CLOSE-Var8)/Var8*100;VarA:=MA(Var9,2);VarB:=BARSLAST(CROSS(-10,VarA)=1);VarC:=BARSLAST(CROSS(VarA,10)=1);VarD:=VarA<-10 AND VarB>3;VarE:=VarA>10 AND VarC>3;黄金坑: IF(VarD,VarA,0),LINESTICK ,LINETHICK2, COLORYELLOW;财神到: IF(VarE,VarA,0),LINESTICK , COLORGREEN;稳赚买: IF(VarA>REF(VarA,1) AND VarD ANDVarA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF; DRAWICON(稳赚买>0,40,1);VarF:=REF(LOW,1)*0.9;Var10:=LOW*0.9;Var11:=(Var10*VOL+VarF*(CAPITAL-VOL))/CAPITAL; Var12:=EMA(Var11,30);Var13:=CLOSE-REF(CLOSE,1);Var14:=MAX(Var13,0);Var15:=ABS(Var13);Var16:=SMA(Var14,7,1)/SMA(Var15,7,1)*100;Var17:=SMA(Var14,13,1)/SMA(Var15,13,1)*100;Var18:=BARSCOUNT(CLOSE);Var19:=SMA(MAX(Var13,0),6,1)/SMA(ABS(Var13),6,1)*100;Var1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1C:=SMA((SMA(Var1B,4,1)-50)*2,3,1);Var1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1E:=SMA(Var1D,4,1);Var1F:=SMA(Var1E,3,1);Var20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var21:=Var19<=25 AND Var1A<-95 ANDVar20>20 AND Var1C<-30 AND Var1F<30 AND Var12-CLOSE>=-0.25 ANDVar16<22 AND Var17<28 AND Var18>50;超跌: STICKLINE(Var21,0,60,5,0);7、临界点{N: 1 100 7;M: 1 100 3;}TR0:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);PDI: DMP*100/TR0;MDI: DMM*100/TR0;ADX:MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);ADXR:(ADX+REF(ADX,M))/2;预警:IF(ADX>90 ANDPDI=0,30,0),COLORYELLOW,LINETHICK2;买:IF(CROSS(PDI,MDI) AND (C >1.05*REF(C,1) ORREF(C,1)>1.05*REF(C,2))AND (V>2*REF(V,1) OR REF(V,1)>2*REF(V,2))AND MA(V,5)>MA(V,60) ,20,0),COLORRED,LINETHICK2;买2:IF(CROSS(PDI,MDI) AND COUNT(预警,10)>=1,10,0),LINETHICK3;8、带黄金柱的量柱指标VVOL:IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 ANDPERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;量:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*1.91 &&C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;AA4:=VOL<REF(LLV(VOL,100),1);STICKLINE(AA,0,V,0.05,0),COLORYELLOW;STICKLINE(AA1,0,V,0.05,0),COLORGREEN;STICKLINE(AA2,0,V,0.05,0),COLORMAGENTA;STICKLINE(AA3,0,V,0.05,0),COLORWHITE; STICKLINE(AA4,0,V,0.05,0),COLORBLUE;黄金柱:DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)REF(O,3) AND REF(V,3)>2*REF(V,4),V,8); M5:MA(VOL,5);M10:MA(VOL,10);M20:MA(VOL,20);。
黑马王子公式.pdf
转自操盘手股票论坛1.黑马王子黑马王子量柱群指标图VOLUME:VOL,VOLSTICK;降:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;STICKLINE(降,0,V,1,0),COLORGREEN;DRAWTEXT(降,VOL+3000,'降'),COLORGREEN;T:=DYNAINFO(8)>0;VO:VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLORBLUE;STICKLINE(地量柱,0,V,1,0),COLORBLUE;DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);STICKLINE(BLZ,0,V,1,0),COLORYELLOW;倍量柱:BLZ,COLORYELLOW;DRAWTEXT(倍量柱,VOL+3000,'倍'),COLORYELLOW;HJZ:=(3*C+H+L+O)/6;HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+R EF(HJZ,8))/36;HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4;STICKLINE(黄金柱,0,V,1,0),COLORRED;DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED;价涨量缩:降,COLORGREEN;FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02,LINETHICK0;STICKLINE(FLZ,0,V,1,0),COLORMAGENTA;DRAWTEXT(FLZ,VOL+3000,'平'),COLORMAGENTA;平量柱:FLZ,COLORMAGENTA;转自操盘手股票论坛2、均线上的量柱公式MX:=EMA(C,2);MXA:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(MX>=MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR600020;STICKLINE(MX<MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR404050;DRAWKLINE(H,O,L,C);AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);趋势线MA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED;CC:=(CLOSE/趋势线);MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);MAAA:=((MA1-趋势线)/趋势线)/3;TMP:=MA1-MAAA*MA1;JJ:IF(TMP<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;XJ:IF(TMP<=趋势线,TMP,DRAWNULL),LINETHICK2,COLORBROWN;建仓:CROSS(MX,MXA),NODRAW;SEL:=CROSS(MXA,MX);DRAWICON(建仓,L-0.1,1);DRAWICON(SEL,H+0.1,2);DRAWTEXT(建仓,L-0.68,'↖建仓持股')COLORMAGENTA;DRAWTEXT(SEL,H+0.38,'↙清仓持币'),COLORBROWN;STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),COLORRED;STICKLINE(MX>=MXA,CLOSE,OPEN,3,1),COLORRED;STICKLINE(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(MX<MXA,CLOSE,OPEN,3,1),COLORGREEN;STICKLINE(建仓,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBROWN;CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1;JD:=MA(CLOSE,18),COLORMAGENTA;DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1);DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'↖加仓'),COLORYELLOW; BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;DRAWTEXT(FILTER(BL,3),H+0.2,'↙倍量柱')COLORYELLOW;STICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0),COLORYELLOW;XG:=SUMBARS(FILTER(BL,3),1);STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLORYELLOW;转自操盘手股票论坛3.跟庄机构资金出入和建仓行为的实用副图VARA:=REF(LOW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);VARD:=LLV(LOW,30);VARE:=HHV(VARC,30);VARF:=IF(MA(CLOSE,58),1,0);VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;VARH:=IF(VARG>28,28,VARG);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,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,0),COLORFF00FF,LINETHICK3;DRAWTEXT(买入时机,70.1,'跟庄'),COLORFF00FF;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;趋势: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),COLOR00FFFF;秘密买点: IF(趋势<=3,20,0),COLOR00FF00,LINETHICK3;机构建仓: IF(趋势<5,40,0),COLORFFFFFF,LINETHICK3;转自操盘手股票论坛4.涨停5基因{涨停5基因附图公式:}{1.百日低量群}百日地量:= V=LLV(V,100) AND V>0;倍量:= VOL>=REF(V,1)*1.9 AND C>REF(C,1);地量又倍量:COUNT(百日地量,5)>=1 AND COUNT(倍量,1)>=1;{2.倍量过左峰}N:=20;左峰高:=REF(HHV(C,N),1);倍量过左:REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高 AND C>OAND VOL/REF(VOL,1)>=1.9;{3.回踩黄金线}{1.黄金柱}JJ:=(3*C+H+L+O)/6;VAR1:=DMA(JJ,0.2);{VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;}TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,3);黄金线:=REF(LOW,BARSLAST(LJL));黄金柱:=FILTER(TJ1,3);{2.倍量过左峰}SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));AND {倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1)OR L OW>REF(HIGH,1) AND C OUNT(OPEN>CLOSE,1) VOL/REF(VOL,1)>=2;}突破前高:=CROSS(C,前高);倍量过左峰:= 突破前高 AND 倍量;{3.凹口起柱}T7:=REF(VOL,6)/REF(VOL,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(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);凹口起柱:= T7 AND T1 AND T0OR T6 AND T1 AND T0OR T5 AND T1 AND T0OR T4 AND T1 AND T0OR T3 AND T1 AND T0 ;{凹口起柱}AKQZ:= 黄金柱 AND 凹口起柱;{4.前高低位}X:=21;TTY:=H;AAT:=REF(TTY,X)=HHV(TTY,2*X+1);BBT:=FILTER(AAT,X);CCT:=BACKSET(BBT,X+1);HD10T:=FILTER(CCT,X);前期高位:=REF(H,BARSLAST(HD10T));{突破前高}TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位;{选股}回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10))AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0;{5.长阴短柱}长阴短柱: C/REF(C,1)<0.95 AND V<HHV(V,30)/1.9;{6.1 底同向精准}NN:=3;LL0:=0;L0:=LL0/100;L1:=ABS(L-REF(L,1))<=L0;L2:=ABS(L-REF(L,2))<=L0;L3:=ABS(L-REF(L,3))<=L0;L4:=ABS(L-REF(L,4))<=L0;L5:=ABS(L-REF(L,5))<=L0;精准线:=L1 OR L2 OR L3 OR L4 OR L5;底精准: FILTER(精准线,NN),COLORCYAN;{6.2 异向并肩精准线}异向并肩精准: MIN(O,C)=REF(MAX(O,C),1) ;{4.咬住峰顶线}FDX:=PEAK(1,10,1);{REF(HHV(H,60),5)};{上一波峰值}TJ:=BETWEEN(MA(H,3),FDX*0.997,FDX*1.02);咬住峰顶线: COUNT(TJ,3)>=2,COLORRED;5.启动买双阴卖启动点红买黄卖双阴出货COHL:=(C+O+H+L)/4;{算术均价}成交均价:=AMOUNT/VOL/100;TEST:=BETWEEN(成交均价,L,H);CC0:=IF(TEST,成交均价,COHL),COLORWHITE;{当均价远离算术均价时,用算术均价} CC:=FORCAST(CC0,5),COLORWHITE;EMA34:EMA(CC,34),COLORFFCC66;EMA21:EMA(CC,21),COLORGREEN;EMA13:EMA(CC,13),COLORBROWN;EMA5:EMA(EMA(CC,5),2),COLORYELLOW;TJ:= {C>O AND} ABS(EMA13-EMA5)<EMA5*0.01AND ABS(EMA13-EMA21)<EMA21*0.01AND ABS(EMA34-EMA21)<EMA21*0.01AND EMA5>REF(EMA5,1) AND EMA13>REF(EMA13,1)AND EMA21>REF(EMA21,1) AND EMA34>REF(EMA34,1);启动点:=FILTER(TJ,5);DRAWTEXT(启动点,L*0.95,'启动'),COLORMAGENTA;A1:=Ma(C,5);A2:=Ma(C,10); {可以自设均线,牛市21日线,熊市10日线}A3:=(A1+A2)/2;IF (A1>A2,A1,A3),Colorred,linethick2;IF (A1>A2,A2,A3),Colorred,linethick2;IF (A1<=A2,A1,A3),Color00ff00,linethick2;IF (A1<=A2,A2,A3),Color00ff00,linethick2;A3,colorwhite,linethick2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(84,RSI) ,h*1.03,5);DRAWICON(CROSS(RSI,11) ,l*0.99,4);Var27:=REF(CLOSE,1);Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100; DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),linethick7 , COLORff00ff;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);aa:=SMA(VARF,3,1);ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79);DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND(aa>ss),h*1.02,''),LINETHICK7,colorgreen;Var1:=ZIG(3,10)<REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);Var2:=ZIG(3,10)>REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;双阴出货:=FILTER(COUNT(C<O,2)=2 AND L<REF(C,1),5);DRAWTEXT(双阴出货,H*1.05,'双阴'),COLORYELLOW;6.黄金坑稳赚指标公式Var1:=MA(WINNER(CLOSE),9)*100;买!: CROSS(Var1,2)*30,COLOR0000FF ,LINETHICK3 ;Var2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;Var4:=SMA(Var3,9,1);Var5:=SMA(Var4,9,1);Var6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);Var7:=REF(Var6,1)>13 AND REF(Var6,1)/Var6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;春笋: IF(Var7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETHICK2;Var8:=MA(CLOSE,27);Var9:=(CLOSE-Var8)/Var8*100;VarA:=MA(Var9,2);VarB:=BARSLAST(CROSS(-10,VarA)=1);VarC:=BARSLAST(CROSS(VarA,10)=1);VarD:=VarA<-10 AND VarB>3;VarE:=VarA>10 AND VarC>3;黄金坑: IF(VarD,VarA,0),LINESTICK ,LINETHICK2, COLORYELLOW;财神到: IF(VarE,VarA,0),LINESTICK , COLORGREEN;稳赚买: IF(VarA>REF(VarA,1) AND VarD AND VarA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF; DRAWICON(稳赚买>0,40,1);VarF:=REF(LOW,1)*0.9;Var10:=LOW*0.9;Var11:=(Var10*VOL+VarF*(CAPITAL-VOL))/CAPITAL;Var12:=EMA(Var11,30);Var13:=CLOSE-REF(CLOSE,1);Var14:=MAX(Var13,0);Var15:=ABS(Var13);Var16:=SMA(Var14,7,1)/SMA(Var15,7,1)*100;Var17:=SMA(Var14,13,1)/SMA(Var15,13,1)*100;Var18:=BARSCOUNT(CLOSE);Var19:=SMA(MAX(Var13,0),6,1)/SMA(ABS(Var13),6,1)*100;Var1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1C:=SMA((SMA(Var1B,4,1)-50)*2,3,1);Var1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1E:=SMA(Var1D,4,1);Var1F:=SMA(Var1E,3,1);Var20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var21:=Var19<=25 AND Var1A<-95 AND Var20>20 AND Var1C<-30 AND Var1F<30 AND Var12-CLOSE>=-0.25 AND Var16<22 AND Var17<28 AND Var18>50;超跌: STICKLINE(Var21,0,60,5,0);7、临界点{N: 1 100 7;M: 1 100 3;}TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);PDI: DMP*100/TR0;MDI: DMM*100/TR0;ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);ADXR:(ADX+REF(ADX,M))/2;预警:IF(ADX>90 AND PDI=0,30,0),COLORYELLOW,LINETHICK2;买:IF(CROSS(PDI,MDI) AND (C >1.05*REF(C,1) OR REF(C,1)>1.05*REF(C,2))AND (V>2*REF(V,1) OR REF(V,1)>2*REF(V,2))AND MA(V,5)>MA(V,60) ,20,0),COLORRED, LINETHICK2;买2:IF(CROSS(PDI,MDI) AND COUNT(预警,10)>=1,10,0),LINETHICK3;8、带黄金柱的量柱指标VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;量:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;AA4:=VOL<REF(LLV(VOL,100),1);STICKLINE(AA,0,V,0.05,0),COLORYELLOW;STICKLINE(AA1,0,V,0.05,0),COLORGREEN;STICKLINE(AA2,0,V,0.05,0),COLORMAGENTA;STICKLINE(AA3,0,V,0.05,0),COLORWHITE;STICKLINE(AA4,0,V,0.05,0),COLORBLUE;黄金柱:DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)REF(O,3) AND REF(V,3)>2*REF(V,4),V,8); M5:MA(VOL,5);M10:MA(VOL,10);M20:MA(VOL,20);。
凹口平量柱选股及副图公式
凹口平量柱选股及副图公式选股公式:{特别鸣谢:黑马王子。
此公式设计理念源自黑马王子。
此公式可同时选出7日-12日间的所以凹口平量柱。
} {使用副图指标,可以显示出各平量柱的时间段的长度} XGX7:=ABS((VOL-REF(VOL,7))/REF(VOL,7))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,7) ANDREF(VOL,2)<REF(VOL,7) ANDREF(VOL,3)<REF(VOL,7) ANDREF(VOL,(7-3))<REF(VOL,7) ANDREF(VOL,(7-2))<REF(VOL,7) ANDREF(VOL,(7-1))<REF(VOL,7);XGX8:=ABS((VOL-REF(VOL,8))/REF(VOL,8))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,8) ANDREF(VOL,2)<REF(VOL,8) ANDREF(VOL,3)<REF(VOL,8) ANDREF(VOL,(8-3))<REF(VOL,8) ANDREF(VOL,(8-2))<REF(VOL,8) ANDREF(VOL,(8-1))<REF(VOL,8);XGX9:=ABS((VOL-REF(VOL,9))/REF(VOL,9))<0.04 AND VOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,9) ANDREF(VOL,2)<REF(VOL,9) ANDREF(VOL,3)<REF(VOL,9) ANDREF(VOL,(9-3))<REF(VOL,9) ANDREF(VOL,(9-2))<REF(VOL,9) ANDREF(VOL,(9-1))<REF(VOL,9);XGX10:=ABS((VOL-REF(VOL,10))/REF(VOL,10))<0.04 ANDVOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,10) ANDREF(VOL,2)<REF(VOL,10) ANDREF(VOL,3)<REF(VOL,10) ANDREF(VOL,(10-3))<REF(VOL,10) ANDREF(VOL,(10-2))<REF(VOL,10) ANDREF(VOL,(10-1))<REF(VOL,10);XGX11:=ABS((VOL-REF(VOL,11))/REF(VOL,11))<0.04 ANDVOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,11) ANDREF(VOL,2)<REF(VOL,11) ANDREF(VOL,3)<REF(VOL,11) ANDREF(VOL,(11-3))<REF(VOL,11) ANDREF(VOL,(11-2))<REF(VOL,11) ANDREF(VOL,(11-1))<REF(VOL,11);XGX12:=ABS((VOL-REF(VOL,12))/REF(VOL,12))<0.04 ANDVOL>1.8*REF(VOL,2) ANDREF(VOL,1)<REF(VOL,12) ANDREF(VOL,2)<REF(VOL,12) ANDREF(VOL,3)<REF(VOL,12) ANDREF(VOL,(12-3))<REF(VOL,12) ANDREF(VOL,(12-2))<REF(VOL,12) ANDREF(VOL,(12-1))<REF(VOL,12);XGX30:=(C-REF(C,1))>0 AND C>O;xgx31:=xgx7=1 or xgx8=1 or xgx9=1 or xgx10=1 or xgx11=1 or xgx12=1;XGX: XGX31=1 AND XGX30=1;========================================副图公式:{凹口平量柱副图指标公式}{特别鸣谢:黑马王子。
黑马王子公式(2020年10月整理).pdf
转自操盘手股票论坛1.黑马王子黑马王子量柱群指标图VOLUME:VOL,VOLSTICK;降:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2;STICKLINE(降,0,V,1,0),COLORGREEN;DRAWTEXT(降,VOL+3000,'降'),COLORGREEN;T:=DYNAINFO(8)>0;VO:VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLORBLUE;STICKLINE(地量柱,0,V,1,0),COLORBLUE;DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);STICKLINE(BLZ,0,V,1,0),COLORYELLOW;倍量柱:BLZ,COLORYELLOW;DRAWTEXT(倍量柱,VOL+3000,'倍'),COLORYELLOW;HJZ:=(3*C+H+L+O)/6;HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+R EF(HJZ,8))/36;HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4;STICKLINE(黄金柱,0,V,1,0),COLORRED;DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED;价涨量缩:降,COLORGREEN;FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02,LINETHICK0;STICKLINE(FLZ,0,V,1,0),COLORMAGENTA;DRAWTEXT(FLZ,VOL+3000,'平'),COLORMAGENTA;平量柱:FLZ,COLORMAGENTA;转自操盘手股票论坛2、均线上的量柱公式MX:=EMA(C,2);MXA:=EMA(SLOPE(C,21)*20+C,42);STICKLINE(MX>=MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR600020;STICKLINE(MX<MXA,REFDATE(HHV(H,130),DATE),REFDATE(LLV(L,130),DATE),5,0),COLOR404050;DRAWKLINE(H,O,L,C);AA:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);趋势线MA((2*CLOSE+LOW+HIGH)/4,AA),LINETHICK3,COLORRED;CC:=(CLOSE/趋势线);MA1:=MA(CC*(2*CLOSE+HIGH+LOW)/4,3);MAAA:=((MA1-趋势线)/趋势线)/3;TMP:=MA1-MAAA*MA1;JJ:IF(TMP<=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;XJ:IF(TMP<=趋势线,TMP,DRAWNULL),LINETHICK2,COLORBROWN;建仓:CROSS(MX,MXA),NODRAW;SEL:=CROSS(MXA,MX);DRAWICON(建仓,L-0.1,1);DRAWICON(SEL,H+0.1,2);DRAWTEXT(建仓,L-0.68,'↖建仓持股')COLORMAGENTA;DRAWTEXT(SEL,H+0.38,'↙清仓持币'),COLORBROWN;STICKLINE(MX>=MXA,LOW,HIGH,0.0,1),COLORRED;STICKLINE(MX>=MXA,CLOSE,OPEN,3,1),COLORRED;STICKLINE(MX<MXA,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(MX<MXA,CLOSE,OPEN,3,1),COLORGREEN;STICKLINE(建仓,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBROWN;CP:=MA(CLOSE,9),COLORCYAN,LINETHICK1;JD:=MA(CLOSE,18),COLORMAGENTA;DRAWICON(CROSS(CP,JD) AND MX>=MXA,JD-0.1,1);DRAWTEXT(CROSS(CP,JD) AND MX>=MXA,JD-0.38,'↖加仓'),COLORYELLOW; BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;DRAWTEXT(FILTER(BL,3),H+0.2,'↙倍量柱')COLORYELLOW;STICKLINE(FILTER(BL,3),OPEN,CLOSE,1.5,0),COLORYELLOW;XG:=SUMBARS(FILTER(BL,3),1);STICKLINE(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLORYELLOW;转自操盘手股票论坛3.跟庄机构资金出入和建仓行为的实用副图VARA:=REF(LOW,1);VARB:=SMA(ABS(LOW-VARA),3,1)/SMA(MAX(LOW-VARA,0),3,1)*100; VARC:=EMA(IF(CLOSE*1.3,VARB*10,VARB/10),3);VARD:=LLV(LOW,30);VARE:=HHV(VARC,30);VARF:=IF(MA(CLOSE,58),1,0);VARG:=EMA(IF(LOW<=VARD,(VARC+VARE*2)/2,0),3)/618*VARF;VARH:=IF(VARG>28,28,VARG);RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,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,0),COLORFF00FF,LINETHICK3; DRAWTEXT(买入时机,70.1,'跟庄'),COLORFF00FF;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买:EMA((VA-VB)/(VC-VB)*100,5),COLORRED;红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;趋势: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),COLOR00FFFF;秘密买点: IF(趋势<=3,20,0),COLOR00FF00,LINETHICK3;机构建仓: IF(趋势<5,40,0),COLORFFFFFF,LINETHICK3;转自操盘手股票论坛4.涨停5基因{涨停5基因附图公式:}{1.百日低量群}百日地量:= V=LLV(V,100) AND V>0;倍量:= VOL>=REF(V,1)*1.9 AND C>REF(C,1);地量又倍量:COUNT(百日地量,5)>=1 AND COUNT(倍量,1)>=1;{2.倍量过左峰}N:=20;左峰高:=REF(HHV(C,N),1);倍量过左:REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高 AND C>OAND VOL/REF(VOL,1)>=1.9;{3.回踩黄金线}{1.黄金柱}JJ:=(3*C+H+L+O)/6;VAR1:=DMA(JJ,0.2);{VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;}TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1);LJL:=FILTER(TJ1,3);黄金线:=REF(LOW,BARSLAST(LJL));黄金柱:=FILTER(TJ1,3);{2.倍量过左峰}SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));{倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;}突破前高:=CROSS(C,前高);倍量过左峰:= 突破前高 AND 倍量;{3.凹口起柱}T7:=REF(VOL,6)/REF(VOL,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(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);凹口起柱:= T7 AND T1 AND T0OR T6 AND T1 AND T0OR T5 AND T1 AND T0OR T4 AND T1 AND T0OR T3 AND T1 AND T0 ;{凹口起柱}AKQZ:= 黄金柱 AND 凹口起柱;{4.前高低位}X:=21;TTY:=H;AAT:=REF(TTY,X)=HHV(TTY,2*X+1);BBT:=FILTER(AAT,X);CCT:=BACKSET(BBT,X+1);HD10T:=FILTER(CCT,X);前期高位:=REF(H,BARSLAST(HD10T));{突破前高}TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位;{选股}回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10))AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0;{5.长阴短柱}长阴短柱: C/REF(C,1)<0.95 AND V<HHV(V,30)/1.9;{6.1 底同向精准}NN:=3;LL0:=0;L0:=LL0/100;L1:=ABS(L-REF(L,1))<=L0;L2:=ABS(L-REF(L,2))<=L0;L3:=ABS(L-REF(L,3))<=L0;L4:=ABS(L-REF(L,4))<=L0;L5:=ABS(L-REF(L,5))<=L0;精准线:=L1 OR L2 OR L3 OR L4 OR L5;底精准: FILTER(精准线,NN),COLORCYAN;{6.2 异向并肩精准线}异向并肩精准: MIN(O,C)=REF(MAX(O,C),1) ;{4.咬住峰顶线}FDX:=PEAK(1,10,1);{REF(HHV(H,60),5)};{上一波峰值}TJ:=BETWEEN(MA(H,3),FDX*0.997,FDX*1.02);咬住峰顶线: COUNT(TJ,3)>=2,COLORRED;5.启动买双阴卖启动点红买黄卖双阴出货COHL:=(C+O+H+L)/4;{算术均价}成交均价:=AMOUNT/VOL/100;TEST:=BETWEEN(成交均价,L,H);CC0:=IF(TEST,成交均价,COHL),COLORWHITE;{当均价远离算术均价时,用算术均价} CC:=FORCAST(CC0,5),COLORWHITE;EMA34:EMA(CC,34),COLORFFCC66;EMA21:EMA(CC,21),COLORGREEN;EMA13:EMA(CC,13),COLORBROWN;EMA5:EMA(EMA(CC,5),2),COLORYELLOW;TJ:= {C>O AND} ABS(EMA13-EMA5)<EMA5*0.01AND ABS(EMA13-EMA21)<EMA21*0.01AND ABS(EMA34-EMA21)<EMA21*0.01AND EMA5>REF(EMA5,1) AND EMA13>REF(EMA13,1)AND EMA21>REF(EMA21,1) AND EMA34>REF(EMA34,1);启动点:=FILTER(TJ,5);DRAWTEXT(启动点,L*0.95,'启动'),COLORMAGENTA;A1:=Ma(C,5);A2:=Ma(C,10); {可以自设均线,牛市21日线,熊市10日线}A3:=(A1+A2)/2;IF (A1>A2,A1,A3),Colorred,linethick2;IF (A1>A2,A2,A3),Colorred,linethick2;IF (A1<=A2,A1,A3),Color00ff00,linethick2;IF (A1<=A2,A2,A3),Color00ff00,linethick2;A3,colorwhite,linethick2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;DRAWICON(CROSS(84,RSI) ,h*1.03,5);DRAWICON(CROSS(RSI,11) ,l*0.99,4);Var27:=REF(CLOSE,1);Var28:=SMA(MAX(CLOSE-Var27,0),5.5,1)/SMA(ABS(CLOSE-Var27),6,1)*100; DRAWICON(IF(CROSS(76,Var28),1,0),h*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0AND EMA(CLOSE,12)/LOW>1.15,5),LOW,''),linethick7 , COLORff00ff;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100);VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);aa:=SMA(VARF,3,1);ss:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (aa>79);DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND(aa>ss),h*1.02,''),LINETHICK7,colorgreen;Var1:=ZIG(3,10)<REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);Var2:=ZIG(3,10)>REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(Var1,C,O,8,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(Var1,H,L,1,0),COLORYELLOW,LINETHICK2;STICKLINE(Var2,C,O,8,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,C,O,3,0),COLORFF00FF,LINETHICK2;STICKLINE(Var2,H,L,1,0),COLORFF00FF,LINETHICK2;双阴出货:=FILTER(COUNT(C<O,2)=2 AND L<REF(C,1),5);DRAWTEXT(双阴出货,H*1.05,'双阴'),COLORYELLOW;6.黄金坑稳赚指标公式Var1:=MA(WINNER(CLOSE),9)*100;买!: CROSS(Var1,2)*30,COLOR0000FF ,LINETHICK3 ;Var2:=(1-EMA((HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15)),15))*100;Var3:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;Var4:=SMA(Var3,9,1);Var5:=SMA(Var4,9,1);Var6:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);Var7:=REF(Var6,1)>13 AND REF(Var6,1)/Var6>1.23 AND CLOSE/REF(CLOSE,1)>1.03;春笋: IF(Var7 AND REF(CLOSE,1)<=COST(5),20,0),LINESTICK ,COLOR00FF00,LINETHICK2;Var8:=MA(CLOSE,27);Var9:=(CLOSE-Var8)/Var8*100;VarA:=MA(Var9,2);VarB:=BARSLAST(CROSS(-10,VarA)=1);VarC:=BARSLAST(CROSS(VarA,10)=1);VarD:=VarA<-10 AND VarB>3;VarE:=VarA>10 AND VarC>3;黄金坑: IF(VarD,VarA,0),LINESTICK ,LINETHICK2, COLORYELLOW;财神到: IF(VarE,VarA,0),LINESTICK , COLORGREEN;稳赚买: IF(VarA>REF(VarA,1) AND VarD AND VarA<-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF; DRAWICON(稳赚买>0,40,1);VarF:=REF(LOW,1)*0.9;Var10:=LOW*0.9;Var11:=(Var10*VOL+VarF*(CAPITAL-VOL))/CAPITAL;Var12:=EMA(Var11,30);Var13:=CLOSE-REF(CLOSE,1);Var14:=MAX(Var13,0);Var15:=ABS(Var13);Var16:=SMA(Var14,7,1)/SMA(Var15,7,1)*100;Var17:=SMA(Var14,13,1)/SMA(Var15,13,1)*100;Var18:=BARSCOUNT(CLOSE);Var19:=SMA(MAX(Var13,0),6,1)/SMA(ABS(Var13),6,1)*100;Var1A:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1B:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1C:=SMA((SMA(Var1B,4,1)-50)*2,3,1);Var1D:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1E:=SMA(Var1D,4,1);Var1F:=SMA(Var1E,3,1);Var20:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var21:=Var19<=25 AND Var1A<-95 AND Var20>20 AND Var1C<-30 AND Var1F<30 AND Var12-CLOSE>=-0.25 AND Var16<22 AND Var17<28 AND Var18>50;超跌: STICKLINE(Var21,0,60,5,0);7、临界点{N: 1 100 7;M: 1 100 3;}TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),N);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),N);PDI: DMP*100/TR0;MDI: DMM*100/TR0;ADX: MA(ABS(MDI-PDI)/(MDI+PDI)*100,M);ADXR:(ADX+REF(ADX,M))/2;预警:IF(ADX>90 AND PDI=0,30,0),COLORYELLOW,LINETHICK2;买:IF(CROSS(PDI,MDI) AND (C >1.05*REF(C,1) OR REF(C,1)>1.05*REF(C,2))AND (V>2*REF(V,1) OR REF(V,1)>2*REF(V,2))AND MA(V,5)>MA(V,60) ,20,0),COLORRED, LINETHICK2;买2:IF(CROSS(PDI,MDI) AND COUNT(预警,10)>=1,10,0),LINETHICK3;8、带黄金柱的量柱指标VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;量:VOL,VOLSTICK;AA:=VOL>=REF(V,1)*1.91 && C>REF(C,1);AA1:=VOL<REF(LLV(VOL,21),1);AA2:=VOL<REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05;AA4:=VOL<REF(LLV(VOL,100),1);STICKLINE(AA,0,V,0.05,0),COLORYELLOW;STICKLINE(AA1,0,V,0.05,0),COLORGREEN;STICKLINE(AA2,0,V,0.05,0),COLORMAGENTA;STICKLINE(AA3,0,V,0.05,0),COLORWHITE;STICKLINE(AA4,0,V,0.05,0),COLORBLUE;黄金柱:DRAWICON(LLV(L,3)>REF(L,3) AND HHV(V,3)REF(O,3) AND REF(V,3)>2*REF(V,4),V,8); M5:MA(VOL,5);M10:MA(VOL,10);M20:MA(VOL,20);。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
STICKLINE(倍缩,0,V*0.45,1,0),COLORMAGENTA;
STICKLINE(C<O AND C>REF(C,1),0,V,0,0),COLORRED;{假阴柱}
真阳或假阴:=C>O OR C>REF(C,1);
低量50: VOL=LLV(VOL,蓝低量) AND BARSCOUNT(V)>=蓝低量,COLORBLUE,NODRAW;
地量: VOL=LLV(VOL,灰低量) AND BARSCOUNT(V)>=灰低量,COLORGRAY,NODRAW;
V1:=VOL*0.9;{图标位置}
V2:=VOL*0.8;
{VOL_量柱}
{看图说明:黄色为倍量柱,白色为并肩平量柱,紫色为缩倍柱,
绿色为10天低量柱,蓝色为50天低量柱,灰色为百日低量柱,
高量柱容易看无标记,!为长阴短柱, 内有红实线为假阴柱。
红色箭头(的前三天)为黄金柱。次黄金柱难判,不标记}
绿低量:=13;{WEN98编制}
蓝低量:=55;
STICKLINE(倍量, 0,V1,1,0),COLORYELLOW;
STICKLINE(平量,0,V1,1,0),COLORWHITE;
STICKLINE(低量10,0,V2,1,0),COLORLIGREEN;
STICKLINE(低量50,0,V2,1,0),COLORBLUE;
异动135:MA(V,135),COLORMAGENTA;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);{模拟量}
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,1,-1),COLOR00C0C0;
收阳:= R);
高量:=REF(V,3)>=HHV(V,7);
三日不破:= LLV(C,3)>=REF(L,3);
价升:=COUNT(C>=REF(C,1),3)=3;{收盘价逐升}
量缩:=COUNT(V<=REF(V,1),3)=3;
连阳:= COUNT(真阳或假阴,3)=3;
倍量将军柱:= 倍量1 AND 三日不破 AND 收阳;
高量将军柱:= 高量 AND 三日不破 AND 收阳;
将军柱:= 倍量将军柱 OR 高量将军柱;
黄金柱:= 将军柱 AND 价升 AND 量缩 AND 连阳 ;
STICKLINE(黄金柱,0.3*V,0.7*V,1,0),COLORRED; {红柱}
灰低量:=100;
{--------VOL.量能饱和---不懂就去-----} N1:=21;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
量能饱和:IF(SAT>1,1,SAT)*100,COLOR00AAFF,NODRAW;
中点:=REFDATE(HHV(V,180)*0.5,DATE);
{=====================================================}
H_L:=0.1*CONST(HHV(VOL,240));
{MAV10:MA(V,10),COLORYELLOW;}
启动5:MA(V,5),COLORWHITE;
洗盘40:MA(V,40),COLORBLUE;
量:VOL,VOLSTICK;
换手: VOL*10000/FINANCE(7),NODRAW; {DYNAINFO(37)*100}
换10T: SUM(换手,10),NODRAW;
倍数:=1.9;
倍量: VOL>=REF(V,1)*倍数 AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW;
长阴短柱:=C/REF(C,1)<=0.96 AND V<HHV(V,30)/1.9;
DRAWTEXT(长阴短柱 ,V+1.6*H_L,'!'),COLORLICYAN;
倍缩: REF(V,1)>=VOL*倍数,COLORMAGENTA,NODRAW;
平量: RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW;
低量10: VOL=LLV(VOL,绿低量) AND BARSCOUNT(V)>=绿低量,COLORGREEN,NODRAW;
STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00AAFF;
STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0077FF;
DRAWTEXT(CURRBARSCOUNT=N1+3,中点*1.8,'饱和度'),COLORYELLOW;
DRAWICON(黄金柱,V*1.5,1);
V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100;
百日地量群:=COUNT(V100,5)>=3;
DRAWTEXT(FILTER(百日地量群,4),V+3*H_L,'地量群'),COLORGRAY;