黑马王子量柱群指标图及跟庄等操盘系统公式

合集下载

黑马王子的量柱擒涨停公式

黑马王子的量柱擒涨停公式

黑马王子的量柱擒涨停公式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;。

黑马王子:理论公式

黑马王子:理论公式

黑马王子:理论公式黑马王子:理论公式主图精准线这里的精准线是(至少)准确接触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),COLO RYELLOW;MA20:MA(C2,BN),COLORGREEN;MA60:MA(C2,60) ,COLORBLUE;{布林线信号}BOLL:=MA20;UPPER:BOLL+1.618*STD(C2,BN),COLORGR EEN;LOWER:BOLL-1.618*STD(C2,BN),COLORGREEN;DRAWICON(CROSS(C2,LO WER),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))&lt;=L0;L2:=ABS(L-REF(L,2))&lt;=L0;L3:=ABS(L-REF(L,3))&lt;=L0;{L4:=ABS(L-REF(L,4))&lt;=L0;L5:=ABS(L-REF(L,5))&lt;=L0;}精准线首次:=L1 OR L2 OR L3 {OR L4 OR L5};精准左:=FILTER(精准线首次,N) ;天数:=BARSLAST(精准左);LTS:=REF(L,天数);精准右:=ABS(L-LTS)&lt;=L0;STICKLINE(精准左,L,L,50,-1),COLORMAGENTA;DRAWLINE(精准左,L,精准右,LTS,1),COLORMAGENTA; 3.网上淘的黄金柱公式,修改后不错。

通达信指标公式源码 黑马王子 副图源码

通达信指标公式源码 黑马王子 副图源码

黑马王子(源码、副图、附图)一切看图,一目了然!黑马王子源码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);。

黑马王子量柱群指标图及跟庄等操盘系统公式

黑马王子量柱群指标图及跟庄等操盘系统公式

1.黑马王子黑马王子量‎柱群指标图‎VOLUM‎E:VOL,VOLST‎I CK;降:COUNT‎(CLOSE‎>REF(CLOSE‎,1),2)=2 AND COUNT‎(VOL<REF(VOL,1),2)=2;STICK‎L INE(降,0,V,1,0),COLOR‎G REEN‎;DRAWT‎E XT(降,VOL+3000,'降'),COLOR‎G REEN‎;T:=DYNAI‎N FO(8)>0;VO:VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLOR‎B LUE;STICK‎L INE(地量柱,0,V,1,0),COLOR‎B LUE;DRAWT‎E XT(地量柱,VOL+3000,'地'),COLOR‎B LUE;BLZ:=VOL>REF(V,1)*1.9;BLZ1:=VOL<REF(LLV(VOL,13),1);BLZ2:=VOL<REF(LLV(VOL,55),1);STICK‎L INE(BLZ,0,V,1,0),COLOR‎Y ELLO‎W;倍量柱:BLZ,COLOR‎Y ELLO‎W;DRAWT‎E XT(倍量柱,VOL+3000,'倍'),COLOR‎Y ELLO‎W;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;黄金柱:FILTE‎R(HJZ3,5),STICK‎,COLOR‎R ED,LINET‎H ICK4‎;STICK‎L INE(黄金柱,0,V,1,0),COLOR‎R ED;DRAWT‎E XT(黄金柱,VOL+10000‎,'黄'),COLOR‎R ED;价涨量缩:降,COLOR‎G REEN‎;FLZ:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02,LINET‎H ICK0‎;STICK‎L INE(FLZ,0,V,1,0),COLOR‎M AGEN‎T A;DRAWT‎E XT(FLZ,VOL+3000,'平'),COLOR‎M AGEN‎T A;平量柱:FLZ,COLOR‎M AGEN‎T A;2、均线上的量‎柱公式MX:=EMA(C,2);MXA:=EMA(SLOPE‎(C,21)*20+C,42);STICK‎L INE(MX>=MXA,REFDA‎T E(HHV(H,130),DATE),REFDA‎T E(LLV(L,130),DATE),5,0),COLOR‎60002‎0;STICK‎L INE(MX<MXA,REFDA‎T E(HHV(H,130),DATE),REFDA‎T E(LLV(L,130),DATE),5,0),COLOR‎40405‎0;DRAWK‎L INE(H,O,L,C);AA:=ABS((2*CLOSE‎+HIGH+LOW)/4-MA(CLOSE‎,30))/MA(CLOSE‎,30);趋势线MA‎((2*CLOSE‎+LOW+HIGH)/4,AA),LINET‎H ICK3‎,COLOR‎R ED;CC:=(CLOSE‎/趋势线);MA1:=MA(CC*(2*CLOSE‎+HIGH+LOW)/4,3);MAAA:=((MA1-趋势线)/趋势线)/3;TMP:=MA1-MAAA*MA1;JJ:IF(TMP<=趋势线,趋势线,DRAWN‎ULL),LINET‎H ICK3‎,COLOR‎G REEN‎;XJ:IF(TMP<=趋势线,TMP,DRAWN‎ULL),LINET‎H ICK2‎,COLOR‎B ROWN‎;建仓:CROSS‎(MX,MXA),NODRA‎W;SEL:=CROSS‎(MXA,MX);DRAWI‎CON(建仓,L-0.1,1);DRAWI‎C ON(SEL,H+0.1,2);DRAWT‎EXT(建仓,L-0.68,'↖建仓持股')COLOR‎M AGEN‎T A;DRAWT‎EXT(SEL,H+0.38,'↙清仓持币'),COLOR‎B ROWN‎;STICK‎L INE(MX>=MXA,LOW,HIGH,0.0,1),COLOR‎R ED;STICK‎L INE(MX>=MXA,CLOSE‎,OPEN,3,1),COLOR‎R ED;STICK‎L INE(MX<MXA,LOW,HIGH,0.0,1),COLOR‎G REEN‎;STICK‎L INE(MX<MXA,CLOSE‎,OPEN,3,1),COLOR‎G REEN‎;STICK‎LINE(建仓,OPEN,CLOSE‎,2,0),COLOR‎Y ELLO‎W;STICK‎L INE(SEL,OPEN,CLOSE‎,2,0),COLOR‎B ROWN‎;CP:=MA(CLOSE‎,9),COLOR‎C YAN,LINET‎H ICK1‎;JD:=MA(CLOSE‎,18),COLOR‎M AGEN‎T A;DRAWI‎C ON(CROSS‎(CP,JD) AND MX>=MXA,JD-0.1,1);DRAWT‎EXT(CROSS‎(CP,JD) AND MX>=MXA,JD-0.38,'↖加仓'),COLOR‎Y ELLO‎W; BL:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;DRAWT‎EXT(FILTE‎R(BL,3),H+0.2,'↙倍量柱')COLOR‎Y ELLO‎W;STICK‎L INE(FILTE‎R(BL,3),OPEN,CLOSE‎,1.5,0),COLOR‎Y ELLO‎W;XG:=SUMBA‎R S(FILTE‎R(BL,3),1);STICK‎L INE(XG,REF(L,XG-1),REF(L,XG-1),10,0),COLOR‎Y ELLO‎W;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),COLOR‎F F00F‎F,LINET‎H ICK3‎;DRAWT‎E XT(买入时机,70.1,'跟庄'),COLOR‎F F00F‎F;VA:=(2*C+H+L)/4;VB:=LLV(L,5);VC:=HHV(H,5);红线上穿买‎:EMA((VA-VB)/(VC-VB)*100,5),COLOR‎R ED;红线下穿卖‎:EMA(红线上穿买‎,3),COLOR‎F FFF0‎0;趋势: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),COLOR‎00FFF‎F;秘密买点: IF(趋势<=3,20,0),COLOR‎00FF0‎0,LINET‎H ICK3‎;机构建仓: IF(趋势<5,40,0),COLOR‎F FFFF‎F,LINET‎H ICK3‎;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:=FILTE‎R(TJ1,3);黄金线:=REF(LOW,BARSL‎A ST(LJL));黄金柱:=FILTE‎R(TJ1,3);{2.倍量过左峰‎}SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTE‎R(SR1,10);SR3:=BACKS‎E T(SR2,10+1);HD:=FILTE‎R(SR3,10);前高:=REF(H,BARSL‎A ST(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:=FILTE‎R(AAT,X);CCT:=BACKS‎E T(BBT,X+1);HD10T‎:=FILTE‎R(CCT,X);前期高位:=REF(H,BARSL‎A ST(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;底精准: FILTE‎R(精准线,NN),COLOR‎C YAN;{6.2 异向并肩精‎准线}异向并肩精‎准: MIN(O,C)=REF(MAX(O,C),1) ;{4.咬住峰顶线‎}FDX:=PEAK(1,10,1);{REF(HHV(H,60),5)};{上一波峰值‎}TJ:=BETWE‎E N(MA(H,3),FDX*0.997,FDX*1.02);咬住峰顶线‎: COUNT‎(TJ,3)>=2,COLOR‎R ED;5.启动买双阴‎卖启动点红买‎黄卖双阴出‎货COHL:=(C+O+H+L)/4;{算术均价}成交均价:=AMOUN‎T/VOL/100;TEST:=BETWE‎E N(成交均价,L,H);CC0:=IF(TEST,成交均价,COHL),COLOR‎W HITE‎;{当均价远离‎算术均价时‎,用算术均价‎} CC:=FORCA‎S T(CC0,5),COLOR‎W HITE‎;EMA34‎:EMA(CC,34),COLOR‎F FCC6‎6;EMA21‎:EMA(CC,21),COLOR‎G REEN‎;EMA13‎:EMA(CC,13),COLOR‎B ROWN‎;EMA5:EMA(EMA(CC,5),2),COLOR‎Y ELLO‎W;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);启动点:=FILTE‎R(TJ,5);DRAWT‎E XT(启动点,L*0.95,'启动'),COLOR‎M AGEN‎T A;A1:=Ma(C,5);A2:=Ma(C,10); {可以自设均‎线,牛市21日‎线,熊市10日‎线}A3:=(A1+A2)/2;IF (A1>A2,A1,A3),Color‎r ed,linet‎h ick2‎;IF (A1>A2,A2,A3),Color‎r ed,linet‎h ick2‎;IF (A1<=A2,A1,A3),Color‎00ff0‎0,linet‎h ick2‎;IF (A1<=A2,A2,A3),Color‎00ff0‎0,linet‎h ick2‎;A3,color‎w hite‎,linet‎h ick2‎;LC:=REF(CLOSE‎,1);RSI:=SMA(MAX(CLOSE‎-LC,0),4.1,1)/SMA(ABS(CLOSE‎-LC),4.1,1)*100;DRAWI‎C ON(CROSS‎(84,RSI) ,h*1.03,5);DRAWI‎C ON(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; DRAWI‎C ON(IF(CROSS‎(76,Var28‎),1,0),h*1.03,5);DRAWT‎E XT(FILTE‎R(EMA(CLOSE‎,60)-EMA(CLOSE‎,12)>0AND EMA(CLOSE‎,12)/LOW>1.15,5),LOW,''),linet‎h ick7‎, COLOR‎f f00f‎f;VARA:=((AMOUN‎T)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE‎))/(7);VARC:=((SUM(AMOUN‎T,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);BIAS1‎8:=((CLOSE‎-MA(CLOSE‎,18))/(MA(CLOSE‎,18)))*(100);aa:=SMA(VARF,3,1);ss:=(REF(BIAS1‎8,1)>=5) AND CROSS‎(VARJ,VARE) AND (aa>79);DRAWT‎E XT((REF(BIAS1‎8,1)>=5) AND CROSS‎(VARJ,VARE) AND(aa>ss),h*1.02,''),LINET‎H ICK7‎,color‎g reen‎;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);STICK‎L INE(Var1,C,O,8,0),COLOR‎Y ELLO‎W,LINET‎H ICK2‎;STICK‎L INE(Var1,C,O,3,0),COLOR‎Y ELLO‎W,LINET‎H ICK2‎;STICK‎L INE(Var1,H,L,1,0),COLOR‎Y ELLO‎W,LINET‎H ICK2‎;STICK‎L INE(Var2,C,O,8,0),COLOR‎F F00F‎F,LINET‎H ICK2‎;STICK‎L INE(Var2,C,O,3,0),COLOR‎F F00F‎F,LINET‎H ICK2‎;STICK‎L INE(Var2,H,L,1,0),COLOR‎F F00F‎F,LINET‎H ICK2‎;双阴出货:=FILTE‎R(COUNT‎(C<O,2)=2 AND L<REF(C,1),5);DRAWT‎E XT(双阴出货,H*1.05,'双阴'),COLOR‎Y ELLO‎W;6.黄金坑稳赚‎指标公式Var1:=MA(WINNE‎R(CLOSE‎),9)*100;买!: CROSS‎(Var1,2)*30,COLOR‎0000F‎F ,LINET‎H ICK3‎;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),LINES‎T ICK ,COLOR‎00FF0‎0,LINET‎H ICK2‎; Var8:=MA(CLOSE‎,27);Var9:=(CLOSE‎-Var8)/Var8*100;VarA:=MA(Var9,2);VarB:=BARSL‎A ST(CROSS‎(-10,VarA)=1);VarC:=BARSL‎A ST(CROSS‎(VarA,10)=1);VarD:=VarA<-10 AND VarB>3;VarE:=VarA>10 AND VarC>3;黄金坑: IF(VarD,VarA,0),LINES‎T ICK ,LINET‎H ICK2‎, COLOR‎Y ELLO‎W;财神到: IF(VarE,VarA,0),LINES‎T ICK , COLOR‎G REEN‎;稳赚买: IF(VarA>REF(VarA,1) AND VarD AND VarA<-15,30,0),LINET‎H ICK2‎,LINES‎T ICK,COLOR‎F FA2A‎F; DRAWI‎C ON(稳赚买>0,40,1);VarF:=REF(LOW,1)*0.9;Var10‎:=LOW*0.9;Var11‎:=(Var10‎*VOL+VarF*(CAPIT‎A L-VOL))/CAPIT‎A L;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‎:=BARSC‎O UNT(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‎:=(INDEX‎C-LLV(INDEX‎L,14))/(HHV(INDEX‎H,14)-LLV(INDEX‎L,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;超跌: STICK‎L INE(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),COLOR‎YELLO‎W,LINET‎H ICK2‎;买: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),COLOR‎R ED,LINET‎HICK2‎;买2:IF(CROSS‎(PDI,MDI) AND COUNT‎(预警,10)>=1,10,0),LINET‎H ICK3‎;8、带黄金柱的‎量柱指标VVOL:IF(CURRB‎A RSCO‎U NT=1 AND PERIO‎D=5,VOL*240/FROMO‎P EN,DRAWN‎U LL),NODRA‎W;STICK‎L INE(CURRB‎A RSCO‎U NT=1 AND PERIO‎D=5,VVOL,0,-1,-1),COLOR‎00C0C‎0;量:VOL,VOLST‎ICK;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);STICK‎L INE(AA,0,V,0.05,0),COLOR‎Y ELLO‎W;STICK‎L INE(AA1,0,V,0.05,0),COLOR‎G REEN‎;STICK‎L INE(AA2,0,V,0.05,0),COLOR‎M AGEN‎T A;STICK‎L INE(AA3,0,V,0.05,0),COLOR‎W HITE‎;STICK‎L INE(AA4,0,V,0.05,0),COLOR‎B LUE;黄金柱:DRAWI‎CON(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. 计算股票的日均成交量(AverageDailyVolume,ADV)。

2. 计算股票的月均成交量(AverageMonthlyVolume,AMV)。

月均成交量等于日均成交量的20日累计平均值。

3. 计算股票的90日均线(90-Day Moving Average,MA90)。

90日均线等于股票收盘价的20日累计平均值。

4.计算股票的黑马王子量柱群指标。

黑马王子量柱群指标等于日均成交量与月均成交量的差值。

如果日均成交量大于月均成交量,则量柱为正值;如果日均成交量小于月均成交量,则量柱为负值。

二、黑马王子量柱群指标的应用场景1.买入信号:当黑马王子量柱群指标从负值反转为正值时,表示市场对该股票产生了兴趣,可考虑买入。

2.卖出信号:当黑马王子量柱群指标从正值反转为负值时,表示市场对该股票的兴趣正在减少,可考虑卖出。

三、黑马王子量柱群指标的使用注意事项在使用黑马王子量柱群指标时需要注意以下几点:1.综合使用其他指标:黑马王子量柱群指标只是判断买入和卖出信号的一种指标,投资者应结合其他技术指标和基本面分析,综合判断股票的潜在风险和收益。

2.确认趋势再行动:黑马王子量柱群指标的买入和卖出信号只是一个参考,投资者在操作时应先确认股票的趋势再行动。

例如,在一个明显的上升趋势中,即使黑马王子量柱群指标出现了卖出信号,也可能只是暂时的调整,不应盲目卖出。

3.风险控制:任何投资决策都存在风险,使用黑马王子量柱群指标时应设定合理的止损位,及时控制风险。

总结:黑马王子量柱群指标是一种基于移动平均线和成交量的技术指标,用于判断股票的买入和卖出信号。

它的计算方法简单明了,通过比较日均成交量和月均成交量的关系来判断量柱的正负。

在使用黑马王子量柱群指标时,需要结合其他技术指标和基本面分析,同时要注意确认趋势再行动,以及控制风险。

投资者应根据市场情况和个人风险承受能力综合考虑,谨慎操作。

量柱量线理论(原著:黑马王子)

量柱量线理论(原著:黑马王子)

量柱量线理论(原著:黑马王子)【长阴短柱】Changyinduanzhu————表述K线形态和量柱形态的专用词。

“长阴”是指“长长的阴K线”(一般是比其前面的阳K线长),“短柱”是指“短短的阴量柱”(一般是比其前面的阳量柱短,倍缩更好)。

王子理论认为,“长阴短柱”表面上是股价大跌,但其量能缩小,实质上是“假跌”。

主力打压不放量,吓跑散户,洗盘吸筹。

“长阴短柱”系主力所为,量柱易呈L型状柱群,后是低量柱或地量柱,后势预示拉升行情。

长阴短柱假跌,底部跳空起步,倍量涨停拉升在即。

警句:“长阴压短柱,攻势猛如虎”。

“长阴短柱”是股票涨停的潜在基因之一。

【长腿踩线】Changtuicaixian————表述K线形态和量线形态的专用词。

“长腿”的是指K线的下引线相对较长,形似”长腿”;“踩线”又称“点线”,指“长腿”的最低点回踩“黄金线”(“精准线”、“谷底线”等诸如此类的重要“平衡线”)。

王子理论认为:“长腿踩线”实质是主力在打压股价,探测极点,借助支撑,反转调头拉升股价。

遇此形态,后势一般都要拉升。

操作上要事前画好平衡线,“碰线择机介入”。

因此“寻找精准线,一线值千金”、“确认精准线,涨停随手捡”、“回踩精准线,涨停在眼前”。

“长腿踩线”是股票涨停的潜在基因之一。

【百日低量】Bairidiliang————表述量柱状态的专用词。

“百日低量群”是指某一个阶段内量柱呈“小阴小阳”,没有大的起色。

王子理论认为:“低量柱”是成交清淡的标志,是阶段性的底部信号,主力采用“休克疗法”放任自流地测试攻防线的支撑力度,完成一系列洗盘、夯底,探测,吸筹等动作。

操作上注意,量柱呈现“百日低量群”或“百日地量”形态后,一般都会出现“倍量柱”或“高量柱”,股价会迅速飙升。

总结为:百日低量柱,筑底起宏图;百日低量群,倍量就涨停;百日低量股,反弹急先锋。

“百日低量”是股票涨停的潜在基因之一。

【倍量伸缩】Beiliangshensuo————表述量柱状态的专用词。

黑马王子公式培训资料

黑马王子公式培训资料

黑马王子公式转自操盘手股票论坛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.9倍 平量柱小于3-5%量形:倍 邙日柱和高开低走假阴柱) 、高、缩(价涨量缩,确认趋势) 、平、梯、低量柱(多空转折点)量级:将军柱、黄金柱量性:试探、建仓、增仓、补仓、震仓、启动、拉升 黄金线、黄金梯、黄金仓、黄金劫、黄金道 倍量柱+梯量柱=黄金柱 低量柱+梯量柱=黄金柱 倍量柱+缩量柱=黄金柱 高量柱+缩量柱=黄金柱 梯量柱+缩量柱=黄金柱 平量柱+缩量柱=黄金柱高量柱+二日价升缩量柱=准黄金柱 高量柱+三日价升缩量柱=真黄金柱 将军柱三原则(多数倍量柱,少数高量柱):三日不破、价升量缩、先者优先主力攻防线(即平衡线):1、 确定将军柱。

2、 将军柱后三日最低价为参照:若最低价在将军柱实体上方,则在将军柱实体上沿画 平衡线;否则沿最低价画一平衡线。

3、 以缺口顶为补充:若将军柱是跳空高开形成, 则以将军柱下方缺口顶部画一平衡线。

量柱后三日定性:1、 价升量缩、逐步走强2、 先阴后阳、先衰后绩3、 阴阳相间、有气无力4、 逐步缩小、先强后弱拐点定性:平台起柱、凹口起柱、过顶起柱、触底起柱集合定性:低量柱+倍量柱、倍量柱+倍量柱(若连续三根倍量柱则持币)、缩倍柱+倍 量柱倍量柱:实力与雄心的温度计1、 位置:绝对或相对底部、拐点或起点。

2、 操盘:当天介入、平衡线、主力目的高量柱:欲望与走向的温度计1、 走势:巨量出货(发烧柱,连续几根超级倍量柱)温和梯量柱) ------ 擒之、价涨量减(黄金柱) ------- 察之2、 合格高量柱(即高量黄金柱):后三日价涨量缩黑马王子系列选股股市温度计(七柱)避之、无量涨停(启动桩,1) 缩量柱:价位与人气的温度计1、 类型:量缩价跌、否极泰来 ------ 往往 3 - 13根量柱组成,应在最后一根阴柱被阳柱覆盖时介入;连续阴阳不齐、暗示调整在即;价升量缩、过顶触底做多。

2、 最有价值的缩量柱三条件:紧靠倍量柱或高量柱;价升量缩,缩量越大越好;逐步 缩量最好,其三日内收盘必须保持在第一量柱的最低价上方。

黑马王子公式

黑马王子公式

转自操盘手股票论坛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);。

黑马王子呕心沥血撰写低位密集指标公式,抓涨停百发百中,附公式

黑马王子呕心沥血撰写低位密集指标公式,抓涨停百发百中,附公式

⿊马王⼦呕⼼沥⾎撰写低位密集指标公式,抓涨停百发百中,附公式中国股市真正的本质谁是股市中隐藏的敌⼈?很多股友会觉得是机构,是主⼒庄家;也有股友说股市的最⼤敌⼈是⾃⼰;甚⾄有股友觉得股市中没有敌⼈。

其实股市中隐藏着⼀个阴险狡猾、⼼狠⼿辣的最凶残的敌⼈—对⼿盘。

⼤家知道,⽬前A股是⼀个存量在互相残杀消耗,赌博做零合游戏的阶段。

意思就是说:股市是不产⽣财富和利润的,只是机构、⼤户、散户等股市参与者相互残杀,形成的利益再分配。

因此不存在3000点是底,或者2000点就⼀定能⽀撑住的问题,⽽是市场内各参与者⼿中的财富究竟有多少的问题。

你可能还不是很明⽩上述的道理,假设某机构⼿中有巨⼤的资⾦,他在股市中要赚钱,你肯定能想到,他唯⼀的途径是做庄,操纵某⽀股票,我们说到⽬前A股靠分红、配股获利是不现实的,那么机构做庄赚的钱哪⾥来呢?⼀个是场外资⾦的持续进⼊,其⼆,就是来⾃于你我这般⼩散的割⾁盘。

机构只要是做了庄,那么股票中的任何他⽅就是他的敌⼈,就是他的死敌,也就是我说的对⼿盘。

对⼿盘中⼤部分是我等可怜⼩散,也有不幸的⼤户、中户,甚⾄资⾦实⼒薄弱的⼩机构。

机构做庄之后,充分运⽤资⾦优势,利⽤社会政策导向和不断公布的信息,操纵股票上涨或下跌,在不同的价格阶段形成跟风盘和杀跌盘,获取⾎淋淋的利润。

这样⼀说你就会理解,市场中为什么有的股票⽓势如虹,涨升不断了,因为通过长期的低位吸筹,机构的成本低于社会平均成本,同时没有别的⼤资⾦从中捣乱;有的股票上串下跳,是因为机构⽆意操作,任由⼩机构、游资翻江倒海,获取⼀点⼩利润;有的股票最惨,⽆论⽜熊市永远⼀去不回头,持续⾛低,这种票除⾮是基本⾯极度恶化,我们发现很多好票也这么⾛,就是机构没有控制⾜够筹码,⼜有别的不配合机构进场叫劲,互相长期内耗,直到⼀⽅失败出⾛之后,该票才有可能⾛出底部,这种情形不幸的话会⾛上⼏年的时间。

规避庄家的多头陷阱所谓多头陷阱,是庄家利⽤资⾦、消息或其他⼿段操纵图表的技术形态,使其显现出多头排列的信号,引诱投资者买⼊。

黑马王子量柱群指标公式

黑马王子量柱群指标公式

黑马王子量柱群指标公式(转)1.黑马王子黑马王子量柱群指标图VOLUME:VOL,VOLSTICK;降:COUNT(CLOSE&gt;REF(CLOSE,1),2)=2 ANDCOUNT(VOL&lt;REF(VOL,1),2)=2;STICKLINE(降,0,V,1,0),COLORGREEN;DRAWTEXT(降,VOL+3000,'降'),COLORGREEN;T:=DYNAINFO(8)&gt;0;VO:VOL=LLV(VOL,100) AND T;地量柱:T AND VO,COLORBLUE;STICKLINE(地量柱,0,V,1,0),COLORBLUE;DRAWTEXT(地量柱,VOL+3000,'地'),COLORBLUE;BLZ:=VOL&gt;REF(V,1)*1.9;BLZ1:=VOL&lt;REF(LLV(VOL,13),1);BLZ2:=VOL&lt;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&gt;2*REF(VOL,1) AND CLOSE&gt;HJZ2 AND C&gt;O;黄金柱:FILTER(HJZ3,5),STICK,COLORRED,LINETHICK4; STICKLINE(黄金柱,0,V,1,0),COLORRED;DRAWTEXT(黄金柱,VOL+10000,'黄'),COLORRED;价涨量缩:降,COLORGREEN;FLZ:=V&gt;REF(V,1)*0.98 ANDV&lt;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&gt;=MXA,REFDATE(HHV(H,130),DATE),REFD ATE(LLV(L,130),DATE),5,0),COLOR600020;STICKLINE(MX&lt;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&lt;=趋势线,趋势线,DRAWNULL),LINETHICK3,COLORGREEN;XJ:IF(TMP&lt;=趋势线,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&gt;=MXA,LOW,HIGH,0.0,1),COLORRED; STICKLINE(MX&gt;=MXA,CLOSE,OPEN,3,1),COLORRED; STICKLINE(MX&lt;MXA,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(MX&lt;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&gt;=MXA,JD-0.1,1); DRAWTEXT(CROSS(CP,JD) AND MX&gt;=MXA,JD-0.38,'↖加仓'),COLORYELLOW;BL:=VOL&gt;=REF(V,1)*1.91 AND C&gt;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&lt;=VARD,(VARC+VARE*2)/2,0),3)/618 *VARF;VARH:=IF(VARG&gt;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(趋势&lt;=3,20,0),COLOR00FF00,LINETHICK3; 机构建仓: IF(趋势&lt;5,40,0),COLORFFFFFF,LINETHICK3;4.涨停5基因{涨停5基因附图公式:}{1.百日低量群}百日地量:= V=LLV(V,100) AND V&gt;0;倍量:= VOL&gt;=REF(V,1)*1.9 AND C&gt;REF(C,1);地量又倍量:COUNT(百日地量,5)&gt;=1 AND COUNT(倍量,1)&gt;=1;{2.倍量过左峰}N:=20;左峰高:=REF(HHV(C,N),1);倍量过左:REF(COUNT(C&lt;左峰高,2)=2,1) AND C&gt;左峰高ANDC&gt;OANDVOL/REF(VOL,1)&gt;=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&gt;2*REF(VOL,1) AND CLOSE&gt;VAR1 AND C&gt;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)&gt;=2 ANDCOUNT(CLOSE&gt;OPEN,1) OR LOW&gt;REF(HIGH,1) AND COUNT(OPEN&gt;CLOSE,1) ANDVOL/REF(VOL,1)&gt;=2;}突破前高:=CROSS(C,前高);倍量过左峰:= 突破前高AND 倍量; {3.凹口起柱}T7:=REF(VOL,6)/REF(VOL,7)&gt;=2; T6:=REF(VOL,5)/REF(VOL,6)&gt;=2; T5:=REF(VOL,5)/REF(VOL,4)&gt;=1.5; T4:=REF(VOL,4)/REF(VOL,3)&gt;=1.5; T3:=REF(VOL,2)/REF(VOL,3)&gt;=1.5; T1:=V/REF(VOL,1)&gt;2;T0:=C&gt;O AND C&gt;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&gt;前期高位; {选股}回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10)) ANDCOUNT(CROSS(黄金线*1.01,L),3)&gt;0 AND L&gt;=黄金线ANDC&gt;REF(C,1) AND REF(C,2)&gt;REF(C,1) ANDCOUNT(LJL,3)=0;{5.长阴短柱}长阴短柱: C/REF(C,1)&lt;0.95 AND V&lt;HHV(V,30)/1.9;{6.1 底同向精准}NN:=3;LL0:=0;L0:=LL0/100;L1:=ABS(L-REF(L,1))&lt;=L0;L2:=ABS(L-REF(L,2))&lt;=L0;L3:=ABS(L-REF(L,3))&lt;=L0;L4:=ABS(L-REF(L,4))&lt;=L0;L5:=ABS(L-REF(L,5))&lt;=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)&gt;=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&gt;O AND} ABS(EMA13-EMA5)&lt;EMA5*0.01 ANDABS(EMA13-EMA21)&lt;EMA21*0.01ANDABS(EMA34-EMA21)&lt;EMA21*0.01ANDEMA5&gt;REF(EMA5,1) AND EMA13&gt;REF(EMA13,1) ANDEMA21&gt;REF(EMA21,1) AND EMA34&gt;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&gt;A2,A1,A3),Colorred,linethick2;IF (A1&gt;A2,A2,A3),Colorred,linethick2;IF (A1&lt;=A2,A1,A3),Color00ff00,linethick2;IF (A1&lt;=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)&gt;0 AND EMA(CLOSE,12)/LOW&gt;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)&gt;=5) AND CROSS(VARJ,VARE) AND (aa&gt;79);DRAWTEXT((REF(BIAS18,1)&gt;=5) ANDCROSS(VARJ,VARE) AND(aa&gt;ss),h*1.02,''),LINETHICK7,colorgreen;Var1:=ZIG(3,10)&lt;REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)&gt;REF(ZIG(3,10),2);Var2:=ZIG(3,10)&gt;REF(ZIG(3,10),1)AND REF(ZIG(3,10),1)&lt;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&lt;O,2)=2 ANDL&lt;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)&gt;13 ANDREF(Var6,1)/Var6&gt;1.23 ANDCLOSE/REF(CLOSE,1)&gt;1.03;春笋: IF(Var7 ANDREF(CLOSE,1)&lt;=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&lt;-10 AND VarB&gt;3;VarE:=VarA&gt;10 AND VarC&gt;3;黄金坑: IF(VarD,VarA,0),LINESTICK ,LINETHICK2, COLORYELLOW;财神到: IF(VarE,VarA,0),LINESTICK , COLORGREEN;稳赚买: IF(VarA&gt;REF(VarA,1) AND VarD ANDVarA&lt;-15,30,0),LINETHICK2,LINESTICK,COLORFFA2AF; DRAWICON(稳赚买&gt;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&lt;=25 AND Var1A&lt;-95 ANDVar20&gt;20 AND Var1C&lt;-30 AND Var1F&lt;30 AND Var12-CLOSE&gt;=-0.25 ANDVar16&lt;22 AND Var17&lt;28 AND Var18&gt;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&gt;0 AND HD&gt;LD,HD,0),N);DMM:= SUM(IF(LD&gt;0 AND LD&gt;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&gt;90 ANDPDI=0,30,0),COLORYELLOW,LINETHICK2;买:IF(CROSS(PDI,MDI) AND (C &gt;1.05*REF(C,1) ORREF(C,1)&gt;1.05*REF(C,2))AND (V&gt;2*REF(V,1) OR REF(V,1)&gt;2*REF(V,2))AND MA(V,5)&gt;MA(V,60) ,20,0),COLORRED,LINETHICK2;买2:IF(CROSS(PDI,MDI) AND COUNT(预警,10)&gt;=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&gt;=REF(V,1)*1.91 &amp;&amp;C&gt;REF(C,1);AA1:=VOL&lt;REF(LLV(VOL,21),1);AA2:=VOL&lt;REF(LLV(VOL,55),1);AA3:=ABS(VOL-REF(VOL,1))/REF(VOL,1)&lt;=0.05;AA4:=VOL&lt;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)&gt;REF(L,3) AND HHV(V,3)REF(O,3) AND REF(V,3)&gt;2*REF(V,4),V,8); M5:MA(VOL,5);M10:MA(VOL,10);M20:MA(VOL,20);。

黑马王子公式.pdf

黑马王子公式.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);。

量柱量线理论(原著:黑马王子)

量柱量线理论(原著:黑马王子)

量柱量线理论(原著:黑马王子)【长阴短柱】Changyinduanzhu-———表述K线形态与量柱形态得专用词。

“长阴"就是指“长长得阴K线”(一般就是比其前面得阳K线长),“短柱”就是指“短短得阴量柱"(一般就是比其前面得阳量柱短,倍缩更好)。

王子理论认为,“长阴短柱”表面上就是股价大跌,但其量能缩小,实质上就是“假跌”。

主力打压不放量,吓跑散户,洗盘吸筹。

“长阴短柱”系主力所为,量柱易呈L型状柱群,后就是低量柱或地量柱,后势预示拉升行情。

长阴短柱假跌,底部跳空起步,倍量涨停拉升在即。

警句:“长阴压短柱,攻势猛如虎”、“长阴短柱”就是股票涨停得潜在基因之一。

【长腿踩线】Changtuicaixian———-表述K线形态与量线形态得专用词。

“长腿”得就是指K线得下引线相对较长,形似”长腿";“踩线”又称“点线",指“长腿”得最低点回踩“黄金线”(“精准线”、“谷底线”等诸如此类得重要“平衡线”)。

王子理论认为:“长腿踩线”实质就是主力在打压股价,探测极点,借助支撑,反转调头拉升股价。

遇此形态,后势一般都要拉升、操作上要事前画好平衡线,“碰线择机介入”。

因此“寻找精准线,一线值千金”、“确认精准线,涨停随手捡"、“回踩精准线,涨停在眼前”。

“长腿踩线”就是股票涨停得潜在基因之一。

【百日低量】Bairidiliang-———表述量柱状态得专用词。

“百日低量群”就是指某一个阶段内量柱呈“小阴小阳”,没有大得起色。

王子理论认为:“低量柱”就是成交清淡得标志,就是阶段性得底部信号,主力采用“休克疗法”放任自流地测试攻防线得支撑力度,完成一系列洗盘、夯底,探测,吸筹等动作、操作上注意,量柱呈现“百日低量群”或“百日地量”形态后,一般都会出现“倍量柱"或“高量柱",股价会迅速飙升、总结为:百日低量柱,筑底起宏图;百日低量群,倍量就涨停;百日低量股,反弹急先锋、“百日低量”就是股票涨停得潜在基因之一、【倍量伸缩】Beiliangshensuo————表述量柱状态得专用词、“倍量伸缩"就是指前一量柱比后一量柱成倍地缩小或伸长(一倍也可多倍),时限为3日或多日,伸缩不定,高矮悬殊,节奏有序。

黑马王子呕心沥血撰写出选股公式,一旦看懂,出手就是涨停大牛股

黑马王子呕心沥血撰写出选股公式,一旦看懂,出手就是涨停大牛股

黑马王子呕心沥血撰写出选股公式,一旦看懂,出手就是涨停大牛股做投资选择很重要,趋势很重要,渠道很重要,技术很重要,心态同样也很重要。

良好的投资心态是投资者的重要法宝,每位投资者的投资预期、风险偏好、自控能力、市场和环境不同,反映在投资情绪上也是千差万别,直接影响到投资收益的最终实现。

股市要求要有一定的逻辑思维和悟性,这要求我们要有非常良好的心态,而好的心态一定也是离不开一套完善的研判体系和交易策略。

制胜三把斧:技术、原则、人性交易的真谛是什么呢?我想这是每一个参与市场的交易员都需要做出明确回答的问题。

我个人认为交易的真谛是:以小博大。

我这里所提到的“以小博大”,不是指平常我们所谈的保证金的杠杆作用,而是在交易中“如何用较小的亏损去搏击较大的利润”的问题。

以小博大的代名词便是投机,投机有广义与狭义之分。

广义的投机贯彻在我们生活中的方方面面,不仅期市中有投机,现货市场也有投机,甚至一个生命的生存过程,便是一个投机的过程。

单从金钱占有的角度来给投机下一个定义,便是:抓住机会,进行投资,以期获得几倍于投资的回报。

投机的目的非常明确,便是赚钱。

想归想,努力归努力,但事实是有的人赚了钱,有的却倒赔了本。

仔细分析一下,其实道理很简单:大多数赔钱的人没有学会以小博大。

炒股就是炒心理——暴炒伤身1.非理性行为中国证券市场建立以来,已经有十几年了,投资者也是从无到有,到目前已经是接近于亿级的投资大军了。

单单从投资人数量上看,已经是位居世界第一了,但从质量上看,提高投资者的素质已是刻不容缓的大事。

中国投资者存在的主要问题是整体的非理性,操作上情绪化严重,具体表现如下:(1)追涨杀跌由于对股票的价值不能做出相对准确的判断,既不会也懒得去判断,投资股票的理由非常简单,就是上涨获利。

表现在盘面上,那就是一旦某只股票出现大幅上涨时,立即就会引来大量的跟风盘,造成其在短时间内,股价会有大幅的上涨波动;相反的,那就是盲目地杀跌割肉,这样一来,中国的股市就变成了在世界上波动率最大的市场了。

黑马王子公式(2020年10月整理).pdf

黑马王子公式(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. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

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);。

相关文档
最新文档