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

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

【通达信指标】波段导航指标公式,波段清晰红买绿卖(副图+选股)

admin 2024-10-17 16:04:14 通达信主副图指标 152 ℃

第一部分 指标介绍

1.红色带状区域持股,蓝色带状区域持币。

2.红色柱底柱表示波段底,是买入信号,绿色底柱是波段顶是减仓或卖出信号。

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

第二部分 公式源码

{波段导航--副图}

GHCZS0:=(2*CLOSE+HIGH+LOW)/4;

GHCZS1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;

GHCZS2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

GHCZS3:=EMA((GHCZS0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);

GHCZS4:=SMA(SMA(GHCZS2,2,1)+3,2,1),COLORRED,LINETHICK1;

GHCZS5:=EMA(GHCZS3,4);

GHCZS6:=SMA(GHCZS1,3,1),COLORGREEN,LINETHICK1;

STICKLINE(GHCZS4>GHCZS6,6,90,5,0),COLOR000044;

STICKLINE(GHCZS6>GHCZS4,6,90,5,0),COLOR422D00;

多头:SMA(SMA(GHCZS2,2,1)+3,2,1),COLOR0000FF,LINETHICK2;

空头:SMA(GHCZS1,3,1),COLORFFFF00,LINETHICK1,DOTLINE;

强势:90,COLORMAGENTA,DOTLINE;

中位:50,COLOR0080FF,DOTLINE;

弱势:10,COLORLICYAN,DOTLINE;

STICKLINE(多头>强势,多头,强势,1,0),COLOR0000FF;

STICKLINE(多头< 弱势,多头,弱势,1,0),COLOR0000FF;

STICKLINE(空头< 弱势,空头,弱势,1,0),COLORGREEN;

STICKLINE(空头>强势,空头,强势,1,0),COLORGREEN;

趋势:=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);

GHCZS7:=CROSS(趋势,10),COLORRED;

STICKLINE(GHCZS7,4,40,1,0),COLORRED;

DRAWTEXT(CROSS(趋势,10),40,);

GHCZS8:=CROSS(90,趋势),COLORGREEN;

STICKLINE(GHCZS8,4,40,1,0),COLORGREEN;

DRAWTEXT(CROSS(90,趋势),40,),COLORYELLOW;

散户:=EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4);

庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2);

顶出:100*(CROSS(庄家,散户) AND 散户>50),COLOR333333,STICK,LINETHICK1;

DRAWTEXT(顶出>0,0.99,),COLORFFFF00;

DRAWICON(顶出>0,顶出,2 );

STICKLINE(顶出,0,2,0,1),COLOR0000FF,NODRAW;

GHCZS9:=(C-REF(C,1))/REF(C,1)*100;

GHCZS10:=BARSLAST(GHCZS9>3);

GHCZS11:=MA(C,13);

GHCZS12:=REF(GHCZS11,13/2+1);

GHCZS13:=IF(GHCZS10>0,1,0);

抄底:CROSS(C,GHCZS12) AND GHCZS13=0,COLOR464646,STICK,LINETHICK1;

DRAWTEXT(抄底>0,抄底,);

STICKLINE(抄底,0,2,0,9),COLOR0000FF;

主力:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLORRED,LINETHICK1,NODRAW;

即将起爆:65,COLOR00FF00,NODRAW;

起爆线:80,COLORWHITE,LINETHICK1,NODRAW;

起爆警戒:50,COLOR00FF00,NODRAW;

抄底线:20,COLORWHITE,LINETHICK2,NODRAW;

DRAWTEXT(CROSS(主力,起爆警戒),主力,),COLORWHITE;

DRAWTEXT(CROSS(主力,即将起爆),主力,),COLORWHITE;

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

GHCZS14:=MA(C,5);

GHCZS15:=(C-GHCZS14)/GHCZS14*100;

GHCZS16:=MA(C,30);

GHCZS17:=(C-GHCZS16)/GHCZS16*100;

GHCZS18:=COUNT(CROSS(GHCZS15,0),3)>=1 AND GHCZS17>REF(GHCZS17,1) AND GHCZS14>REF(GHCZS14,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)< GHCZS16;

主升线:IF(FILTER(GHCZS18,10),1,0),STICK,COLOR464646;

DRAWTEXT(主升线>0,0.1, ),COLORFFFFFF;

第三部分 选股公式

{波段导航--红柱选股}

GHCZS0:=(2*CLOSE+HIGH+LOW)/4;

GHCZS1:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;

GHCZS2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

B0:=EMA((GHCZS0-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);

AA:=SMA(SMA(GHCZS2,2,1)+3,2,1);

浮动筹码:=EMA(B0,4);

BB:=SMA(GHCZS1,3,1);

趋势:=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);

红柱X:CROSS(趋势,10);

第四部分 指标图示

很赞哦! (1)

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

更多精彩内容,请关注公众号:实盘操手

其他说明

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


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


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