指标介绍
黑马启动主图指标是一个技术分析指标,用于识别可能大涨的股票。该指标基于以下几个因素:
- 成交量
- 价格走势
- 波动率
该指标是一个综合指标,将这些因素结合起来,以识别处于上升趋势早期阶段的股票。
指标公式
黑马启动主图指标的公式如下:
黑马启动主图指标 = (成交量 / 平均成交量) (价格 / 前一日收盘价) (波动率 / 平均波动率)
- 成交量:指当前交易日的成交量
- 平均成交量:指过去一段时间内的平均成交量
- 价格:指当前交易日的收盘价
- 前一日收盘价:指前一个交易日的收盘价
-
波动率:指当前hi.append((volumes[i] / average_volumes) (prices[i] / prices[i-1]) (volatility[i] / average_volatility))return bhi
总结
黑马启动主图指标是一个技术分析指标,用于识别可能大涨的股票。该指标基于成交量、价格走势和波动率等因素。股民可以将该指标与其他技术分析工具结合使用,以做出更明智的投资决策。
哪位能人能把这个指标编写成黑马一号黑马启动黑马必抓选股公式,感激不尽
AHC1:=CLOSE*VOL;AHC22:=EMA((EXPMA(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);通道:=1.0668*AHC22;黑马一号:CROSS(C,通道) AND REF(C,1)*1.05-C<0.008 AND C>O*0.5;================A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23)); A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1); 金线王:=EMA(A2,200)*1.118;金线王2:=EMA(A2,200)*1.118;条件:=(C-REF(C,1))/REF(C,1)*100>8;黑马启动:CROSS(C,金线王) AND 条件;===============AA05:=MA(C,5);AA30:=MA(C,30);MA30:=MA(C,34);五日乖离率:=(C-AA05)/AA05*100;三拾日乖离率:=(C-MA30)/MA30*100;MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;黑马必抓:FILTER(MR,10);
求股票主图指标 布林线和箱体叠加的指标公式
平衡:EMA(C,20),CIRCLEDOT,COLORWHITE;上轨:平衡 + 2*STD(C,20),LINETHICK2,COLORFF00FF;下轨:平衡 - 2*STD(C,20),LINETHICK2,COLOR00FF00;Y1:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9),3),1);DRAWTEXT(CROSS(CLOSE,Y1),LOW,[买进]),COLORYELLOW;DRAWTEXT(CROSS(Y1,CLOSE),HIGH*1.05,[卖出]),COLORWHITE;VAR1W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR2W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR3W:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));DRAWTEXT(CROSS(VAR2W,MA(VAR3W,6)),LOW -0.6,(买)),COLORFF99FF;DRAWTEXT(CROSS(MA(VAR3W,6),VAR1W),HIGH +0.9,(卖)),COLORCCFF13;VAR3P:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);DRAWTEXT(VAR3P>90,LOW*0.92,追涨),COLORFF00FF;SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O;MR:=SC AND COUNT(SS,2);买:=MR AND NOT(REF(MR,1)),COLORYELLOW;DRAWTEXT(买,L*0.95, 必涨),COLORRED;多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);DRAWTEXT(CROSS(78.89,多方),H+1.5,(逃顶)),COLOR00FF00;A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*1,5,1),COLOR;A2:=(EMA(A1,5)-REF(EMA(A1,5),1))/REF(EMA(A1,5),1)*1;A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*1;DRAWTEXT(CROSS(A1,EMA(A1,5))AND EMA(A1,5)<A5,L*0.98,(黑马)),COLORYELLOW;VAR1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*1;VAR2:=SMA(VAR1,3,1)*100;趋势线:=SMA((SMA(VAR2,3,1)*VAR1),3,1)*1;VAR9:=CROSS(趋势线,(SMA(VAR2,3,1)*VAR1)) AND (SMA(VAR2,3,1)*VAR1)>8;DRAWTEXT(VAR9 AND COUNT(VAR9,1)=1,H+0.6,逃), LINETHICK2,COLORYELLOW;
我想叫你帮我编个公式
一.选股指标.次日涨停W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W4 AND COUNT(W4,5)=1;黄转紫选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;紫柱:MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);低位金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF<-0.1;二次金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;绝地反弹(1)VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*100;VAR3:=EMA(IF(CLOSE*1.2,VAR2*13,VAR2/13),13);VAR4:=LLV(LOW,34);VAR5:=HHV(VAR3,34);VAR6:=IF(LLV(LOW,55),1,0);VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);启动:=IF(XL3,0,VAR7*3),COLORRED;XG:启动>25;(2)BACKSET( (REF(CLOSE,1)<REF(OPEN,1) ANDCLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002),2);A2:=FILTER(A1<=V3,10);ND CAPITAL<REF(V,1) = LLV(V,4) AND V >=REF(V,1)HHV(V,3)=REF(V,1) AND HHV(V,5)=REF(V,1) AND HHV(V,21)=REF(V,1)AND V >=REF(V,1)01>0 AND T02>0;3. 金叉选股指标快线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);慢线:=EMA(REF(快线,1),2);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:CROSS(快线,慢线) AND C>O ANDV>=MA(V,21) AND V> REF(V,1) AND CAPITAL<= ;4.角度MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:CROSS(MA5,MA10) AND CROSS(MA10,MA20) ANDCROSS(MA5,MA20) ;IF(角度MA3>45 AND 角度MA5>40 AND 角度MA10>10AND 角度MA20>20 AND MA(C,135)>REF(MA(C,135),1),1,0),COLOR00FF00{设计思路:1.1日均线角度大于40度;2:3日均线角度大于40度;3:5日均线角度大于50度;4.10日均线角度大于40度;135向上;};(4).{SJXXG四均线选股}MA3:=MA(C,5);MA5:=MA(C,10);MA10:=MA(C,15);MA20:=MA(C,20);V0:=MA(C,5)>REF(MA(C,10),1) AND MA(C,10)>REF(MA(C,15),1)AND MA(C,15)>MA(C,20) ; {均线C,MA3,MA5多头排列并向上;}角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;角度MA10:=ATAN((MA10/REF(MA3,1)-1)*100)*180/3.1416;角度MA20:=ATAN((MA20/REF(MA5,1)-1)*100)*180/3.1416;选股MA20:IF(角度MA3>42 AND 角度MA5>25 AND 角度MA10>15 AND 角度MA20>10AND MA(C,135)>REF(MA(C,135),1),1,0),COLOR00FF00;{设计思路:1.3日均线角度大于30度;2:5日均线角度大于40度;3:10日均线角度大于45度;4.20日均线角度大于40度;135向上;};(5).5日最底V5:=LLV(V,5);QSXS:=MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,8)>REF(MA(CLOSE,8),1)AND MA(CLOSE,21)>REF(MA(CLOSE,21),1);DXJC:=CROSS(CLOSE,MA(C,21)) AND CLOSE>MA(C,21) AND CLOSE/OPEN>1.015;HSL:=VOL/CAPITAL*100;选股:V5 AND QSXS AND DXJC AND HSL>2;13.四线粘合{四线粘合}V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);M4 OR M5;14.拉升在即{拉升在即}ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));A:=((VOL)/(CAPITAL))*(100);S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;拉升在即:S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSS(S,Y);黑马易找VAR1:=MA(CLOSE,5);VAR2:=MA(CLOSE,10);VAR3:=MA(CLOSE,30);VAR4:=MA(CLOSE,60);VAR5:=EMA(COST(85),7);VAR6:=EMA(COST(15),7);VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);VAR8:=INTPART(VAR7*100)/100;VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VARA:=INTPART(VAR9*100)/100;VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VARC:=INTPART(VARB*100)/100;VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);VARE:=EMA(VARD,9);VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;VAR11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;VAR12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;VAR13:=REF(VARE,1);VAR14:=VARE;VAR15:=VAR14-VAR13;VAR16:=REF(VARD,1);VAR17:=VARD;VAR18:=VAR17-VAR16;VAR19:=OPEN;VAR1A:=CLOSE;黑马易找选股: VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND VAR1A>=VARC AND VAR15>0 AND VAR18>0;16.黑马起步选股2VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);选股:CROSS(VAR5,30) OR CROSS(VAR5,35) OR CROSS(VAR5,40);17.黑马起步选股1VAR5:=EMA(SMA((CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100,8,1),3);选股:CROSS(VAR5,15) OR CROSS(VAR5,20) OR CROSS(VAR5,25);二。 主图指标三。 三线买卖快线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF;慢线:EMA(REF(快线,1),2),LINETHICK2,COLOR00FFFF;总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2,COLORFF00FF;HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNT>GDCS2,0,1);高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1) COLORGREEN,LINETHICK2;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055FF,POINTDOT;DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLOW,POINTDOT;AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);DRAWICON(CC1,L*0.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=CONST(DDTS1);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORRED,LINETHICK2;ZGSTAR:=(高点压力+低点支撑)/2;ZGEND:=CONST((高点压力+低点支撑)/2);STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55BB,LINETHICK2;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGENTA,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN,POINTDOT;四。 3线粘合MA3:EMA(C,3),linethick2; MA5:EMA(C,5),linethick2; MA7:EMA(C,7),linethick2; MA14:EMA(C,14),linethick1,STICK; MA114:EMA(C,14),linethick2; DRAWICON (cross(MA3,MA7),L*0.985,1);五.三线乾坤快线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF;慢线:EMA(REF(快线,1),2),LINETHICK2,COLOR00FFFF;总趋势:EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2,COLORFF00FF;A1:=REF(H,8)=HHV(H,2*8+1);B1:=FILTER(A1,8);C1:=BACKSET(B1,8+1);D1:=FILTER(C1,8);{高点}R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1); S11:=R11>REF(R11,1);DRAWLINE(D1,H,S11,H,1),COLORBLUE;A2:=REF(L,8)=LLV(L,2*8+1);B2:=FILTER(A2,8);C2:=BACKSET(B2,8+1);D2:=FILTER(C2,8);{低点}T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1); U11:=T11>REF(T11,1);DRAWLINE(D2,L,U11,L,1),COLORBLUE;M:=INTPART(3*8/5);A12:=REF(H,M)=HHV(H,2*M+1);B12:=FILTER(A12,M);C12:=BACKSET(B12,M+1);D12:=FILTER(C12,M);{高点}R112:=BACKSET(ISLASTBAR,BARSLAST(D12)+1); S112:=R112>REF(R112,1);DRAWLINE(D12,H,S112,H,1),COLORRED;A22:=REF(L,M)=LLV(L,2*M+1);B22:=FILTER(A22,M);C22:=BACKSET(B22,M+1);D22:=FILTER(C22,M);{低点}T112:=BACKSET(ISLASTBAR,BARSLAST(D22)+1); U112:=T112>REF(T112,1);DRAWLINE(D22,L,U112,L,1),COLORRED;VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);压力:= REF(HIGH,BARSLAST(VAR2222));STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),0.5,1),COLOREA91B5,LINETHICK3;支撑:= REF(LOW,BARSLAST(VAR4444));STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),0.5,1),COLOR00B4FF,LINETHICK3;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);RRRSV:=SMA(下档线,3,1);KKK:=SMA(RRRSV,3,1);DDD:=((3 * RRRSV) - (2 * KKK));JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);RSV24:=SMA(JJ12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));压力2:=IF(CROSS(D24,DDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDD)))),COLORFFFFFF;底部:=LLV(HIGH,30),COLOR00FF00;DRAWICON(L<=支撑 AND H>支撑,L,0);DRAWICON(H>=压力 AND L<压力,H,0);DRAWICON(CROSS(快线,慢线),L*0.95,5);DRAWICON(CROSS(慢线,快线),H*1.05,6);底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);DRAWTEXT(底背离,-0.2-MACD,底背离),COLORWHITE;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);DRAWTEXT(顶背离,0.2+MACD,顶背离),COLORWHITE;
再沟通最后一点:现在炒股不仅仅要规避系统风险,还要格外谨慎高胜率的炒股技巧,因为没有任何一种方法是在任何行情下都能够赚到钱的,一般很少有人知道的方法才是正规靠谱的,大家千万要记住。若想您的投资收益稳定,欢迎扫描右下角加我微信或者QQ沟通。