万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 通达信公式 > 通达信主副图指标 正文

【通达信指标】黑马形态指标公式,黑马寻底起步拉升减仓的全过程信号提示(主图+选股)

admin 2024-12-15 16:12:19 通达信主副图指标 45 ℃

第一部分 指标介绍

1.黑马形态主图指标将黑马个股的整个过程全信号标注出来,包括黑马寻底信号、追击、短线快马加鞭信号、出货减仓等信号全部标注,用于波段或右侧追涨,抄底等均可。

2.选股信号以快马加鞭信号为准,右侧小突出信号,上方面空间较大,所以选择此信号用来做选股。

3.指标不含未来函数,指标不漂移。

第二部分 公式源码

{黑马形态--主图}

GHCZS1:=(SMA(HIGH,21,2) * 1.05);

DRAWTEXT(FILTER(((((C<REF(C,1)) AND (C<REF(C,1))) AND (H>GHCZS1)) AND (C<GHCZS1)),5),(H+0.05),-减仓),COLORFFFFFF;

下轨道:(SMA(LOW,21,2) * 0.969),POINTDOT,COLOR00FFFF;

GHCZS2:=MA(CLOSE,118);

GHCZS3:=(SMA(HIGH,21,2)*1.05);

GHCZS4:=(((C-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))) * 100);

K:=SMA(GHCZS4,3,1);

D:=SMA(K,3,1);

J:=((3*K)-(2*D));

GHCZS5:=(((C-LLV(L,34))/(HHV(H,34)-LLV(L,34))) * 100);

K12:=SMA(GHCZS5,3,1);

D12:=SMA(K12,3,1);

J12:=((3 * K12) - (2 * D12));

GHCZS6:=(((C-LLV(L,55)) / (HHV(H,55) - LLV(L,55))) * 100);

DRAWTEXT_FIX(1,0,0.07,0,'微信公众号万物狙击'),COLORMAGENTA,LINETHICK4;

K24:=SMA(GHCZS6,3,1);

D24:=SMA(K24,3,1);

J24:=((3 * K24) - (2 * D24));

支撑位:=IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24))));

压力位:IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),COLOR00FF00;

CB:=((AMOUNT / VOL) / 100);

CD:=((CB > HIGH) OR (CB < LOW));

黑马趋势:=MA(CLOSE,3);

MAP:=MA(CLOSE,8);

AA5:=MA(CLOSE,21);

AA10:MA(CLOSE,8),COLOR0000FF;

AA12:MA(CLOSE,12),COLOR0000FF;

BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);

BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);

MA13:=MA(CLOSE,13);

DRAWTEXT(FILTER(((((((CLOSE / OPEN) > 1.04) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (CLOSE > 下轨道)) AND ((AA10 - REF(AA10,1)) > 0)) AND (CLOSE < GHCZS1)),3),(LOW - 0.07),追击),COLORD1E768;

GSCHWD:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);

支撑:=EMA(GSCHWD,5);

短期底部:=LLV(OPEN,30);

X1:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);

X2:=EMA(X1,10);

X3:=REF(X2,1);

X4:=((REF(HIGH,1) + REF(LOW,1)) / 2);

X5:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));

X6:=REF(CLOSE,1);

X7:=((SMA(MAX((CLOSE - X6),0),7,1) / SMA(ABS((CLOSE - X6)),7,1)) * 100);

X8:=CROSS(79,X7);

X9:=FILTER(X8,4);

MAP1:=MA(CLOSE,60);

均线30:=MA(CLOSE,30);

均线89:=MA(CLOSE,89);

均线:=MA(CLOSE,16);

均线34:=MA(CLOSE,34);

均线55:=MA(CLOSE,55);

GSCHW1:=EMA(CLOSE,8);

GSCHW2:=EMA(GSCHW1,20);

GSCHW3:=CROSS(GSCHW1,GSCHW2);

GSCHW4:=(GSCHW1 < MA(CLOSE,60));

GSCHW5:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100);

GSCHW6:=SMA(GSCHW5,5,1);

GSCHW7:=SMA(GSCHW6,8,1);

GSCHW8:=(CROSS(GSCHW6,GSCHW7) AND (GSCHW7 < 16));

GSCHW9:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND GSCHW8);

GSCHWA:=IF((CLOSE > 1000),GSCHW8,GSCHW9);

黑马起步:=(GSCHW3 AND GSCHW4);

逃遁:=GSCHWA;

均线20:=MA(CLOSE,20);

均线120:=MA(CLOSE,120);

牛熊线:=MA(CLOSE,250);

VA:=CROSS(MA(CLOSE,19),MA(CLOSE,120));

VB:=(MA(CLOSE,20) > MA(CLOSE,120));

VC:=CROSS(MA(CLOSE,120),MA(CLOSE,89));

VD:=(MA(CLOSE,20) < MA(CLOSE,120));

VE:=CROSS(MA(CLOSE,20),MA(CLOSE,250));

VF:=(MA(CLOSE,20) > MA(CLOSE,250));

VG:=CROSS(MA(CLOSE,250),MA(CLOSE,20));

{DRAWTEXT(FILTER(((((((((OPEN > 均线120) AND (均线20 < 均线120)) AND (LOW <= 均线120)) AND ((均线20 - REF(均线20,1)) > 0)) AND (CLOSE > OPEN)) AND ((均线120 - REF(均线120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE >= 均线120)),15),LOW,★120跳马),COLOR0089E0;

DRAWTEXT((((VA AND ((均线120 - REF(均线120,1)) > 0)) AND (HIGH < RH5)) AND (CLOSE > OPEN)),LOW,★宝马望月),COLORFFFFFF;}

DRAWTEXT((((((均线 - REF(均线,1)) > 0) AND CROSS(均线20,均线120)) AND (LOW <= 均线120)) AND (CLOSE >= 均线120)),LOW,三线开花),COLORFFFFFF;

短期底部2:LLV(HIGH,30),LINETHICK2,COLOR0000FF;

上轨:(SMA(HIGH,21,2) * 1.092),POINTDOT,COLORFFFFFF;

中轨道:(SMA(HIGH,21,2) * 1.017),POINTDOT,COLORFFFFFF;

DRAWTEXT(FILTER(((((LOW < 下轨道) AND (CLOSE > MA(CLOSE,15))) AND (CLOSE > 短期底部2)) AND (HIGH < 压力位)),10),LOW,★短线5%),COLOR9DC522;

DRAWTEXT(((((((HIGH >= 均线120) AND (CLOSE < REF(CLOSE,1))) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > GHCZS1)) AND (CLOSE < GHCZS1)) AND (CLOSE < 均线120)),(HIGH + 0.05),减仓),COLOR00FF00;

DRAWTEXT(FILTER(((HIGH > GHCZS3) AND (CLOSE < GHCZS3)),5),(HIGH + 0.15),←逃命);

DRAWTEXT(((VE > VG) AND (HIGH < GHCZS3)),(LOW - 0.65),★黑马短线),COLOR00FFFF;

DRAWTEXT(FILTER(((((((((((OPEN < X2) AND (CLOSE > X2)) AND ((支撑 - REF(支撑,1)) > 0)) AND ((支撑 - REF(支撑,1)) > 0)) AND (CLOSE < GHCZS3)) AND ((均线 - REF(均线,1)) > 0)) AND (CLOSE >= 均线)) AND (HIGH < GHCZS3)) AND ((AA10 - REF(AA10,1)) > 0)) AND ((GHCZS3 - REF(GHCZS3,2)) > 0)),11),(LOW - 0.11),★快马加鞭),COLOR0000FF;

DRAWTEXT(FILTER(((((((OPEN < X2) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE > X2)) AND ((X2 - REF(X2,1)) > 0)) AND (HIGH < GHCZS3)) AND ((CLOSE - REF(CLOSE,1)) > 0.35)),4),(LOW - 0.05),★黑马狂奔),COLORD18073;

DRAWTEXT((((((((CROSS(支撑,均线) AND (HIGH < 中轨道)) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < GHCZS3)) AND (CLOSE > OPEN)) AND (LOW <= X2)) AND (CLOSE >= X2)) AND CROSS(支撑,X2)),LOW,★黑马起步),COLOR00FFFF;

DRAWTEXT(CROSS(X4,X5),HIGH,●减仓),COLOR00B4FF;

DRAWTEXT(X9,(HIGH * 1.03),出货),COLOR9000F5;

DRAWTEXT((((黑马起步 > 0) AND (LOW <= X2)) AND ((均线 - REF(均线,1)) > 0)),(LOW - 0.11), ★黑马起步),COLOR00FF00;

DRAWTEXT((逃遁 > 0),(HIGH * 1.14),●逃命),COLOR0000FF;

RDV:=SMA(LOW,8,1);

DRAWTEXT(((((CROSS(K,D) AND (CLOSE >= OPEN)) AND ((X2 - REF(X2,1)) > 0)) AND ((RDV - REF(RDV,1))>0)) AND (K<=33)),(L-0.08), ★黑马初现),COLOR8500DE;

DRAWTEXT(FILTER((((((((LOW <= 短期底部) AND (WINNER(CLOSE) < 0.2)) AND (CLOSE < 牛熊线)) AND (H<GHCZS3)) AND ((X2 - REF(X2,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH >= X3)),5),(LOW - 0.03),←黑马筑底),COLOR85B256;

RCK:=(SMA(LOW,21,2) * 0.95);

趋势线:=SMA(LOW,5,1);

大胆买入:DRAWTEXT(((CROSS(趋势线,RCK) AND (LOW <= X2)) AND ((X2 - REF(X2,1)) > 0)),LOW,←★大胆买入),COLORE50000;

B1:=(((HIGH + LOW) + CLOSE) / 3);

B6:=HHV(B1,(4*15));

B7:=LLV(B1,(4*15));

B8:=(B6-B7);

飞龙顶底线:=(MA(((B1-B7)/B8),2)* 80);

DRAWTEXT(FILTER(((((((飞龙顶底线<=1) AND (WINNER(CLOSE)<0.02)) AND (HIGH<趋势线)) AND (CLOSE > OPEN)) AND (LOW <= 短期底部)) AND (CLOSE > 短期底部)),8),(LOW - 0.02),←黑马寻底),COLORE7DD1F;

DRAWTEXT(FILTER((((((((LOW<=短期底部) AND (WINNER(CLOSE)<0.015)) AND ((OPEN/CLOSE) > 0.99)) AND ((J - REF(J,1)) > 0)) AND (CLOSE > OPEN)) AND (HIGH < 支撑位)) AND (CLOSE > 短期底部)),25),(LOW - 0.09),←开始建仓),COLOR00FFFF;

DRAWTEXT(FILTER((((((((LOW<=均线30) AND ((AA10-REF(AA10,1))>0)) AND ((均线-REF(均线20,1)) > 0)) AND ((趋势线 - REF(趋势线,1)) > 0)) AND (CLOSE >= 均线30)) AND (WINNER(CLOSE) < 0.15)) AND ((CLOSE / OPEN) > 1.01)),3),LOW,★黑马奔月),COLOR76B0FC;

DRAWTEXT((((((OPEN<=均线) AND ((均线30-REF(均线30,1))>0)) AND (CLOSE>均线89)) AND (BB10 > 1)) AND ((CLOSE / OPEN) > 1.04)),LOW*0.99,★黑马过桥),COLORCC99FF;

第三部分 选股公式

{黑马形态--快马信号选股}

XG1:=(SMA(H,21,2)*1.05);

XG2:=MA(C,8);

XG3:=((((O+L)+H)+CLOSE)/4);

XG4:=EMA(XG3,5);

XG5:=(((((3*C)+H)+L)+OPEN)/6);

XG6:=EMA(XG5,10);

XG7:=MA(CLOSE,16);

快马X:FILTER(((((((((((O<XG6) AND (C>XG6)) AND ((XG4-REF(XG4,1))>0)) AND ((XG4-REF(XG4,1))>0)) AND (C<XG1)) AND ((XG7 - REF(XG7,1))>0)) AND (C>=XG7)) AND (H<XG1)) AND ((XG2-REF(XG2,1))>0)) AND ((XG1-REF(XG1,2))>0)),11);

第四部分 指标图示

很赞哦! (1)

游客您好,本文中含有可下载的附件,请先回复后获取下载链接 下载次数:0次 回复

更多精彩内容,请关注公众号:精品公式指标

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群